Lines Matching refs:d_inode

96 	inode_lock_nested(d_inode(dir), I_MUTEX_PARENT);  in cachefiles_get_directory()
133 ret = vfs_mkdir(&nop_mnt_idmap, d_inode(dir), subdir, 0700); in cachefiles_get_directory()
135 trace_cachefiles_vfs_error(NULL, d_inode(dir), ret, in cachefiles_get_directory()
154 inode_lock(d_inode(subdir)); in cachefiles_get_directory()
155 inode_unlock(d_inode(dir)); in cachefiles_get_directory()
157 if (!__cachefiles_mark_inode_in_use(NULL, d_inode(subdir))) { in cachefiles_get_directory()
159 subdir, d_inode(subdir)->i_ino); in cachefiles_get_directory()
163 inode_unlock(d_inode(subdir)); in cachefiles_get_directory()
192 inode_unlock(d_inode(subdir)); in cachefiles_get_directory()
197 inode_unlock(d_inode(dir)); in cachefiles_get_directory()
203 inode_unlock(d_inode(dir)); in cachefiles_get_directory()
209 inode_unlock(d_inode(dir)); in cachefiles_get_directory()
220 cachefiles_do_unmark_inode_in_use(NULL, d_inode(dir)); in cachefiles_put_directory()
239 trace_cachefiles_unlink(object, d_inode(dentry)->i_ino, why); in cachefiles_unlink()
278 inode_unlock(d_inode(dir)); in cachefiles_bury_object()
291 inode_unlock(d_inode(dir)); in cachefiles_bury_object()
298 inode_unlock(d_inode(dir)); in cachefiles_bury_object()
312 if (rep->d_parent != dir || IS_DEADDIR(d_inode(rep))) { in cachefiles_bury_object()
341 trace_cachefiles_vfs_error(object, d_inode(cache->graveyard), in cachefiles_bury_object()
388 .old_dir = d_inode(dir), in cachefiles_bury_object()
391 .new_dir = d_inode(cache->graveyard), in cachefiles_bury_object()
394 trace_cachefiles_rename(object, d_inode(rep)->i_ino, why); in cachefiles_bury_object()
399 trace_cachefiles_vfs_error(object, d_inode(dir), ret, in cachefiles_bury_object()
406 __cachefiles_unmark_inode_in_use(object, d_inode(rep)); in cachefiles_bury_object()
463 trace_cachefiles_vfs_error(object, d_inode(fan), ret, in cachefiles_create_tmpfile()
554 if (!cachefiles_mark_inode_in_use(object, d_inode(dentry))) { in cachefiles_open_file()
556 dentry, d_inode(dentry)->i_ino); in cachefiles_open_file()
611 cachefiles_do_unmark_inode_in_use(object, d_inode(dentry)); in cachefiles_open_file()
645 inode_lock_nested(d_inode(fan), I_MUTEX_PARENT); in cachefiles_look_up_object()
680 inode_lock_nested(d_inode(fan), I_MUTEX_PARENT); in cachefiles_commit_tmpfile()
687 trace_cachefiles_vfs_error(object, d_inode(fan), PTR_ERR(dentry), in cachefiles_commit_tmpfile()
711 trace_cachefiles_vfs_error(object, d_inode(fan), PTR_ERR(dentry), in cachefiles_commit_tmpfile()
721 d_inode(fan), dentry, NULL); in cachefiles_commit_tmpfile()
723 trace_cachefiles_vfs_error(object, d_inode(fan), ret, in cachefiles_commit_tmpfile()
738 inode_unlock(d_inode(fan)); in cachefiles_commit_tmpfile()
754 inode_lock_nested(d_inode(dir), I_MUTEX_PARENT); in cachefiles_lookup_for_cull()
761 if (d_inode(victim)->i_flags & S_KERNEL_FILE) in cachefiles_lookup_for_cull()
768 inode_unlock(d_inode(dir)); in cachefiles_lookup_for_cull()
773 inode_unlock(d_inode(dir)); in cachefiles_lookup_for_cull()
806 inode = d_inode(victim); in cachefiles_cull()
830 inode_unlock(d_inode(dir)); in cachefiles_cull()
860 inode_unlock(d_inode(dir)); in cachefiles_check_in_use()