Home
last modified time | relevance | path

Searched refs:pg (Results 1 – 5 of 5) sorted by relevance

/fs/jffs2/
Dfile.c26 struct page *pg, void *fsdata);
30 static int jffs2_readpage (struct file *filp, struct page *pg);
79 static int jffs2_do_readpage_nolock (struct inode *inode, struct page *pg) in jffs2_do_readpage_nolock() argument
87 __func__, inode->i_ino, pg->index << PAGE_SHIFT); in jffs2_do_readpage_nolock()
89 BUG_ON(!PageLocked(pg)); in jffs2_do_readpage_nolock()
91 pg_buf = kmap(pg); in jffs2_do_readpage_nolock()
94 ret = jffs2_read_inode_range(c, f, pg_buf, pg->index << PAGE_SHIFT, in jffs2_do_readpage_nolock()
98 ClearPageUptodate(pg); in jffs2_do_readpage_nolock()
99 SetPageError(pg); in jffs2_do_readpage_nolock()
101 SetPageUptodate(pg); in jffs2_do_readpage_nolock()
[all …]
Dos-linux.h158 int jffs2_do_readpage_unlock(void *data, struct page *pg);
/fs/fuse/
Ddev.c646 struct page *pg; member
669 } else if (cs->pg) { in fuse_copy_finish()
671 flush_dcache_page(cs->pg); in fuse_copy_finish()
672 set_page_dirty_lock(cs->pg); in fuse_copy_finish()
674 put_page(cs->pg); in fuse_copy_finish()
676 cs->pg = NULL; in fuse_copy_finish()
703 cs->pg = buf->page; in fuse_copy_fill()
721 cs->pg = page; in fuse_copy_fill()
735 cs->pg = page; in fuse_copy_fill()
747 void *pgaddr = kmap_atomic(cs->pg); in fuse_copy_do()
[all …]
/fs/ecryptfs/
Dcrypto.c251 struct page *pg; in virt_to_scatterlist() local
258 pg = virt_to_page(addr); in virt_to_scatterlist()
260 sg_set_page(&sg[i], pg, 0, offset); in virt_to_scatterlist()
/fs/btrfs/
Dfile.c402 int pg = 0; in btrfs_copy_from_user() local
408 struct page *page = prepared_pages[pg]; in btrfs_copy_from_user()
440 pg++; in btrfs_copy_from_user()