Lines Matching defs:dentry
257 static inline int dentry_cmp(const struct dentry *dentry, const unsigned char *ct, unsigned tcount) in dentry_cmp()
288 static inline struct external_name *external_name(struct dentry *dentry) in external_name()
295 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free() local
302 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free_external() local
307 static inline int dname_external(const struct dentry *dentry) in dname_external()
312 void take_dentry_name_snapshot(struct name_snapshot *name, struct dentry *dentry) in take_dentry_name_snapshot()
338 static inline void __d_set_inode_and_type(struct dentry *dentry, in __d_set_inode_and_type()
351 static inline void __d_clear_type_and_inode(struct dentry *dentry) in __d_clear_type_and_inode()
362 static void dentry_free(struct dentry *dentry) in dentry_free()
383 static void dentry_unlink_inode(struct dentry * dentry) in dentry_unlink_inode()
422 #define D_FLAG_VERIFY(dentry,x) WARN_ON_ONCE(((dentry)->d_flags & (DCACHE_LRU_LIST | DCACHE_SHRINK_… argument
423 static void d_lru_add(struct dentry *dentry) in d_lru_add()
434 static void d_lru_del(struct dentry *dentry) in d_lru_del()
445 static void d_shrink_del(struct dentry *dentry) in d_shrink_del()
453 static void d_shrink_add(struct dentry *dentry, struct list_head *list) in d_shrink_add()
467 static void d_lru_isolate(struct list_lru_one *lru, struct dentry *dentry) in d_lru_isolate()
477 static void d_lru_shrink_move(struct list_lru_one *lru, struct dentry *dentry, in d_lru_shrink_move()
487 static void ___d_drop(struct dentry *dentry) in ___d_drop()
505 void __d_drop(struct dentry *dentry) in __d_drop()
533 void d_drop(struct dentry *dentry) in d_drop()
541 static inline void dentry_unlist(struct dentry *dentry) in dentry_unlist()
579 static struct dentry *__dentry_kill(struct dentry *dentry) in __dentry_kill()
641 static bool lock_for_kill(struct dentry *dentry) in lock_for_kill()
678 static inline bool retain_dentry(struct dentry *dentry, bool locked) in retain_dentry()
746 static inline bool fast_dput(struct dentry *dentry) in fast_dput()
833 void dput(struct dentry *dentry) in dput()
859 static void to_shrink_list(struct dentry *dentry, struct list_head *list) in to_shrink_list()
869 void dput_to_list(struct dentry *dentry, struct list_head *list) in dput_to_list()
881 struct dentry *dget_parent(struct dentry *dentry) in dget_parent()
1030 struct dentry *dentry; in d_prune_aliases() local
1059 struct dentry *dentry; in shrink_dentry_list() local
1083 struct dentry *dentry = container_of(item, struct dentry, d_lru); in dentry_lru_isolate() local
1164 struct dentry *dentry = container_of(item, struct dentry, d_lru); in dentry_lru_isolate_shrink() local
1222 static void d_walk(struct dentry *parent, void *data, in d_walk()
1225 struct dentry *this_parent, *dentry; in d_walk() local
1327 static enum d_walk_ret path_check_mount(void *data, struct dentry *dentry) in path_check_mount()
1369 int d_set_mounted(struct dentry *dentry) in d_set_mounted()
1421 static enum d_walk_ret select_collect(void *_data, struct dentry *dentry) in select_collect()
1448 static enum d_walk_ret select_collect2(void *_data, struct dentry *dentry) in select_collect2()
1514 static enum d_walk_ret umount_check(void *_data, struct dentry *dentry) in umount_check()
1536 static void do_one_tree(struct dentry *dentry) in do_one_tree()
1549 struct dentry *dentry; in shrink_dcache_for_umount() local
1563 static enum d_walk_ret find_submount(void *_data, struct dentry *dentry) in find_submount()
1577 void d_invalidate(struct dentry *dentry) in d_invalidate()
1620 struct dentry *dentry; in __d_alloc() local
1704 struct dentry *dentry = __d_alloc(parent->d_sb, name); in d_alloc() local
1728 struct dentry *dentry = d_alloc_anon(parent->d_sb); in d_alloc_cursor() local
1756 struct dentry *dentry = __d_alloc(sb, name); in d_alloc_pseudo() local
1775 void d_set_d_op(struct dentry *dentry, const struct dentry_operations *op) in d_set_d_op()
1840 static void __d_instantiate(struct dentry *dentry, struct inode *inode) in __d_instantiate()
2037 struct dentry *d_add_ci(struct dentry *dentry, struct inode *inode, in d_add_ci()
2083 bool d_same_name(const struct dentry *dentry, const struct dentry *parent, in d_same_name()
2109 struct dentry *dentry; in __d_lookup_rcu_op_compare() local
2176 struct dentry *dentry; in __d_lookup_rcu() local
2249 struct dentry *dentry; in d_lookup() local
2283 struct dentry *dentry; in __d_lookup() local
2378 void d_delete(struct dentry * dentry) in d_delete()
2441 static void d_wait_lookup(struct dentry *dentry) in d_wait_lookup()
2463 struct dentry *dentry; in d_alloc_parallel() local
2570 static wait_queue_head_t *__d_lookup_unhash(struct dentry *dentry) in __d_lookup_unhash()
2589 void __d_lookup_unhash_wake(struct dentry *dentry) in __d_lookup_unhash_wake()
2599 static inline void __d_add(struct dentry *dentry, struct inode *inode) in __d_add()
2691 static void swap_names(struct dentry *dentry, struct dentry *target) in swap_names()
2734 static void copy_name(struct dentry *dentry, struct dentry *target) in copy_name()
2763 static void __d_move(struct dentry *dentry, struct dentry *target, in __d_move()
2857 void d_move(struct dentry *dentry, struct dentry *target) in d_move()
2912 static int __d_unalias(struct dentry *dentry, struct dentry *alias) in __d_unalias()
2963 struct dentry *d_splice_alias(struct inode *inode, struct dentry *dentry) in d_splice_alias()
3057 static enum d_walk_ret d_genocide_kill(void *data, struct dentry *dentry) in d_genocide_kill()
3079 struct dentry *dentry = file->f_path.dentry; in d_mark_tmpfile() local
3095 struct dentry *dentry = file->f_path.dentry; in d_tmpfile() local