Lines Matching defs:dentry
265 static inline int dentry_cmp(const struct dentry *dentry, const unsigned char *ct, unsigned tcount) in dentry_cmp()
296 static inline struct external_name *external_name(struct dentry *dentry) in external_name()
303 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free() local
310 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free_external() local
315 static inline int dname_external(const struct dentry *dentry) in dname_external()
320 void take_dentry_name_snapshot(struct name_snapshot *name, struct dentry *dentry) in take_dentry_name_snapshot()
346 static inline void __d_set_inode_and_type(struct dentry *dentry, in __d_set_inode_and_type()
359 static inline void __d_clear_type_and_inode(struct dentry *dentry) in __d_clear_type_and_inode()
374 static void dentry_free(struct dentry *dentry) in dentry_free()
395 static void dentry_unlink_inode(struct dentry * dentry) in dentry_unlink_inode()
434 #define D_FLAG_VERIFY(dentry,x) WARN_ON_ONCE(((dentry)->d_flags & (DCACHE_LRU_LIST | DCACHE_SHRINK_… argument
435 static void d_lru_add(struct dentry *dentry) in d_lru_add()
446 static void d_lru_del(struct dentry *dentry) in d_lru_del()
457 static void d_shrink_del(struct dentry *dentry) in d_shrink_del()
465 static void d_shrink_add(struct dentry *dentry, struct list_head *list) in d_shrink_add()
479 static void d_lru_isolate(struct list_lru_one *lru, struct dentry *dentry) in d_lru_isolate()
489 static void d_lru_shrink_move(struct list_lru_one *lru, struct dentry *dentry, in d_lru_shrink_move()
499 static void ___d_drop(struct dentry *dentry) in ___d_drop()
517 void __d_drop(struct dentry *dentry) in __d_drop()
545 void d_drop(struct dentry *dentry) in d_drop()
553 static inline void dentry_unlist(struct dentry *dentry) in dentry_unlist()
591 static struct dentry *__dentry_kill(struct dentry *dentry) in __dentry_kill()
653 static bool lock_for_kill(struct dentry *dentry) in lock_for_kill()
690 static inline bool retain_dentry(struct dentry *dentry, bool locked) in retain_dentry()
758 static inline bool fast_dput(struct dentry *dentry) in fast_dput()
845 void dput(struct dentry *dentry) in dput()
871 static void to_shrink_list(struct dentry *dentry, struct list_head *list) in to_shrink_list()
881 void dput_to_list(struct dentry *dentry, struct list_head *list) in dput_to_list()
893 struct dentry *dget_parent(struct dentry *dentry) in dget_parent()
1042 struct dentry *dentry; in d_prune_aliases() local
1071 struct dentry *dentry; in shrink_dentry_list() local
1095 struct dentry *dentry = container_of(item, struct dentry, d_lru); in dentry_lru_isolate() local
1176 struct dentry *dentry = container_of(item, struct dentry, d_lru); in dentry_lru_isolate_shrink() local
1234 static void d_walk(struct dentry *parent, void *data, in d_walk()
1237 struct dentry *this_parent, *dentry; in d_walk() local
1339 static enum d_walk_ret path_check_mount(void *data, struct dentry *dentry) in path_check_mount()
1381 int d_set_mounted(struct dentry *dentry) in d_set_mounted()
1433 static enum d_walk_ret select_collect(void *_data, struct dentry *dentry) in select_collect()
1460 static enum d_walk_ret select_collect2(void *_data, struct dentry *dentry) in select_collect2()
1526 static enum d_walk_ret umount_check(void *_data, struct dentry *dentry) in umount_check()
1548 static void do_one_tree(struct dentry *dentry) in do_one_tree()
1561 struct dentry *dentry; in shrink_dcache_for_umount() local
1575 static enum d_walk_ret find_submount(void *_data, struct dentry *dentry) in find_submount()
1589 void d_invalidate(struct dentry *dentry) in d_invalidate()
1632 struct dentry *dentry; in __d_alloc() local
1716 struct dentry *dentry = __d_alloc(parent->d_sb, name); in d_alloc() local
1740 struct dentry *dentry = d_alloc_anon(parent->d_sb); in d_alloc_cursor() local
1768 struct dentry *dentry = __d_alloc(sb, name); in d_alloc_pseudo() local
1787 void d_set_d_op(struct dentry *dentry, const struct dentry_operations *op) in d_set_d_op()
1852 static void __d_instantiate(struct dentry *dentry, struct inode *inode) in __d_instantiate()
2056 struct dentry *d_add_ci(struct dentry *dentry, struct inode *inode, in d_add_ci()
2102 bool d_same_name(const struct dentry *dentry, const struct dentry *parent, in d_same_name()
2128 struct dentry *dentry; in __d_lookup_rcu_op_compare() local
2192 struct dentry *dentry; in __d_lookup_rcu() local
2265 struct dentry *dentry; in d_lookup() local
2299 struct dentry *dentry; in __d_lookup() local
2394 void d_delete(struct dentry * dentry) in d_delete()
2457 static void d_wait_lookup(struct dentry *dentry) in d_wait_lookup()
2479 struct dentry *dentry; in d_alloc_parallel() local
2586 static wait_queue_head_t *__d_lookup_unhash(struct dentry *dentry) in __d_lookup_unhash()
2605 void __d_lookup_unhash_wake(struct dentry *dentry) in __d_lookup_unhash_wake()
2615 static inline void __d_add(struct dentry *dentry, struct inode *inode) in __d_add()
2707 static void swap_names(struct dentry *dentry, struct dentry *target) in swap_names()
2750 static void copy_name(struct dentry *dentry, struct dentry *target) in copy_name()
2779 static void __d_move(struct dentry *dentry, struct dentry *target, in __d_move()
2873 void d_move(struct dentry *dentry, struct dentry *target) in d_move()
2928 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()