Lines Matching defs:dentry
292 static inline int dentry_cmp(const struct dentry *dentry, const unsigned char *ct, unsigned tcount) in dentry_cmp()
327 static inline struct external_name *external_name(struct dentry *dentry) in external_name()
334 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free() local
341 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free_external() local
346 static inline int dname_external(const struct dentry *dentry) in dname_external()
351 void take_dentry_name_snapshot(struct name_snapshot *name, struct dentry *dentry) in take_dentry_name_snapshot()
391 static inline void __d_set_inode_and_type(struct dentry *dentry, in __d_set_inode_and_type()
404 static inline void __d_clear_type_and_inode(struct dentry *dentry) in __d_clear_type_and_inode()
419 static void dentry_free(struct dentry *dentry) in dentry_free()
440 static void dentry_unlink_inode(struct dentry * dentry) in dentry_unlink_inode()
479 #define D_FLAG_VERIFY(dentry,x) WARN_ON_ONCE(((dentry)->d_flags & (DCACHE_LRU_LIST | DCACHE_SHRINK_… argument
480 static void d_lru_add(struct dentry *dentry) in d_lru_add()
491 static void d_lru_del(struct dentry *dentry) in d_lru_del()
502 static void d_shrink_del(struct dentry *dentry) in d_shrink_del()
510 static void d_shrink_add(struct dentry *dentry, struct list_head *list) in d_shrink_add()
524 static void d_lru_isolate(struct list_lru_one *lru, struct dentry *dentry) in d_lru_isolate()
534 static void d_lru_shrink_move(struct list_lru_one *lru, struct dentry *dentry, in d_lru_shrink_move()
544 static void ___d_drop(struct dentry *dentry) in ___d_drop()
562 void __d_drop(struct dentry *dentry) in __d_drop()
590 void d_drop(struct dentry *dentry) in d_drop()
598 static inline void dentry_unlist(struct dentry *dentry) in dentry_unlist()
636 static struct dentry *__dentry_kill(struct dentry *dentry) in __dentry_kill()
698 static bool lock_for_kill(struct dentry *dentry) in lock_for_kill()
735 static inline bool retain_dentry(struct dentry *dentry, bool locked) in retain_dentry()
803 static inline bool fast_dput(struct dentry *dentry) in fast_dput()
890 void dput(struct dentry *dentry) in dput()
916 static void to_shrink_list(struct dentry *dentry, struct list_head *list) in to_shrink_list()
926 void dput_to_list(struct dentry *dentry, struct list_head *list) in dput_to_list()
938 struct dentry *dget_parent(struct dentry *dentry) in dget_parent()
1087 struct dentry *dentry; in d_prune_aliases() local
1116 struct dentry *dentry; in shrink_dentry_list() local
1140 struct dentry *dentry = container_of(item, struct dentry, d_lru); in dentry_lru_isolate() local
1221 struct dentry *dentry = container_of(item, struct dentry, d_lru); in dentry_lru_isolate_shrink() local
1279 static void d_walk(struct dentry *parent, void *data, in d_walk()
1282 struct dentry *this_parent, *dentry; in d_walk() local
1384 static enum d_walk_ret path_check_mount(void *data, struct dentry *dentry) in path_check_mount()
1426 int d_set_mounted(struct dentry *dentry) in d_set_mounted()
1478 static enum d_walk_ret select_collect(void *_data, struct dentry *dentry) in select_collect()
1505 static enum d_walk_ret select_collect2(void *_data, struct dentry *dentry) in select_collect2()
1571 static enum d_walk_ret umount_check(void *_data, struct dentry *dentry) in umount_check()
1593 static void do_one_tree(struct dentry *dentry) in do_one_tree()
1606 struct dentry *dentry; in shrink_dcache_for_umount() local
1620 static enum d_walk_ret find_submount(void *_data, struct dentry *dentry) in find_submount()
1634 void d_invalidate(struct dentry *dentry) in d_invalidate()
1677 struct dentry *dentry; in __d_alloc() local
1760 struct dentry *dentry = __d_alloc(parent->d_sb, name); in d_alloc() local
1784 struct dentry *dentry = d_alloc_anon(parent->d_sb); in d_alloc_cursor() local
1812 struct dentry *dentry = __d_alloc(sb, name); in d_alloc_pseudo() local
1831 void d_set_d_op(struct dentry *dentry, const struct dentry_operations *op) in d_set_d_op()
1896 static void __d_instantiate(struct dentry *dentry, struct inode *inode) in __d_instantiate()
2100 struct dentry *d_add_ci(struct dentry *dentry, struct inode *inode, in d_add_ci()
2146 bool d_same_name(const struct dentry *dentry, const struct dentry *parent, in d_same_name()
2172 struct dentry *dentry; in __d_lookup_rcu_op_compare() local
2236 struct dentry *dentry; in __d_lookup_rcu() local
2309 struct dentry *dentry; in d_lookup() local
2343 struct dentry *dentry; in __d_lookup() local
2438 void d_delete(struct dentry * dentry) in d_delete()
2504 static void d_wait_lookup(struct dentry *dentry) in d_wait_lookup()
2526 struct dentry *dentry; in d_alloc_parallel() local
2633 static wait_queue_head_t *__d_lookup_unhash(struct dentry *dentry) in __d_lookup_unhash()
2652 void __d_lookup_unhash_wake(struct dentry *dentry) in __d_lookup_unhash_wake()
2662 static inline void __d_add(struct dentry *dentry, struct inode *inode) in __d_add()
2708 static void swap_names(struct dentry *dentry, struct dentry *target) in swap_names()
2746 static void copy_name(struct dentry *dentry, struct dentry *target) in copy_name()
2774 static void __d_move(struct dentry *dentry, struct dentry *target, in __d_move()
2868 void d_move(struct dentry *dentry, struct dentry *target) in d_move()
2923 static int __d_unalias(struct dentry *dentry, struct dentry *alias) in __d_unalias()
2979 struct dentry *d_splice_alias(struct inode *inode, struct dentry *dentry) in d_splice_alias()
3070 static enum d_walk_ret d_genocide_kill(void *data, struct dentry *dentry) in d_genocide_kill()
3092 struct dentry *dentry = file->f_path.dentry; in d_mark_tmpfile() local
3108 struct dentry *dentry = file->f_path.dentry; in d_tmpfile() local
3119 ino_t d_parent_ino(struct dentry *dentry) in d_parent_ino()