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()
310 if (rep->d_parent != dir || IS_DEADDIR(d_inode(rep))) { in cachefiles_bury_object()
339 trace_cachefiles_vfs_error(object, d_inode(cache->graveyard), in cachefiles_bury_object()
386 .old_dir = d_inode(dir), in cachefiles_bury_object()
389 .new_dir = d_inode(cache->graveyard), in cachefiles_bury_object()
392 trace_cachefiles_rename(object, d_inode(rep)->i_ino, why); in cachefiles_bury_object()
397 trace_cachefiles_vfs_error(object, d_inode(dir), ret, in cachefiles_bury_object()
404 __cachefiles_unmark_inode_in_use(object, d_inode(rep)); in cachefiles_bury_object()
460 trace_cachefiles_vfs_error(object, d_inode(fan), ret, in cachefiles_create_tmpfile()
551 if (!cachefiles_mark_inode_in_use(object, d_inode(dentry))) { in cachefiles_open_file()
553 dentry, d_inode(dentry)->i_ino); in cachefiles_open_file()
609 cachefiles_do_unmark_inode_in_use(object, d_inode(dentry)); in cachefiles_open_file()
644 inode_lock_nested(d_inode(fan), I_MUTEX_PARENT); in cachefiles_look_up_object()
677 inode_lock_nested(d_inode(fan), I_MUTEX_PARENT); in cachefiles_commit_tmpfile()
684 trace_cachefiles_vfs_error(object, d_inode(fan), PTR_ERR(dentry), in cachefiles_commit_tmpfile()
708 trace_cachefiles_vfs_error(object, d_inode(fan), PTR_ERR(dentry), in cachefiles_commit_tmpfile()
718 d_inode(fan), dentry, NULL); in cachefiles_commit_tmpfile()
720 trace_cachefiles_vfs_error(object, d_inode(fan), ret, in cachefiles_commit_tmpfile()
735 inode_unlock(d_inode(fan)); in cachefiles_commit_tmpfile()
751 inode_lock_nested(d_inode(dir), I_MUTEX_PARENT); in cachefiles_lookup_for_cull()
758 if (d_inode(victim)->i_flags & S_KERNEL_FILE) in cachefiles_lookup_for_cull()
765 inode_unlock(d_inode(dir)); in cachefiles_lookup_for_cull()
770 inode_unlock(d_inode(dir)); in cachefiles_lookup_for_cull()
803 inode = d_inode(victim); in cachefiles_cull()
827 inode_unlock(d_inode(dir)); in cachefiles_cull()
857 inode_unlock(d_inode(dir)); in cachefiles_check_in_use()