Al Viro 12d426ab64 ITER_PIPE: fold data_start() and pipe_space_for_user() together
All their callers are next to each other; all of them
want the total amount of pages and, possibly, the
offset in the partial final buffer.

Combine into a new helper (pipe_npages()), fix the
bogosity in pipe_space_for_user(), while we are at it.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2022-08-08 22:37:19 -04:00
..
2022-08-04 19:30:35 -07:00
2022-08-04 20:00:14 -07:00
2022-07-22 15:51:31 +10:00
2022-08-04 12:12:54 -07:00
2022-08-03 16:29:08 -07:00
2022-07-22 12:07:16 -03:00
2022-08-04 19:47:37 -07:00
2022-06-24 16:21:41 +01:00
2022-08-04 19:47:37 -07:00
2022-08-04 20:00:14 -07:00