Searched hist:"12 d426ab" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | pipe_fs_i.h | 12d426ab Wed Jun 15 08:44:38 CDT 2022 Al Viro <viro@zeniv.linux.org.uk> 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>
|
/openbmc/linux/lib/ |
H A D | iov_iter.c | 12d426ab Wed Jun 15 08:44:38 CDT 2022 Al Viro <viro@zeniv.linux.org.uk> 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>
|