Home
last modified time | relevance | path

Searched refs:iop (Results 1 – 4 of 4) sorted by relevance

/fs/iomap/
Dbuffered-io.c25 struct iomap_page *iop = to_iomap_page(page); in iomap_page_create() local
28 if (iop || i_blocksize(inode) == PAGE_SIZE) in iomap_page_create()
29 return iop; in iomap_page_create()
31 iop = kmalloc(sizeof(*iop), GFP_NOFS | __GFP_NOFAIL); in iomap_page_create()
32 atomic_set(&iop->read_count, 0); in iomap_page_create()
33 atomic_set(&iop->write_count, 0); in iomap_page_create()
34 spin_lock_init(&iop->uptodate_lock); in iomap_page_create()
35 bitmap_zero(iop->uptodate, PAGE_SIZE / SECTOR_SIZE); in iomap_page_create()
37 bitmap_fill(iop->uptodate, nr_blocks); in iomap_page_create()
44 set_page_private(page, (unsigned long)iop); in iomap_page_create()
[all …]
/fs/xfs/
Dxfs_aops.c64 struct iomap_page *iop = to_iomap_page(bvec->bv_page); in xfs_finish_page_writeback() local
71 ASSERT(iop || i_blocksize(inode) == PAGE_SIZE); in xfs_finish_page_writeback()
72 ASSERT(!iop || atomic_read(&iop->write_count) > 0); in xfs_finish_page_writeback()
74 if (!iop || atomic_dec_and_test(&iop->write_count)) in xfs_finish_page_writeback()
761 struct iomap_page *iop, in xfs_add_to_ioend() argument
791 if (iop && !same_page) in xfs_add_to_ioend()
792 atomic_inc(&iop->write_count); in xfs_add_to_ioend()
876 struct iomap_page *iop = to_iomap_page(page); in xfs_writepage_map() local
882 ASSERT(iop || i_blocksize(inode) == PAGE_SIZE); in xfs_writepage_map()
883 ASSERT(!iop || atomic_read(&iop->write_count) == 0); in xfs_writepage_map()
[all …]
/fs/fuse/
Dcontrol.c224 const struct inode_operations *iop, in fuse_ctl_add_dentry() argument
247 if (iop) in fuse_ctl_add_dentry()
248 inode->i_op = iop; in fuse_ctl_add_dentry()
/fs/proc/
Dbase.c121 const struct inode_operations *iop; member
130 .iop = IOP, \
2475 if (p->iop) in proc_pident_instantiate()
2476 inode->i_op = p->iop; in proc_pident_instantiate()