Lines Matching refs:dentry
27 struct dentry *dentry = object->dentry; in cachefiles_check_object_type() local
31 ASSERT(dentry); in cachefiles_check_object_type()
32 ASSERT(d_backing_inode(dentry)); in cachefiles_check_object_type()
42 ret = vfs_setxattr(dentry, cachefiles_xattr_cache, type, 2, in cachefiles_check_object_type()
51 dentry, d_backing_inode(dentry)->i_ino, in cachefiles_check_object_type()
57 ret = vfs_getxattr(dentry, cachefiles_xattr_cache, xtype, 3); in cachefiles_check_object_type()
63 dentry, d_backing_inode(dentry)->i_ino, in cachefiles_check_object_type()
83 d_backing_inode(dentry)->i_ino); in cachefiles_check_object_type()
90 dentry, d_backing_inode(dentry)->i_ino, in cachefiles_check_object_type()
102 struct dentry *dentry = object->dentry; in cachefiles_set_object_xattr() local
105 ASSERT(dentry); in cachefiles_set_object_xattr()
113 ret = vfs_setxattr(dentry, cachefiles_xattr_cache, in cachefiles_set_object_xattr()
131 struct dentry *dentry = object->dentry; in cachefiles_update_object_xattr() local
134 if (!dentry) in cachefiles_update_object_xattr()
143 ret = vfs_setxattr(dentry, cachefiles_xattr_cache, in cachefiles_update_object_xattr()
162 struct dentry *dentry = object->dentry; in cachefiles_check_auxdata() local
166 ASSERT(dentry); in cachefiles_check_auxdata()
167 ASSERT(d_backing_inode(dentry)); in cachefiles_check_auxdata()
174 xlen = vfs_getxattr(dentry, cachefiles_xattr_cache, in cachefiles_check_auxdata()
183 i_size_read(d_backing_inode(dentry))); in cachefiles_check_auxdata()
201 struct dentry *dentry = object->dentry; in cachefiles_check_object_xattr() local
206 ASSERT(dentry); in cachefiles_check_object_xattr()
207 ASSERT(d_backing_inode(dentry)); in cachefiles_check_object_xattr()
216 ret = vfs_getxattr(dentry, cachefiles_xattr_cache, in cachefiles_check_object_xattr()
228 d_backing_inode(dentry)->i_ino, -ret); in cachefiles_check_object_xattr()
253 i_size_read(d_backing_inode(dentry))); in cachefiles_check_object_xattr()
273 ret = vfs_setxattr(dentry, cachefiles_xattr_cache, in cachefiles_check_object_xattr()
280 d_backing_inode(dentry)->i_ino, -ret); in cachefiles_check_object_xattr()
295 d_backing_inode(dentry)->i_ino); in cachefiles_check_object_xattr()
308 struct dentry *dentry) in cachefiles_remove_object_xattr() argument
312 ret = vfs_removexattr(dentry, cachefiles_xattr_cache); in cachefiles_remove_object_xattr()
320 d_backing_inode(dentry)->i_ino, -ret); in cachefiles_remove_object_xattr()