Lines Matching defs:dentry
302 static inline int dentry_cmp(const struct dentry *dentry, const unsigned char *ct, unsigned tcount) in dentry_cmp()
337 static inline struct external_name *external_name(struct dentry *dentry) in external_name()
344 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free() local
351 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free_external() local
356 static inline int dname_external(const struct dentry *dentry) in dname_external()
361 void take_dentry_name_snapshot(struct name_snapshot *name, struct dentry *dentry) in take_dentry_name_snapshot()
401 static inline void __d_set_inode_and_type(struct dentry *dentry, in __d_set_inode_and_type()
414 static inline void __d_clear_type_and_inode(struct dentry *dentry) in __d_clear_type_and_inode()
429 static void dentry_free(struct dentry *dentry) in dentry_free()
450 static void dentry_unlink_inode(struct dentry * dentry) in dentry_unlink_inode()
489 #define D_FLAG_VERIFY(dentry,x) WARN_ON_ONCE(((dentry)->d_flags & (DCACHE_LRU_LIST | DCACHE_SHRINK_… argument
490 static void d_lru_add(struct dentry *dentry) in d_lru_add()
501 static void d_lru_del(struct dentry *dentry) in d_lru_del()
512 static void d_shrink_del(struct dentry *dentry) in d_shrink_del()
520 static void d_shrink_add(struct dentry *dentry, struct list_head *list) in d_shrink_add()
534 static void d_lru_isolate(struct list_lru_one *lru, struct dentry *dentry) in d_lru_isolate()
544 static void d_lru_shrink_move(struct list_lru_one *lru, struct dentry *dentry, in d_lru_shrink_move()
554 static void ___d_drop(struct dentry *dentry) in ___d_drop()
572 void __d_drop(struct dentry *dentry) in __d_drop()
600 void d_drop(struct dentry *dentry) in d_drop()
608 static inline void dentry_unlist(struct dentry *dentry) in dentry_unlist()
646 static struct dentry *__dentry_kill(struct dentry *dentry) in __dentry_kill()
708 static bool lock_for_kill(struct dentry *dentry) in lock_for_kill()
745 static inline bool retain_dentry(struct dentry *dentry, bool locked) in retain_dentry()
813 static inline bool fast_dput(struct dentry *dentry) in fast_dput()
873 static void finish_dput(struct dentry *dentry) in finish_dput()
918 void dput(struct dentry *dentry) in dput()
932 void d_make_discardable(struct dentry *dentry) in d_make_discardable()
943 static void to_shrink_list(struct dentry *dentry, struct list_head *list) in to_shrink_list()
953 void dput_to_list(struct dentry *dentry, struct list_head *list) in dput_to_list()
965 struct dentry *dget_parent(struct dentry *dentry) in dget_parent()
1117 void d_dispose_if_unused(struct dentry *dentry, struct list_head *dispose) in d_dispose_if_unused()
1133 struct dentry *dentry; in d_prune_aliases() local
1158 struct dentry *dentry; in shrink_dentry_list() local
1183 struct dentry *dentry = container_of(item, struct dentry, d_lru); in dentry_lru_isolate() local
1264 struct dentry *dentry = container_of(item, struct dentry, d_lru); in dentry_lru_isolate_shrink() local
1322 static void d_walk(struct dentry *parent, void *data, in d_walk()
1325 struct dentry *this_parent, *dentry; in d_walk() local
1428 static enum d_walk_ret path_check_mount(void *data, struct dentry *dentry) in path_check_mount()
1469 int d_set_mounted(struct dentry *dentry) in d_set_mounted()
1521 static enum d_walk_ret select_collect(void *_data, struct dentry *dentry) in select_collect()
1548 static enum d_walk_ret select_collect_umount(void *_data, struct dentry *dentry) in select_collect_umount()
1557 static enum d_walk_ret select_collect2(void *_data, struct dentry *dentry) in select_collect2()
1630 static enum d_walk_ret umount_check(void *_data, struct dentry *dentry) in umount_check()
1652 static void do_one_tree(struct dentry *dentry) in do_one_tree()
1665 struct dentry *dentry; in shrink_dcache_for_umount() local
1679 static enum d_walk_ret find_submount(void *_data, struct dentry *dentry) in find_submount()
1693 void d_invalidate(struct dentry *dentry) in d_invalidate()
1736 struct dentry *dentry; in __d_alloc() local
1819 struct dentry *dentry = __d_alloc(parent->d_sb, name); in d_alloc() local
1843 struct dentry *dentry = d_alloc_anon(parent->d_sb); in d_alloc_cursor() local
1871 struct dentry *dentry = __d_alloc(sb, name); in d_alloc_pseudo() local
1918 static void d_set_d_op(struct dentry *dentry, const struct dentry_operations *op) in d_set_d_op()
1971 static void __d_instantiate(struct dentry *dentry, struct inode *inode) in __d_instantiate()
2171 struct dentry *d_add_ci(struct dentry *dentry, struct inode *inode, in d_add_ci()
2217 bool d_same_name(const struct dentry *dentry, const struct dentry *parent, in d_same_name()
2243 struct dentry *dentry; in __d_lookup_rcu_op_compare() local
2307 struct dentry *dentry; in __d_lookup_rcu() local
2389 struct dentry *dentry; in d_lookup() local
2423 struct dentry *dentry; in __d_lookup() local
2517 void d_delete(struct dentry * dentry) in d_delete()
2583 static void d_wait_lookup(struct dentry *dentry) in d_wait_lookup()
2605 struct dentry *dentry; in d_alloc_parallel() local
2718 static wait_queue_head_t *__d_lookup_unhash(struct dentry *dentry) in __d_lookup_unhash()
2737 void __d_lookup_unhash_wake(struct dentry *dentry) in __d_lookup_unhash_wake()
2747 static inline void __d_add(struct dentry *dentry, struct inode *inode, in __d_add()
2796 struct dentry *d_make_persistent(struct dentry *dentry, struct inode *inode) in d_make_persistent()
2814 static void swap_names(struct dentry *dentry, struct dentry *target) in swap_names()
2852 static void copy_name(struct dentry *dentry, struct dentry *target) in copy_name()
2880 static void __d_move(struct dentry *dentry, struct dentry *target, in __d_move()
2974 void d_move(struct dentry *dentry, struct dentry *target) in d_move()
3030 static int __d_unalias(struct dentry *dentry, struct dentry *alias) in __d_unalias()
3063 struct dentry *d_splice_alias_ops(struct inode *inode, struct dentry *dentry, in d_splice_alias_ops()
3137 struct dentry *d_splice_alias(struct inode *inode, struct dentry *dentry) in d_splice_alias()
3185 struct dentry *dentry = file->f_path.dentry; in d_mark_tmpfile() local
3201 struct dentry *dentry = file->f_path.dentry; in d_tmpfile() local
3212 ino_t d_parent_ino(struct dentry *dentry) in d_parent_ino()