summaryrefslogtreecommitdiffstats
path: root/lib/assoc_array.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2022-06-15 15:44:38 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2022-08-09 04:37:19 +0200
commit12d426ab64a1c75f1b2ee5c33e933a4c16004049 (patch)
tree371d5d2175c86933dd9d569028401ad200114210 /lib/assoc_array.c
parentITER_PIPE: cache the type of last buffer (diff)
downloadlinux-12d426ab64a1c75f1b2ee5c33e933a4c16004049.tar.xz
linux-12d426ab64a1c75f1b2ee5c33e933a4c16004049.zip
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>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions