Searched refs:page_nr (Results 1 – 7 of 7) sorted by relevance
189 int ret = 0, page_nr = 0; in splice_to_pipe() local203 buf->page = spd->pages[page_nr]; in splice_to_pipe()204 buf->offset = spd->partial[page_nr].offset; in splice_to_pipe()205 buf->len = spd->partial[page_nr].len; in splice_to_pipe()206 buf->private = spd->partial[page_nr].private; in splice_to_pipe()212 page_nr++; in splice_to_pipe()223 while (page_nr < spd_pages) in splice_to_pipe()224 spd->spd_release(spd, page_nr++); in splice_to_pipe()
36 static unsigned last_entry(struct inode *inode, unsigned long page_nr) in last_entry() argument39 last_byte -= page_nr << PAGE_SHIFT; in last_entry()
1395 int page_nr = 0; in fuse_dev_splice_read() local1420 for (ret = total = 0; page_nr < cs.nr_segs; total += ret) { in fuse_dev_splice_read()1425 bufs[page_nr].ops = &nosteal_pipe_buf_ops; in fuse_dev_splice_read()1426 bufs[page_nr].flags = 0; in fuse_dev_splice_read()1427 ret = add_to_pipe(pipe, &bufs[page_nr++]); in fuse_dev_splice_read()1434 for (; page_nr < cs.nr_segs; page_nr++) in fuse_dev_splice_read()1435 put_page(bufs[page_nr].page); in fuse_dev_splice_read()
40 minix_last_byte(struct inode *inode, unsigned long page_nr) in minix_last_byte() argument44 if (page_nr == (inode->i_size >> PAGE_SHIFT)) in minix_last_byte()
77 static unsigned int nilfs_last_byte(struct inode *inode, unsigned long page_nr) in nilfs_last_byte() argument81 last_byte -= page_nr << PAGE_SHIFT; in nilfs_last_byte()
80 ext2_last_byte(struct inode *inode, unsigned long page_nr) in ext2_last_byte() argument84 last_byte -= page_nr << PAGE_SHIFT; in ext2_last_byte()
212 ufs_last_byte(struct inode *inode, unsigned long page_nr) in ufs_last_byte() argument216 last_byte -= page_nr << PAGE_SHIFT; in ufs_last_byte()