Lines Matching refs:d_inode
91 inode_lock_nested(d_inode(dentry), I_MUTEX_CHILD); in xattr_unlink()
93 inode_unlock(d_inode(dentry)); in xattr_unlink()
106 inode_lock_nested(d_inode(dentry), I_MUTEX_CHILD); in xattr_rmdir()
109 d_inode(dentry)->i_flags |= S_DEAD; in xattr_rmdir()
110 inode_unlock(d_inode(dentry)); in xattr_rmdir()
127 inode_lock_nested(d_inode(privroot), I_MUTEX_XATTR); in open_xa_root()
136 err = xattr_mkdir(d_inode(privroot), xaroot, 0700); in open_xa_root()
143 inode_unlock(d_inode(privroot)); in open_xa_root()
160 inode_lock_nested(d_inode(xaroot), I_MUTEX_XATTR); in open_xa_dir()
167 err = xattr_mkdir(d_inode(xaroot), xadir, 0700); in open_xa_dir()
174 inode_unlock(d_inode(xaroot)); in open_xa_dir()
200 WARN_ON_ONCE(!inode_is_locked(d_inode(dbuf->xadir))); in fill_with_dentries()
261 inode_lock_nested(d_inode(dir), I_MUTEX_XATTR); in reiserfs_for_each_xattr()
265 err = reiserfs_readdir_inode(d_inode(dir), &buf.ctx); in reiserfs_for_each_xattr()
287 inode_unlock(d_inode(dir)); in reiserfs_for_each_xattr()
309 inode_lock_nested(d_inode(dir->d_parent), in reiserfs_for_each_xattr()
315 inode_unlock(d_inode(dir->d_parent)); in reiserfs_for_each_xattr()
334 struct inode *dir = d_inode(dentry->d_parent); in delete_one_xattr()
399 inode_lock_nested(d_inode(xadir), I_MUTEX_XATTR); in xattr_lookup()
412 err = xattr_create(d_inode(xadir), xafile, in xattr_lookup()
419 inode_unlock(d_inode(xadir)); in xattr_lookup()
486 inode_lock_nested(d_inode(xadir), I_MUTEX_XATTR); in lookup_and_delete_xattr()
494 err = xattr_unlink(d_inode(xadir), dentry); in lookup_and_delete_xattr()
500 inode_unlock(d_inode(xadir)); in lookup_and_delete_xattr()
550 page = reiserfs_get_page(d_inode(dentry), file_pos); in reiserfs_xattr_set_handle()
590 if (!err && new_size < i_size_read(d_inode(dentry))) { in reiserfs_xattr_set_handle()
597 inode_lock_nested(d_inode(dentry), I_MUTEX_XATTR); in reiserfs_xattr_set_handle()
598 inode_dio_wait(d_inode(dentry)); in reiserfs_xattr_set_handle()
601 inode_unlock(d_inode(dentry)); in reiserfs_xattr_set_handle()
685 isize = i_size_read(d_inode(dentry)); in reiserfs_xattr_get()
708 page = reiserfs_get_page(d_inode(dentry), file_pos); in reiserfs_xattr_get()
852 if (get_inode_sd_version(d_inode(dentry)) == STAT_DATA_V1) in reiserfs_listxattr()
855 dir = open_xa_dir(d_inode(dentry), XATTR_REPLACE); in reiserfs_listxattr()
863 inode_lock_nested(d_inode(dir), I_MUTEX_XATTR); in reiserfs_listxattr()
864 err = reiserfs_readdir_inode(d_inode(dir), &buf.ctx); in reiserfs_listxattr()
865 inode_unlock(d_inode(dir)); in reiserfs_listxattr()
878 struct inode *inode = d_inode(dentry->d_parent); in create_privroot()
891 d_inode(dentry)->i_flags |= S_PRIVATE; in create_privroot()
892 d_inode(dentry)->i_opflags &= ~IOP_XATTR; in create_privroot()
972 inode_lock(d_inode(s->s_root)); in reiserfs_lookup_privroot()
979 d_inode(dentry)->i_flags |= S_PRIVATE; in reiserfs_lookup_privroot()
980 d_inode(dentry)->i_opflags &= ~IOP_XATTR; in reiserfs_lookup_privroot()
984 inode_unlock(d_inode(s->s_root)); in reiserfs_lookup_privroot()
1004 inode_lock(d_inode(s->s_root)); in reiserfs_xattr_init()
1006 inode_unlock(d_inode(s->s_root)); in reiserfs_xattr_init()
1010 inode_lock(d_inode(privroot)); in reiserfs_xattr_init()
1021 inode_unlock(d_inode(privroot)); in reiserfs_xattr_init()