Lines Matching defs:dentry

258 static inline int dentry_cmp(const struct dentry *dentry, const unsigned char *ct, unsigned tcount)  in dentry_cmp()
289 static inline struct external_name *external_name(struct dentry *dentry) in external_name()
296 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free() local
303 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free_external() local
308 static inline int dname_external(const struct dentry *dentry) in dname_external()
313 void take_dentry_name_snapshot(struct name_snapshot *name, struct dentry *dentry) in take_dentry_name_snapshot()
339 static inline void __d_set_inode_and_type(struct dentry *dentry, in __d_set_inode_and_type()
352 static inline void __d_clear_type_and_inode(struct dentry *dentry) in __d_clear_type_and_inode()
363 static void dentry_free(struct dentry *dentry) in dentry_free()
384 static void dentry_unlink_inode(struct dentry * dentry) in dentry_unlink_inode()
423 #define D_FLAG_VERIFY(dentry,x) WARN_ON_ONCE(((dentry)->d_flags & (DCACHE_LRU_LIST | DCACHE_SHRINK_… argument
424 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()
444 static void d_shrink_del(struct dentry *dentry) in d_shrink_del()
452 static void d_shrink_add(struct dentry *dentry, struct list_head *list) in d_shrink_add()
466 static void d_lru_isolate(struct list_lru_one *lru, struct dentry *dentry) in d_lru_isolate()
476 static void d_lru_shrink_move(struct list_lru_one *lru, struct dentry *dentry, in d_lru_shrink_move()
486 static void ___d_drop(struct dentry *dentry) in ___d_drop()
504 void __d_drop(struct dentry *dentry) in __d_drop()
532 void d_drop(struct dentry *dentry) in d_drop()
540 static inline void dentry_unlist(struct dentry *dentry, struct dentry *parent) in dentry_unlist()
578 static void __dentry_kill(struct dentry *dentry) in __dentry_kill()
625 static struct dentry *__lock_parent(struct dentry *dentry) in __lock_parent()
653 static inline struct dentry *lock_parent(struct dentry *dentry) in lock_parent()
663 static inline bool retain_dentry(struct dentry *dentry) in retain_dentry()
711 static struct dentry *dentry_kill(struct dentry *dentry) in dentry_kill()
765 static inline bool fast_dput(struct dentry *dentry) in fast_dput()
895 void dput(struct dentry *dentry) in dput()
919 static void __dput_to_list(struct dentry *dentry, struct list_head *list) in __dput_to_list()
933 void dput_to_list(struct dentry *dentry, struct list_head *list) in dput_to_list()
947 static inline void __dget_dlock(struct dentry *dentry) in __dget_dlock()
952 static inline void __dget(struct dentry *dentry) in __dget()
957 struct dentry *dget_parent(struct dentry *dentry) in dget_parent()
1105 struct dentry *dentry; in d_prune_aliases() local
1137 static bool shrink_lock_dentry(struct dentry *dentry) in shrink_lock_dentry()
1181 struct dentry *dentry, *parent; in shrink_dentry_list() local
1210 struct dentry *dentry = container_of(item, struct dentry, d_lru); in dentry_lru_isolate() local
1291 struct dentry *dentry = container_of(item, struct dentry, d_lru); in dentry_lru_isolate_shrink() local
1349 static void d_walk(struct dentry *parent, void *data, in d_walk()
1379 struct dentry *dentry = list_entry(tmp, struct dentry, d_child); in d_walk() local
1460 static enum d_walk_ret path_check_mount(void *data, struct dentry *dentry) in path_check_mount()
1502 int d_set_mounted(struct dentry *dentry) in d_set_mounted()
1554 static enum d_walk_ret select_collect(void *_data, struct dentry *dentry) in select_collect()
1583 static enum d_walk_ret select_collect2(void *_data, struct dentry *dentry) in select_collect2()
1658 static enum d_walk_ret umount_check(void *_data, struct dentry *dentry) in umount_check()
1680 static void do_one_tree(struct dentry *dentry) in do_one_tree()
1693 struct dentry *dentry; in shrink_dcache_for_umount() local
1707 static enum d_walk_ret find_submount(void *_data, struct dentry *dentry) in find_submount()
1722 void d_invalidate(struct dentry *dentry) in d_invalidate()
1765 struct dentry *dentry; in __d_alloc() local
1849 struct dentry *dentry = __d_alloc(parent->d_sb, name); in d_alloc() local
1874 struct dentry *dentry = d_alloc_anon(parent->d_sb); in d_alloc_cursor() local
1899 struct dentry *dentry = __d_alloc(sb, name); in d_alloc_pseudo() local
1915 void d_set_d_op(struct dentry *dentry, const struct dentry_operations *op) in d_set_d_op()
1953 void d_set_fallthru(struct dentry *dentry) in d_set_fallthru()
1996 static void __d_instantiate(struct dentry *dentry, struct inode *inode) in __d_instantiate()
2079 static struct dentry *__d_instantiate_anon(struct dentry *dentry, in __d_instantiate_anon()
2119 struct dentry *d_instantiate_anon(struct dentry *dentry, struct inode *inode) in d_instantiate_anon()
2213 struct dentry *d_add_ci(struct dentry *dentry, struct inode *inode, in d_add_ci()
2259 bool d_same_name(const struct dentry *dentry, const struct dentry *parent, in d_same_name()
2285 struct dentry *dentry; in __d_lookup_rcu_op_compare() local
2352 struct dentry *dentry; in __d_lookup_rcu() local
2425 struct dentry *dentry; in d_lookup() local
2459 struct dentry *dentry; in __d_lookup() local
2554 void d_delete(struct dentry * dentry) in d_delete()
2617 static void d_wait_lookup(struct dentry *dentry) in d_wait_lookup()
2639 struct dentry *dentry; in d_alloc_parallel() local
2746 static wait_queue_head_t *__d_lookup_unhash(struct dentry *dentry) in __d_lookup_unhash()
2765 void __d_lookup_unhash_wake(struct dentry *dentry) in __d_lookup_unhash_wake()
2775 static inline void __d_add(struct dentry *dentry, struct inode *inode) in __d_add()
2867 static void swap_names(struct dentry *dentry, struct dentry *target) in swap_names()
2910 static void copy_name(struct dentry *dentry, struct dentry *target) in copy_name()
2939 static void __d_move(struct dentry *dentry, struct dentry *target, in __d_move()
3029 void d_move(struct dentry *dentry, struct dentry *target) in d_move()
3085 struct dentry *dentry, struct dentry *alias) in __d_unalias()
3136 struct dentry *d_splice_alias(struct inode *inode, struct dentry *dentry) in d_splice_alias()
3230 static enum d_walk_ret d_genocide_kill(void *data, struct dentry *dentry) in d_genocide_kill()
3252 struct dentry *dentry = file->f_path.dentry; in d_tmpfile() local