Home
last modified time | relevance | path

Searched refs:page_nr (Results 1 – 7 of 7) sorted by relevance

/fs/
Dsplice.c189 int ret = 0, page_nr = 0; in splice_to_pipe() local
203 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()
/fs/qnx6/
Ddir.c36 static unsigned last_entry(struct inode *inode, unsigned long page_nr) in last_entry() argument
39 last_byte -= page_nr << PAGE_SHIFT; in last_entry()
/fs/fuse/
Ddev.c1395 int page_nr = 0; in fuse_dev_splice_read() local
1420 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()
/fs/minix/
Ddir.c40 minix_last_byte(struct inode *inode, unsigned long page_nr) in minix_last_byte() argument
44 if (page_nr == (inode->i_size >> PAGE_SHIFT)) in minix_last_byte()
/fs/nilfs2/
Ddir.c77 static unsigned int nilfs_last_byte(struct inode *inode, unsigned long page_nr) in nilfs_last_byte() argument
81 last_byte -= page_nr << PAGE_SHIFT; in nilfs_last_byte()
/fs/ext2/
Ddir.c80 ext2_last_byte(struct inode *inode, unsigned long page_nr) in ext2_last_byte() argument
84 last_byte -= page_nr << PAGE_SHIFT; in ext2_last_byte()
/fs/ufs/
Ddir.c212 ufs_last_byte(struct inode *inode, unsigned long page_nr) in ufs_last_byte() argument
216 last_byte -= page_nr << PAGE_SHIFT; in ufs_last_byte()