summaryrefslogtreecommitdiff
path: root/lib/pci_iomap.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2022-06-15 09:44:38 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2022-08-08 22:37:19 -0400
commit12d426ab64a1c75f1b2ee5c33e933a4c16004049 (patch)
tree371d5d2175c86933dd9d569028401ad200114210 /lib/pci_iomap.c
parent10f525a8cd7a525e9fc73288bb35428c9cad5e63 (diff)
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/pci_iomap.c')
0 files changed, 0 insertions, 0 deletions