| /linux/include/linux/ |
| H A D | dcache.h | 47 * dentry. 68 * Try to keep struct dentry aligned on 64 byte cachelines (this will 93 struct dentry { struct 96 seqcount_spinlock_t d_seq; /* per dentry seqlock */ argument 98 struct dentry *d_parent; /* parent directory */ argument 110 struct super_block *d_sb; /* The root of the dentry tree */ argument 114 struct lockref d_lockref; /* per-dentry lock and refcount argument 138 * this dentry to get killed . Remains NULL for almost all argument 146 * dentry->d_lock spinlock nesting subclasses: 164 struct dentry *, unsigne 109 d_opdentry global() argument 311 d_count(const struct dentry * dentry) d_count() argument 342 dget_dlock(struct dentry * dentry) dget_dlock() argument 367 dget(struct dentry * dentry) dget() argument 375 dget_alias_ilocked(struct dentry * dentry) dget_alias_ilocked() argument 400 d_unhashed(const struct dentry * dentry) d_unhashed() argument 405 d_unlinked(const struct dentry * dentry) d_unlinked() argument 410 cant_mount(const struct dentry * dentry) cant_mount() argument 415 dont_mount(struct dentry * dentry) dont_mount() argument 424 d_in_lookup(const struct dentry * dentry) d_in_lookup() argument 429 d_lookup_done(struct dentry * dentry) d_lookup_done() argument 437 d_managed(const struct dentry * dentry) d_managed() argument 442 d_mountpoint(const struct dentry * dentry) d_mountpoint() argument 450 __d_entry_type(const struct dentry * dentry) __d_entry_type() argument 455 d_is_miss(const struct dentry * dentry) d_is_miss() argument 460 d_is_whiteout(const struct dentry * dentry) d_is_whiteout() argument 465 d_can_lookup(const struct dentry * dentry) d_can_lookup() argument 470 d_is_autodir(const struct dentry * dentry) d_is_autodir() argument 475 d_is_dir(const struct dentry * dentry) d_is_dir() argument 480 d_is_symlink(const struct dentry * dentry) d_is_symlink() argument 485 d_is_reg(const struct dentry * dentry) d_is_reg() argument 490 d_is_special(const struct dentry * dentry) d_is_special() argument 495 d_is_file(const struct dentry * dentry) d_is_file() argument 500 d_is_negative(const struct dentry * dentry) d_is_negative() argument 511 d_is_positive(const struct dentry * dentry) d_is_positive() argument 531 d_really_is_negative(const struct dentry * dentry) d_really_is_negative() argument 549 d_really_is_positive(const struct dentry * dentry) d_really_is_positive() argument 554 simple_positive(const struct dentry * dentry) simple_positive() argument 571 d_lookup_release(struct dentry * dentry) d_lookup_release() argument 585 d_lookup_acquire(struct dentry * dentry) d_lookup_acquire() argument 598 d_inode(const struct dentry * dentry) d_inode() argument 610 d_inode_rcu(const struct dentry * dentry) d_inode_rcu() argument 642 d_real(struct dentry * dentry,enum d_real_type type) d_real() argument 657 d_real_inode(const struct dentry * dentry) d_real_inode() argument 670 d_first_child(const struct dentry * dentry) d_first_child() argument 675 d_next_sibling(const struct dentry * dentry) d_next_sibling() argument 685 for_each_alias(dentry,inode) global() argument [all...] |
| H A D | namei.h | 54 struct dentry *kern_path_parent(const char *name, struct path *parent); 56 extern struct dentry *start_creating_path(int, const char *, struct path *, unsigned int); 57 extern struct dentry *start_creating_user_path(int, const char __user *, struct path *, unsigned in… 58 extern void end_creating_path(const struct path *, struct dentry *); 59 extern struct dentry *start_removing_path(const char *, struct path *); 60 static inline void end_removing_path(const struct path *path , struct dentry *dentry) in end_removing_path() argument 62 end_creating_path(path, dentry); in end_removing_path() 67 int vfs_path_lookup(struct dentry *, struct vfsmount *, const char *, 70 extern struct dentry *try_lookup_noperm(struct qstr *, struct dentry *); 71 extern struct dentry *lookup_noperm(struct qstr *, struct dentry *); [all …]
|
| /linux/fs/ |
| H A D | dcache.c | 51 * dentry->d_sb->s_dentry_lru_lock protects: 64 * dentry->d_inode->i_lock 65 * dentry->d_lock 66 * dentry->d_sb->s_dentry_lru_lock 71 * dentry->d_parent->...->d_parent->d_lock 73 * dentry->d_parent->d_lock 74 * dentry->d_lock 129 static inline struct hlist_bl_head *in_lookup_hash(const struct dentry *parent, in in_lookup_hash() 207 .procname = "dentry-state", 214 .procname = "dentry 303 dentry_cmp(const struct dentry * dentry,const unsigned char * ct,unsigned tcount) dentry_cmp() argument 338 external_name(struct dentry * dentry) external_name() argument 345 struct dentry *dentry = container_of(head, struct dentry, d_rcu); __d_free() local 352 struct dentry *dentry = container_of(head, struct dentry, d_rcu); __d_free_external() local 357 dname_external(const struct dentry * dentry) dname_external() argument 362 take_dentry_name_snapshot(struct name_snapshot * name,struct dentry * dentry) take_dentry_name_snapshot() argument 402 __d_set_inode_and_type(struct dentry * dentry,struct inode * inode,unsigned type_flags) __d_set_inode_and_type() argument 415 __d_clear_type_and_inode(struct dentry * dentry) __d_clear_type_and_inode() argument 430 DENTRY_WARN_ONCE(condition,dentry) global() argument 432 D_FLAG_VERIFY(dentry,x) global() argument 435 dentry_free(struct dentry * dentry) dentry_free() argument 469 dentry_unlink_inode(struct dentry * dentry) dentry_unlink_inode() argument 515 d_lru_add(struct dentry * dentry) d_lru_add() argument 526 d_lru_del(struct dentry * dentry) d_lru_del() argument 537 d_shrink_del(struct dentry * dentry) d_shrink_del() argument 545 d_shrink_add(struct dentry * dentry,struct list_head * list) d_shrink_add() argument 559 d_lru_isolate(struct list_lru_one * lru,struct dentry * dentry) d_lru_isolate() argument 569 d_lru_shrink_move(struct list_lru_one * lru,struct dentry * dentry,struct list_head * list) d_lru_shrink_move() argument 579 ___d_drop(struct dentry * dentry) ___d_drop() argument 588 __d_drop(struct dentry * dentry) __d_drop() argument 616 d_drop(struct dentry * dentry) d_drop() argument 640 d_add_waiter(struct dentry * dentry,struct completion_list * p) d_add_waiter() argument 650 d_complete_waiters(struct dentry * dentry) d_complete_waiters() argument 664 unlink_secondary_root(struct dentry * dentry) unlink_secondary_root() argument 671 dentry_unlist(struct dentry * dentry) dentry_unlist() argument 739 lock_for_kill(struct dentry * dentry) lock_for_kill() argument 813 dentry_kill(struct dentry * dentry) dentry_kill() argument 878 retain_dentry(struct dentry * dentry,bool locked) retain_dentry() argument 943 fast_dput(struct dentry * dentry) fast_dput() argument 1012 finish_dput(struct dentry * dentry) finish_dput() argument 1049 dput(struct dentry * dentry) dput() argument 1060 d_make_discardable(struct dentry * dentry) d_make_discardable() argument 1087 __move_to_shrink_list(struct dentry * dentry,struct list_head * list) __move_to_shrink_list() argument 1101 dput_to_list(struct dentry * dentry,struct list_head * list) dput_to_list() argument 1109 dget_parent(struct dentry * dentry) dget_parent() argument 1273 struct dentry *dentry; d_prune_aliases() local 1296 struct dentry *dentry; shrink_dentry_list() local 1315 struct dentry *dentry = container_of(item, struct dentry, d_lru); dentry_lru_isolate() local 1396 struct dentry *dentry = container_of(item, struct dentry, d_lru); dentry_lru_isolate_shrink() local 1454 d_walk(struct dentry * parent,void * data,enum d_walk_ret (* enter)(void *,struct dentry *)) d_walk() argument 1457 struct dentry *this_parent, *dentry; d_walk() local 1560 path_check_mount(void * data,struct dentry * dentry) path_check_mount() argument 1603 d_set_mounted(struct dentry * dentry) d_set_mounted() argument 1655 select_collect(void * _data,struct dentry * dentry) select_collect() argument 1678 select_collect_umount(void * _data,struct dentry * dentry) select_collect_umount() argument 1687 select_collect2(void * _data,struct dentry * dentry) select_collect2() argument 1787 umount_check(void * _data,struct dentry * dentry) umount_check() argument 1809 do_one_tree(struct dentry * dentry) do_one_tree() argument 1827 struct dentry *dentry; shrink_dcache_for_umount() local 1862 find_submount(void * _data,struct dentry * dentry) find_submount() argument 1876 d_invalidate(struct dentry * dentry) d_invalidate() argument 1919 struct dentry *dentry; __d_alloc() local 2009 struct dentry *dentry = __d_alloc(parent->d_sb, name); d_alloc() local 2052 d_duplicate(struct dentry * dentry) d_duplicate() argument 2086 struct dentry *dentry = d_alloc_anon(parent->d_sb); d_alloc_cursor() local 2114 struct dentry *dentry = __d_alloc(sb, name); d_alloc_pseudo() local 2161 d_set_d_op(struct dentry * dentry,const struct dentry_operations * op) d_set_d_op() argument 2214 __d_instantiate(struct dentry * dentry,struct inode * inode) __d_instantiate() argument 2425 d_add_ci(struct dentry * dentry,struct inode * inode,struct qstr * name) d_add_ci() argument 2470 d_same_name(const struct dentry * dentry,const struct dentry * parent,const struct qstr * name) d_same_name() argument 2496 struct dentry *dentry; __d_lookup_rcu_op_compare() local 2560 struct dentry *dentry; __d_lookup_rcu() local 2642 struct dentry *dentry; d_lookup() local 2676 struct dentry *dentry; __d_lookup() local 2770 d_delete(struct dentry * dentry) d_delete() argument 2833 d_wait_lookup(struct dentry * dentry) d_wait_lookup() argument 2866 struct dentry *dentry; __d_alloc_parallel() local 3056 __d_lookup_unhash(struct dentry * dentry) __d_lookup_unhash() argument 3071 __d_wake_in_lookup_waiters(struct dentry * dentry) __d_wake_in_lookup_waiters() argument 3079 __d_lookup_unhash_wake(struct dentry * dentry) __d_lookup_unhash_wake() argument 3090 __d_add(struct dentry * dentry,struct inode * inode,const struct dentry_operations * ops) __d_add() argument 3135 d_make_persistent(struct dentry * dentry,struct inode * inode) d_make_persistent() argument 3153 swap_names(struct dentry * dentry,struct dentry * target) swap_names() argument 3191 copy_name(struct dentry * dentry,struct dentry * target) copy_name() argument 3219 __d_move(struct dentry * dentry,struct dentry * target,bool exchange) __d_move() argument 3313 d_move(struct dentry * dentry,struct dentry * target) d_move() argument 3369 __d_unalias(struct dentry * dentry,struct dentry * alias) __d_unalias() argument 3402 d_splice_alias_ops(struct inode * inode,struct dentry * dentry,const struct dentry_operations * ops) d_splice_alias_ops() argument 3482 d_splice_alias(struct inode * inode,struct dentry * dentry) d_splice_alias() argument 3530 struct dentry *dentry = file->f_path.dentry; d_mark_tmpfile() local 3546 struct dentry *dentry = file->f_path.dentry; d_mark_tmpfile_name() local 3569 struct dentry *dentry = file->f_path.dentry; d_tmpfile() local 3580 d_parent_ino(struct dentry * dentry) d_parent_ino() argument [all...] |
| H A D | libfs.c | 36 struct inode *inode = d_inode(path->dentry); in simple_getattr() 43 int simple_statfs(struct dentry *dentry, struct kstatfs *buf) in simple_statfs() argument 45 u64 id = huge_encode_dev(dentry->d_sb->s_dev); in simple_statfs() 48 buf->f_type = dentry->d_sb->s_magic; in simple_statfs() 59 int always_delete_dentry(const struct dentry *dentry) in always_delete_dentry() argument 66 * Lookup the data. This is trivial - if the dentry didn't already 69 struct dentry *simple_lookup(struct inode *dir, struct dentry *dentr argument 112 struct dentry *dentry = cursor->d_parent, *found = NULL; scan_positives() local 147 struct dentry *dentry = file->f_path.dentry; dcache_dir_lseek() local 191 struct dentry *dentry = file->f_path.dentry; dcache_readdir() local 256 offset_set(struct dentry * dentry,long offset) offset_set() argument 261 dentry2offset(struct dentry * dentry) dentry2offset() argument 288 simple_offset_add(struct offset_ctx * octx,struct dentry * dentry) simple_offset_add() argument 306 simple_offset_replace(struct offset_ctx * octx,struct dentry * dentry,long offset) simple_offset_replace() argument 324 simple_offset_remove(struct offset_ctx * octx,struct dentry * dentry) simple_offset_remove() argument 450 find_positive_dentry(struct dentry * parent,struct dentry * dentry,bool next) find_positive_dentry() argument 494 offset_dir_emit(struct dir_context * ctx,struct dentry * dentry) offset_dir_emit() argument 505 struct dentry *dentry; offset_iterate_dir() local 597 __simple_recursive_removal(struct dentry * dentry,void (* callback)(struct dentry *),bool locked) __simple_recursive_removal() argument 598 __simple_recursive_removal(struct dentry * dentry,void (* callback)(struct dentry *),bool locked) __simple_recursive_removal() argument 643 simple_recursive_removal(struct dentry * dentry,void (* callback)(struct dentry *)) simple_recursive_removal() argument 644 simple_recursive_removal(struct dentry * dentry,void (* callback)(struct dentry *)) simple_recursive_removal() argument 651 simple_remove_by_name(struct dentry * parent,const char * name,void (* callback)(struct dentry *)) simple_remove_by_name() argument 653 struct dentry *dentry; simple_remove_by_name() local 664 locked_recursive_removal(struct dentry * dentry,void (* callback)(struct dentry *)) locked_recursive_removal() argument 665 locked_recursive_removal(struct dentry * dentry,void (* callback)(struct dentry *)) locked_recursive_removal() argument 753 simple_link(struct dentry * old_dentry,struct inode * dir,struct dentry * dentry) simple_link() argument 766 simple_empty(struct dentry * dentry) simple_empty() argument 787 __simple_unlink(struct inode * dir,struct dentry * dentry) __simple_unlink() argument 797 __simple_rmdir(struct inode * dir,struct dentry * dentry) __simple_rmdir() argument 805 simple_unlink(struct inode * dir,struct dentry * dentry) simple_unlink() argument 813 simple_rmdir(struct inode * dir,struct dentry * dentry) simple_rmdir() argument 916 simple_setattr(const struct mnt_idmap * idmap,struct dentry * dentry,struct iattr * iattr) simple_setattr() argument 1040 struct dentry *dentry; simple_fill_super() local 1710 simple_get_link(struct dentry * dentry,struct inode * inode,struct delayed_call * done) simple_get_link() argument 1725 empty_dir_lookup(struct inode * dir,struct dentry * dentry,unsigned int flags) empty_dir_lookup() argument 1731 empty_dir_setattr(const struct mnt_idmap * idmap,struct dentry * dentry,struct iattr * attr) empty_dir_setattr() argument 1736 empty_dir_listxattr(struct dentry * dentry,char * list,size_t size) empty_dir_listxattr() argument 1799 generic_ci_d_compare(const struct dentry * dentry,unsigned int len,const char * str,const struct qstr * name) generic_ci_d_compare() argument 1853 generic_ci_d_hash(const struct dentry * dentry,struct qstr * str) generic_ci_d_hash() argument 2137 struct dentry *dentry; stashed_dentry_get() local 2154 struct dentry *dentry; prepare_anon_dentry() local 2192 stash_dentry(struct dentry ** stashed,struct dentry * dentry) stash_dentry() argument 2233 struct dentry *dentry, *res; path_from_stashed() local 2270 stashed_dentry_prune(struct dentry * dentry) stashed_dentry_prune() argument [all...] |
| H A D | namei.c | 689 * see a dentry which went negative and then became a directory while in lookup_inode_permission_may_exec() 711 * Given a path increment the reference count to the dentry and the vfsmount. in path_get() 716 dget(path->dentry); 724 * Given a path decrement the reference count to the dentry and the vfsmount. in path_put() 728 dput(path->dentry); 738 struct inode *inode; /* path.dentry.d_inode */ 772 p->path.dentry = NULL; in set_nameidata() 814 * path_connected - Verify that a dentry is below mnt.mnt_root 816 * @dentry: The dentry t in path_connected() 815 path_connected(struct vfsmount * mnt,struct dentry * dentry) path_connected() argument 976 try_to_unlazy_next(struct nameidata * nd,struct dentry * dentry) try_to_unlazy_next() argument 1032 d_revalidate(struct inode * dir,const struct qstr * name,struct dentry * dentry,unsigned int flags) d_revalidate() argument 1052 struct dentry *dentry = nd->path.dentry; complete_walk() local 1540 struct dentry *dentry = path->dentry; follow_automount() local 1689 struct dentry *dentry = path->dentry; __follow_mount_rcu() local 1728 handle_mounts(struct nameidata * nd,struct dentry * dentry,struct path * path) handle_mounts() argument 1768 struct dentry *dentry = d_lookup(dir, name); lookup_dcache() local 1793 struct dentry *dentry; lookup_one_qstr_excl() local 1845 struct dentry *dentry, *parent = nd->path.dentry; lookup_fast() local 1897 struct dentry *dentry, *old; __lookup_slow() local 2098 step_into_slowpath(struct nameidata * nd,int flags,struct dentry * dentry) step_into_slowpath() argument 2131 step_into(struct nameidata * nd,int flags,struct dentry * dentry) step_into() argument 2267 struct dentry *dentry; walk_component() local 2745 struct dentry *dentry; path_init() local 2909 struct dentry *dentry; __start_dirop() local 3073 vfs_path_lookup(struct dentry * dentry,struct vfsmount * mnt,const char * name,unsigned int flags,struct path * path) vfs_path_lookup() argument 3169 struct dentry *dentry; lookup_noperm() local 3196 struct dentry *dentry; lookup_one() local 4177 vfs_create(const struct mnt_idmap * idmap,struct dentry * dentry,umode_t mode,struct delegated_inode * di) vfs_create() argument 4204 vfs_mkobj(struct dentry * dentry,umode_t mode,int (* f)(struct dentry *,umode_t,void *),void * arg) vfs_mkobj() argument 4205 vfs_mkobj(struct dentry * dentry,umode_t mode,int (* f)(struct dentry *,umode_t,void *),void * arg) vfs_mkobj() argument 4234 struct dentry *dentry = path->dentry; may_open() local 4316 may_o_create(const struct mnt_idmap * idmap,const struct path * dir,struct dentry * dentry,umode_t mode) may_o_create() argument 4357 atomic_open(const struct path * path,struct dentry * dentry,struct file * file,int open_flag,umode_t mode,int create_error) atomic_open() argument 4439 struct dentry *dentry; lookup_open() local 4633 struct dentry *dentry; vfs_lookup_open() local 4707 struct dentry *dentry; lookup_fast_for_open() local 4739 struct dentry *dentry; open_last_lookups() local 5075 struct dentry *dentry = ERR_PTR(-EEXIST); filename_create() local 5140 end_creating_path(const struct path * path,struct dentry * dentry) end_creating_path() argument 5178 struct dentry *dentry = path->dentry; dentry_create() local 5250 vfs_mknod(const struct mnt_idmap * idmap,struct inode * dir,struct dentry * dentry,umode_t mode,dev_t dev,struct delegated_inode * delegated_inode) vfs_mknod() argument 5308 struct dentry *dentry; filename_mknodat() local 5392 vfs_mkdir(const struct mnt_idmap * idmap,struct inode * dir,struct dentry * dentry,umode_t mode,struct delegated_inode * delegated_inode) vfs_mkdir() argument 5439 struct dentry *dentry; filename_mkdirat() local 5499 vfs_rmdir(const struct mnt_idmap * idmap,struct inode * dir,struct dentry * dentry,struct delegated_inode * delegated_inode) vfs_rmdir() argument 5546 struct dentry *dentry; filename_rmdir() local 5634 vfs_unlink(const struct mnt_idmap * idmap,struct inode * dir,struct dentry * dentry,struct delegated_inode * delegated_inode) vfs_unlink() argument 5690 struct dentry *dentry; filename_unlinkat() local 5784 vfs_symlink(const struct mnt_idmap * idmap,struct inode * dir,struct dentry * dentry,const char * oldname,struct delegated_inode * delegated_inode) vfs_symlink() argument 5814 struct dentry *dentry; filename_symlinkat() local 6405 vfs_readlink(struct dentry * dentry,char __user * buffer,int buflen) vfs_readlink() argument 6450 vfs_get_link(struct dentry * dentry,struct delayed_call * done) vfs_get_link() argument 6465 __page_get_link(struct dentry * dentry,struct inode * inode,struct delayed_call * callback) __page_get_link() argument 6489 page_get_link_raw(struct dentry * dentry,struct inode * inode,struct delayed_call * callback) page_get_link_raw() argument 6507 page_get_link(struct dentry * dentry,struct inode * inode,struct delayed_call * callback) page_get_link() argument 6538 page_readlink(struct dentry * dentry,char __user * buffer,int buflen) page_readlink() argument [all...] |
| /linux/fs/overlayfs/ |
| H A D | overlayfs.h | 214 struct dentry *upperdentry, in ovl_do_rmdir() 221 struct inode *dir, struct dentry *dentry) in ovl_do_rmdir() 223 int err = vfs_rmdir(ovl_upper_mnt_idmap(ofs), dir, dentry, NULL); in ovl_do_unlink() 225 pr_debug("rmdir(%pd2) = %i\n", dentry, err); in ovl_do_unlink() 230 struct dentry *dentry) in ovl_do_unlink() 232 int err = vfs_unlink(ovl_upper_mnt_idmap(ofs), dir, dentry, NULL); in ovl_do_link() 234 pr_debug("unlink(%pd2) = %i\n", dentry, err); in ovl_do_link() 238 static inline int ovl_do_link(struct ovl_fs *ofs, struct dentry *old_dentr in ovl_do_link() 215 ovl_do_rmdir(struct ovl_fs * ofs,struct inode * dir,struct dentry * dentry) ovl_do_rmdir() argument 224 ovl_do_unlink(struct ovl_fs * ofs,struct inode * dir,struct dentry * dentry) ovl_do_unlink() argument 243 ovl_do_create(struct ovl_fs * ofs,struct inode * dir,struct dentry * dentry,umode_t mode) ovl_do_create() argument 254 ovl_do_mkdir(struct ovl_fs * ofs,struct inode * dir,struct dentry * dentry,umode_t mode) ovl_do_mkdir() argument 267 ovl_do_mknod(struct ovl_fs * ofs,struct inode * dir,struct dentry * dentry,umode_t mode,dev_t dev) ovl_do_mknod() argument 277 ovl_do_symlink(struct ovl_fs * ofs,struct inode * dir,struct dentry * dentry,const char * oldname) ovl_do_symlink() argument 323 ovl_do_setxattr(struct ovl_fs * ofs,struct dentry * dentry,const char * name,const void * value,size_t size,int flags) ovl_do_setxattr() argument 336 ovl_setxattr(struct ovl_fs * ofs,struct dentry * dentry,enum ovl_xattr ox,const void * value,size_t size) ovl_setxattr() argument 343 ovl_do_removexattr(struct ovl_fs * ofs,struct dentry * dentry,const char * name) ovl_do_removexattr() argument 351 ovl_removexattr(struct ovl_fs * ofs,struct dentry * dentry,enum ovl_xattr ox) ovl_removexattr() argument 357 ovl_do_set_acl(struct ovl_fs * ofs,struct dentry * dentry,const char * acl_name,struct posix_acl * acl) ovl_do_set_acl() argument 363 ovl_do_remove_acl(struct ovl_fs * ofs,struct dentry * dentry,const char * acl_name) ovl_do_remove_acl() argument 400 ovl_do_whiteout(struct ovl_fs * ofs,struct inode * dir,struct dentry * dentry) ovl_do_whiteout() argument 408 ovl_do_tmpfile(struct ovl_fs * ofs,struct dentry * dentry,umode_t mode) ovl_do_tmpfile() argument 491 ovl_dentry_casefolded(struct dentry * dentry) ovl_dentry_casefolded() argument 822 ovl_get_acl(const struct mnt_idmap * idmap,struct dentry * dentry,int type) ovl_get_acl() argument [all...] |
| H A D | util.c | 22 int ovl_get_write_access(struct dentry *dentry) in ovl_get_write_access() argument 24 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_get_write_access() 29 void ovl_start_write(struct dentry *dentry) in ovl_start_write() argument 31 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_start_write() 35 int ovl_want_write(struct dentry *dentry) in ovl_want_write() argument 37 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_want_write() 41 void ovl_put_write_access(struct dentry *dentr argument 47 ovl_end_write(struct dentry * dentry) ovl_end_write() argument 53 ovl_drop_write(struct dentry * dentry) ovl_drop_write() argument 59 ovl_workdir(struct dentry * dentry) ovl_workdir() argument 164 ovl_dentry_remote(struct dentry * dentry) ovl_dentry_remote() argument 169 ovl_dentry_update_reval(struct dentry * dentry,struct dentry * realdentry) ovl_dentry_update_reval() argument 179 ovl_dentry_init_reval(struct dentry * dentry,struct dentry * upperdentry,struct ovl_entry * oe) ovl_dentry_init_reval() argument 185 ovl_dentry_init_flags(struct dentry * dentry,struct dentry * upperdentry,struct ovl_entry * oe,unsigned int mask) ovl_dentry_init_flags() argument 202 ovl_dentry_weird(struct dentry * dentry) ovl_dentry_weird() argument 220 ovl_path_type(struct dentry * dentry) ovl_path_type() argument 245 ovl_path_upper(struct dentry * dentry,struct path * path) ovl_path_upper() argument 253 ovl_path_lower(struct dentry * dentry,struct path * path) ovl_path_lower() argument 266 ovl_path_lowerdata(struct dentry * dentry,struct path * path) ovl_path_lowerdata() argument 286 ovl_path_real(struct dentry * dentry,struct path * path) ovl_path_real() argument 298 ovl_path_realdata(struct dentry * dentry,struct path * path) ovl_path_realdata() argument 312 ovl_dentry_upper(struct dentry * dentry) ovl_dentry_upper() argument 319 ovl_dentry_lower(struct dentry * dentry) ovl_dentry_lower() argument 326 ovl_layer_lower(struct dentry * dentry) ovl_layer_lower() argument 339 ovl_dentry_lowerdata(struct dentry * dentry) ovl_dentry_lowerdata() argument 344 ovl_dentry_set_lowerdata(struct dentry * dentry,struct ovl_path * datapath) ovl_dentry_set_lowerdata() argument 367 ovl_dentry_real(struct dentry * dentry) ovl_dentry_real() argument 450 ovl_dentry_set_flag(unsigned long flag,struct dentry * dentry) ovl_dentry_set_flag() argument 455 ovl_dentry_clear_flag(unsigned long flag,struct dentry * dentry) ovl_dentry_clear_flag() argument 460 ovl_dentry_test_flag(unsigned long flag,struct dentry * dentry) ovl_dentry_test_flag() argument 465 ovl_dentry_is_opaque(struct dentry * dentry) ovl_dentry_is_opaque() argument 470 ovl_dentry_is_whiteout(struct dentry * dentry) ovl_dentry_is_whiteout() argument 475 ovl_dentry_set_opaque(struct dentry * dentry) ovl_dentry_set_opaque() argument 480 ovl_dentry_has_xwhiteouts(struct dentry * dentry) ovl_dentry_has_xwhiteouts() argument 485 ovl_dentry_set_xwhiteouts(struct dentry * dentry) ovl_dentry_set_xwhiteouts() argument 513 ovl_dentry_has_upper_alias(struct dentry * dentry) ovl_dentry_has_upper_alias() argument 518 ovl_dentry_set_upper_alias(struct dentry * dentry) ovl_dentry_set_upper_alias() argument 563 ovl_dentry_needs_data_copy_up_locked(struct dentry * dentry,int flags) ovl_dentry_needs_data_copy_up_locked() argument 571 ovl_dentry_needs_data_copy_up(struct dentry * dentry,int flags) ovl_dentry_needs_data_copy_up() argument 579 ovl_dentry_get_redirect(struct dentry * dentry) ovl_dentry_get_redirect() argument 584 ovl_dentry_set_redirect(struct dentry * dentry,const char * redirect) ovl_dentry_set_redirect() argument 609 ovl_dir_version_inc(struct dentry * dentry,bool impurity) ovl_dir_version_inc() argument 626 ovl_dir_modified(struct dentry * dentry,bool impurity) ovl_dir_modified() argument 640 ovl_is_whiteout(struct dentry * dentry) ovl_is_whiteout() argument 689 ovl_already_copied_up_locked(struct dentry * dentry,int flags) ovl_already_copied_up_locked() argument 701 ovl_already_copied_up(struct dentry * dentry,int flags) ovl_already_copied_up() argument 730 ovl_copy_up_start(struct dentry * dentry,int flags) ovl_copy_up_start() argument 753 ovl_copy_up_end(struct dentry * dentry) ovl_copy_up_end() argument 774 struct dentry *dentry = path->dentry; ovl_path_check_xwhiteout_xattr() local 909 ovl_set_impure(struct dentry * dentry,struct dentry * upperdentry) ovl_set_impure() argument 1014 ovl_inuse_trylock(struct dentry * dentry) ovl_inuse_trylock() argument 1029 ovl_inuse_unlock(struct dentry * dentry) ovl_inuse_unlock() argument 1041 ovl_is_inuse(struct dentry * dentry) ovl_is_inuse() argument 1056 ovl_need_index(struct dentry * dentry) ovl_need_index() argument 1075 ovl_cleanup_index(struct dentry * dentry) ovl_cleanup_index() argument 1145 ovl_nlink_start(struct dentry * dentry) ovl_nlink_start() argument 1205 ovl_nlink_end(struct dentry * dentry) ovl_nlink_end() argument 1289 ovl_is_metacopy_dentry(struct dentry * dentry) ovl_is_metacopy_dentry() argument [all...] |
| H A D | dir.c | 25 static int ovl_set_redirect(struct dentry *dentry, bool samedir); 28 struct dentry *wdentry) in ovl_cleanup_locked() 47 int ovl_cleanup(struct ovl_fs *ofs, struct dentry *workdir, in ovl_cleanup() 48 struct dentry *wdentry) in ovl_cleanup() 68 static struct dentry *ovl_start_creating_temp(struct ovl_fs *ofs, in ovl_start_creating_temp() 69 struct dentry *workdir, in ovl_start_creating_temp() 81 static struct dentry *ovl_whiteout(struct ovl_fs *ofs) in ovl_whiteout() 84 struct dentry *whiteout, *link; in ovl_whiteout() 85 struct dentry *workdi in ovl_whiteout() 123 ovl_cleanup_and_whiteout(struct ovl_fs * ofs,struct dentry * dir,struct dentry * dentry) ovl_cleanup_and_whiteout() argument 270 ovl_set_opaque_xerr(struct dentry * dentry,struct dentry * upper,int xerr) ovl_set_opaque_xerr() argument 283 ovl_set_opaque(struct dentry * dentry,struct dentry * upperdentry) ovl_set_opaque() argument 298 ovl_instantiate(struct dentry * dentry,struct inode * inode,struct dentry * newdentry,bool hardlink,struct file * tmpfile) ovl_instantiate() argument 350 ovl_type_merge(struct dentry * dentry) ovl_type_merge() argument 355 ovl_type_origin(struct dentry * dentry) ovl_type_origin() argument 360 ovl_create_upper(struct dentry * dentry,struct inode * inode,struct ovl_cattr * attr) ovl_create_upper() argument 398 ovl_clear_empty(struct dentry * dentry,struct list_head * list) ovl_clear_empty() argument 483 ovl_create_over_whiteout(struct dentry * dentry,struct inode * inode,struct ovl_cattr * cattr) ovl_create_over_whiteout() argument 599 ovl_override_creator_creds(const struct cred * original_creds,struct dentry * dentry,struct inode * inode,umode_t mode) ovl_override_creator_creds() argument 638 ovl_create_handle_whiteouts(struct dentry * dentry,struct inode * inode,struct ovl_cattr * attr) ovl_create_handle_whiteouts() argument 648 ovl_create_or_link(struct dentry * dentry,struct inode * inode,struct ovl_cattr * attr,bool origin) ovl_create_or_link() argument 691 ovl_create_object(const struct mnt_idmap * idmap,struct dentry * dentry,int mode,dev_t rdev,const char * link) ovl_create_object() argument 734 ovl_create(const struct mnt_idmap * idmap,struct inode * dir,struct dentry * dentry,umode_t mode) ovl_create() argument 740 ovl_mkdir(const struct mnt_idmap * idmap,struct inode * dir,struct dentry * dentry,umode_t mode) ovl_mkdir() argument 746 ovl_mknod(const struct mnt_idmap * idmap,struct inode * dir,struct dentry * dentry,umode_t mode,dev_t rdev) ovl_mknod() argument 756 ovl_symlink(const struct mnt_idmap * idmap,struct inode * dir,struct dentry * dentry,const char * link) ovl_symlink() argument 761 ovl_set_link_redirect(struct dentry * dentry) ovl_set_link_redirect() argument 806 ovl_matches_upper(struct dentry * dentry,struct dentry * upper) ovl_matches_upper() argument 811 ovl_remove_and_whiteout(struct dentry * dentry,struct list_head * list) ovl_remove_and_whiteout() argument 857 ovl_remove_upper(struct dentry * dentry,bool is_dir,struct list_head * list) ovl_remove_upper() argument 908 ovl_pure_upper(struct dentry * dentry) ovl_pure_upper() argument 914 ovl_drop_nlink(struct dentry * dentry) ovl_drop_nlink() argument 936 ovl_do_remove(struct dentry * dentry,bool is_dir) ovl_do_remove() argument 985 ovl_unlink(struct inode * dir,struct dentry * dentry) ovl_unlink() argument 990 ovl_rmdir(struct inode * dir,struct dentry * dentry) ovl_rmdir() argument 995 ovl_type_merge_or_lower(struct dentry * dentry) ovl_type_merge_or_lower() argument 1002 ovl_can_move(struct dentry * dentry) ovl_can_move() argument 1008 ovl_get_redirect(struct dentry * dentry,bool abs_redirect) ovl_get_redirect() argument 1068 ovl_need_absolute_redirect(struct dentry * dentry,bool samedir) ovl_need_absolute_redirect() argument 1095 ovl_set_redirect(struct dentry * dentry,bool samedir) ovl_set_redirect() argument 1374 ovl_create_tmpfile(struct file * file,struct dentry * dentry,struct inode * inode,umode_t mode) ovl_create_tmpfile() argument 1427 struct dentry *dentry = file->f_path.dentry; ovl_tmpfile() local [all...] |
| H A D | copy_up.c | 47 struct dentry *dentry, const char *acl_name) in ovl_copy_acl() argument 68 err = ovl_do_set_acl(ofs, dentry, acl_name, clone); in ovl_copy_acl() 87 int ovl_copy_xattr(struct super_block *sb, const struct path *oldpath, struct dentry *new) in ovl_copy_xattr() 89 struct dentry *old = oldpath->dentry; in ovl_copy_xattr() 182 old->dentry, err); in ovl_copy_fileattr() 193 err = ovl_set_protattr(inode, new->dentry, &oldfa); in ovl_copy_fileattr() 215 new->dentry, err); in ovl_copy_fileattr() 258 static int ovl_copy_up_file(struct ovl_fs *ofs, struct dentry *dentr in ovl_sync_file() 260 ovl_copy_up_file(struct ovl_fs * ofs,struct dentry * dentry,struct file * new_file,loff_t len,bool datasync) ovl_copy_up_file() argument 521 ovl_create_index(struct dentry * dentry,const struct ovl_fh * fh,struct dentry * upper) ovl_create_index() argument 579 struct dentry *dentry; global() member 727 ovl_prepare_copy_up_creds(struct dentry * dentry) ovl_prepare_copy_up_creds() argument 1028 ovl_need_meta_copy_up(struct dentry * dentry,umode_t mode,int flags) ovl_need_meta_copy_up() argument 1131 ovl_copy_up_one(struct dentry * parent,struct dentry * dentry,int flags) ovl_copy_up_one() argument 1209 ovl_copy_up_flags(struct dentry * dentry,int flags) ovl_copy_up_flags() argument 1260 ovl_open_need_copy_up(struct dentry * dentry,int flags) ovl_open_need_copy_up() argument 1275 ovl_maybe_copy_up(struct dentry * dentry,int flags) ovl_maybe_copy_up() argument 1283 ovl_copy_up_with_data(struct dentry * dentry) ovl_copy_up_with_data() argument 1288 ovl_copy_up(struct dentry * dentry) ovl_copy_up() argument [all...] |
| /linux/fs/9p/ |
| H A D | vfs_dentry.c | 3 * This file contains vfs dentry ops for the 9P2000 protocol. 27 * v9fs_ndentry_is_expired - Check if negative dentry lookup has expired 29 * This should be called to know if a negative dentry should be removed from 32 * @dentry: dentry in question 35 static bool v9fs_ndentry_is_expired(struct dentry const *dentry) in v9fs_ndentry_is_expired() argument 37 struct v9fs_session_info *v9ses = v9fs_dentry2v9ses(dentry); in v9fs_ndentry_is_expired() 38 struct v9fs_dentry *v9fs_dentry = to_v9fs_dentry(dentry); in v9fs_ndentry_is_expired() 47 * v9fs_ndentry_refresh_timeout - Refresh negative dentry looku 54 v9fs_ndentry_refresh_timeout(struct dentry * dentry) v9fs_ndentry_refresh_timeout() argument 71 v9fs_cached_dentry_delete(const struct dentry * dentry) v9fs_cached_dentry_delete() argument 82 __v9fs_dentry_fid_remove(struct dentry * dentry) __v9fs_dentry_fid_remove() argument 104 v9fs_dentry_fid_remove(struct dentry * dentry) v9fs_dentry_fid_remove() argument 114 v9fs_dentry_init(struct dentry * dentry) v9fs_dentry_init() argument 131 v9fs_dentry_release(struct dentry * dentry) v9fs_dentry_release() argument 139 __v9fs_lookup_revalidate(struct dentry * dentry,unsigned int flags) __v9fs_lookup_revalidate() argument 195 v9fs_lookup_revalidate(struct inode * dir,const struct qstr * name,struct dentry * dentry,unsigned int flags) v9fs_lookup_revalidate() argument 200 v9fs_dentry_unalias_trylock(const struct dentry * dentry) v9fs_dentry_unalias_trylock() argument 206 v9fs_dentry_unalias_unlock(const struct dentry * dentry) v9fs_dentry_unalias_unlock() argument [all...] |
| /linux/drivers/net/wireless/ti/wl1251/ |
| H A D | wl1251.h | 146 struct dentry *rootdir; 147 struct dentry *fw_statistics; 149 struct dentry *tx_internal_desc_overflow; 151 struct dentry *rx_out_of_mem; 152 struct dentry *rx_hdr_overflow; 153 struct dentry *rx_hw_stuck; 154 struct dentry *rx_dropped; 155 struct dentry *rx_fcs_err; 156 struct dentry *rx_xfr_hint_trig; 157 struct dentry *rx_path_reset; [all …]
|
| /linux/fs/autofs/ |
| H A D | root.c | 16 struct dentry *, const char *); 17 static int autofs_dir_unlink(struct inode *, struct dentry *); 18 static int autofs_dir_rmdir(struct inode *, struct dentry *); 19 static struct dentry *autofs_dir_mkdir(const struct mnt_idmap *, struct inode *, 20 struct dentry *, umode_t); 27 static struct dentry *autofs_lookup(struct inode *, 28 struct dentry *, unsigned int); 31 static void autofs_dentry_release(struct dentry *); 68 static void autofs_del_active(struct dentry *dentry) in autofs_del_active() argument 70 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_del_active() [all …]
|
| H A D | expire.c | 11 static inline int autofs_can_expire(struct dentry *dentry, in autofs_can_expire() argument 14 struct autofs_info *ino = autofs_dentry_ino(dentry); in autofs_can_expire() 30 struct dentry *dentry, unsigned int how) in autofs_mount_busy() argument 32 struct dentry *top = dentry; in autofs_mount_busy() 33 struct path path = {.mnt = mnt, .dentry = dentry}; in autofs_mount_busy() 36 pr_debug("dentry %p %pd\n", dentry, dentry); in autofs_mount_busy() 43 if (is_autofs_dentry(path.dentry)) { in autofs_mount_busy() 44 struct autofs_sb_info *sbi = autofs_sbi(path.dentry->d_sb); in autofs_mount_busy() 74 static struct dentry *positive_after(struct dentry *p, struct dentry *child) in positive_after() 94 static struct dentry *get_next_positive_subdir(struct dentry *prev, in get_next_positive_subdir() [all …]
|
| /linux/fs/debugfs/ |
| H A D | inode.c | 46 struct dentry *dentry, struct iattr *ia) in debugfs_setattr() argument 55 return simple_setattr(&nop_mnt_idmap, dentry, ia); in debugfs_setattr() 198 static int debugfs_show_options(struct seq_file *m, struct dentry *root) in debugfs_show_options() 245 static void debugfs_release_dentry(struct dentry *dentry) in debugfs_release_dentry() argument 247 struct debugfs_fsdata *fsd = dentry->d_fsdata; in debugfs_release_dentry() 258 struct inode *inode = path->dentry->d_inode; in debugfs_automount() 260 return DEBUGFS_I(inode)->automount(path->dentry, inode->i_private); in debugfs_automount() 345 struct dentry *debugfs_lookup(const char *name, struct dentry *parent) in debugfs_lookup() 347 struct dentry *dentry; in debugfs_lookup() local 355 dentry = lookup_noperm_positive_unlocked(&QSTR(name), parent); in debugfs_lookup() [all …]
|
| /linux/fs/ecryptfs/ |
| H A D | inode.c | 27 static struct dentry *ecryptfs_start_creating_dentry(struct dentry *dentry) in ecryptfs_start_creating_dentry() argument 29 struct dentry *parent = dget_parent(dentry); in ecryptfs_start_creating_dentry() 30 struct dentry *ret; in ecryptfs_start_creating_dentry() 33 ecryptfs_dentry_to_lower(dentry)); in ecryptfs_start_creating_dentry() 38 static struct dentry *ecryptfs_start_removing_dentry(struct dentry *dentry) in ecryptfs_start_removing_dentry() argument 40 struct dentry *parent = dget_parent(dentry); in ecryptfs_start_removing_dentry() 41 struct dentry *ret; in ecryptfs_start_removing_dentry() 44 ecryptfs_dentry_to_lower(dentry)); in ecryptfs_start_removing_dentry() 133 static int ecryptfs_interpose(struct dentry *lower_dentry, in ecryptfs_interpose() 134 struct dentry *dentry, struct super_block *sb) in ecryptfs_interpose() argument [all …]
|
| /linux/fs/ceph/ |
| H A D | dir.c | 26 * or dentry operations (a single path component relative to an ino). The 34 static int __dir_lease_try_check(const struct dentry *dentry); 37 * Initialize ceph dentry state. 39 static int ceph_d_init(struct dentry *dentry) in ceph_d_init() argument 42 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dentry->d_sb); in ceph_d_init() 48 di->dentry = dentry; in ceph_d_init() 51 dentry in ceph_d_init() 136 struct dentry *dentry; __dcache_find_get_entry() local 194 struct dentry *dentry, *last = NULL; __dcache_readdir() local 346 struct dentry *dentry = file->f_path.dentry; ceph_readdir() local 728 ceph_handle_snapdir(struct ceph_mds_request * req,struct dentry * dentry) ceph_handle_snapdir() argument 762 ceph_finish_lookup(struct ceph_mds_request * req,struct dentry * dentry,int err) ceph_finish_lookup() argument 796 is_root_ceph_dentry(struct inode * inode,struct dentry * dentry) is_root_ceph_dentry() argument 806 ceph_lookup(struct inode * dir,struct dentry * dentry,unsigned int flags) ceph_lookup() argument 901 ceph_handle_notrace_create(struct inode * dir,struct dentry * dentry) ceph_handle_notrace_create() argument 925 ceph_mknod(const struct mnt_idmap * idmap,struct inode * dir,struct dentry * dentry,umode_t mode,dev_t rdev) ceph_mknod() argument 992 ceph_create(const struct mnt_idmap * idmap,struct inode * dir,struct dentry * dentry,umode_t mode) ceph_create() argument 1036 ceph_symlink(const struct mnt_idmap * idmap,struct inode * dir,struct dentry * dentry,const char * dest) ceph_symlink() argument 1110 ceph_mkdir(const struct mnt_idmap * idmap,struct inode * dir,struct dentry * dentry,umode_t mode) ceph_mkdir() argument 1201 ceph_link(struct dentry * old_dentry,struct inode * dir,struct dentry * dentry) ceph_link() argument 1259 struct dentry *dentry = req->r_dentry; ceph_async_unlink_cb() local 1309 get_caps_for_async_unlink(struct inode * dir,struct dentry * dentry) get_caps_for_async_unlink() argument 1348 ceph_unlink(struct inode * dir,struct dentry * dentry) ceph_unlink() argument 1661 struct dentry *dentry, *last = NULL; __dentry_leases_walk() local 1746 __dentry_lease_check(const struct dentry * dentry) __dentry_lease_check() argument 1761 __dir_lease_check(const struct dentry * dentry,struct ceph_lease_walk_control * lwc) __dir_lease_check() argument 1826 ceph_invalidate_dentry_lease(struct dentry * dentry) ceph_invalidate_dentry_lease() argument 1865 dentry_lease_is_valid(struct dentry * dentry,unsigned int flags) dentry_lease_is_valid() argument 1910 __dir_lease_try_check(const struct dentry * dentry) __dir_lease_try_check() argument 1942 dir_lease_is_valid(struct inode * dir,struct dentry * dentry,struct ceph_mds_client * mdsc) dir_lease_is_valid() argument 1978 ceph_d_revalidate(struct inode * dir,const struct qstr * name,struct dentry * dentry,unsigned int flags) ceph_d_revalidate() argument 2075 ceph_d_delete(const struct dentry * dentry) ceph_d_delete() argument 2098 ceph_d_release(struct dentry * dentry) ceph_d_release() argument 2122 ceph_d_prune(struct dentry * dentry) ceph_d_prune() argument [all...] |
| /linux/security/integrity/evm/ |
| H A D | evm_main.c | 147 static int evm_find_protected_xattrs(struct dentry *dentry) in evm_find_protected_xattrs() argument 149 struct inode *inode = d_backing_inode(dentry); in evm_find_protected_xattrs() 158 error = __vfs_getxattr(dentry, inode, xattr->name, NULL, 0); in evm_find_protected_xattrs() 170 static int is_unsupported_hmac_fs(struct dentry *dentry) in is_unsupported_hmac_fs() argument 172 struct inode *inode = d_backing_inode(dentry); in is_unsupported_hmac_fs() 184 * Compute the HMAC on the dentry's protected set of extended attributes 194 static enum integrity_status evm_verify_hmac(struct dentry *dentry, in evm_verify_hmac() argument 374 evm_read_protected_xattrs(struct dentry * dentry,u8 * buffer,int buffer_size,char type,bool canonical_fmt) evm_read_protected_xattrs() argument 444 evm_verifyxattr(struct dentry * dentry,const char * xattr_name,void * xattr_value,size_t xattr_value_len) evm_verifyxattr() argument 463 evm_verify_current_integrity(struct dentry * dentry) evm_verify_current_integrity() argument 485 evm_xattr_change(const struct mnt_idmap * idmap,struct dentry * dentry,const char * xattr_name,const void * xattr_value,size_t xattr_value_len) evm_xattr_change() argument 521 evm_protect_xattr(const struct mnt_idmap * idmap,struct dentry * dentry,const char * xattr_name,const void * xattr_value,size_t xattr_value_len) evm_protect_xattr() argument 610 evm_inode_setxattr(const struct mnt_idmap * idmap,struct dentry * dentry,const char * xattr_name,const void * xattr_value,size_t xattr_value_len,int flags) evm_inode_setxattr() argument 642 evm_inode_removexattr(const struct mnt_idmap * idmap,struct dentry * dentry,const char * xattr_name) evm_inode_removexattr() argument 656 evm_inode_set_acl_change(const struct mnt_idmap * idmap,struct dentry * dentry,const char * name,struct posix_acl * kacl) evm_inode_set_acl_change() argument 675 evm_inode_set_acl_change(const struct mnt_idmap * idmap,struct dentry * dentry,const char * name,struct posix_acl * kacl) evm_inode_set_acl_change() argument 696 evm_inode_set_acl(const struct mnt_idmap * idmap,struct dentry * dentry,const char * acl_name,struct posix_acl * kacl) evm_inode_set_acl() argument 748 evm_inode_remove_acl(const struct mnt_idmap * idmap,struct dentry * dentry,const char * acl_name) evm_inode_remove_acl() argument 825 evm_fix_hmac(struct dentry * dentry,const char * xattr_name,const char * xattr_value,size_t xattr_value_len) evm_fix_hmac() argument 855 evm_inode_post_setxattr(struct dentry * dentry,const char * xattr_name,const void * xattr_value,size_t xattr_value_len,int flags) evm_inode_post_setxattr() argument 887 evm_inode_post_set_acl(struct dentry * dentry,const char * acl_name,struct posix_acl * kacl) evm_inode_post_set_acl() argument 903 evm_inode_post_removexattr(struct dentry * dentry,const char * xattr_name) evm_inode_post_removexattr() argument 930 evm_inode_post_remove_acl(const struct mnt_idmap * idmap,struct dentry * dentry,const char * acl_name) evm_inode_post_remove_acl() argument 937 evm_attr_change(const struct mnt_idmap * idmap,struct dentry * dentry,struct iattr * attr) evm_attr_change() argument 959 evm_inode_setattr(const struct mnt_idmap * idmap,struct dentry * dentry,struct iattr * attr) evm_inode_setattr() argument 1012 evm_inode_post_setattr(const struct mnt_idmap * idmap,struct dentry * dentry,int ia_valid) evm_inode_post_setattr() argument 1143 evm_post_path_mknod(const struct mnt_idmap * idmap,struct dentry * dentry) evm_post_path_mknod() argument [all...] |
| /linux/fs/configfs/ |
| H A D | dir.c | 45 static void configfs_d_iput(struct dentry * dentry, in configfs_d_iput() argument 48 struct configfs_dirent *sd = dentry->d_fsdata; in configfs_d_iput() 54 * Set sd->s_dentry to null only when this dentry is the one in configfs_d_iput() 59 if (sd->s_dentry == dentry) in configfs_d_iput() 232 static int configfs_dirent_exists(struct dentry *dentry) in configfs_dirent_exists() argument 234 struct configfs_dirent *parent_sd = dentry->d_parent->d_fsdata; in configfs_dirent_exists() 235 const unsigned char *new = dentry->d_name.name; in configfs_dirent_exists() 254 struct dentry * dentr in configfs_make_dirent() argument 271 configfs_remove_dirent(struct dentry * dentry) configfs_remove_dirent() argument 293 configfs_create_dir(struct config_item * item,struct dentry * dentry,struct configfs_fragment * frag) configfs_create_dir() argument 370 configfs_create_link(struct configfs_dirent * target,struct dentry * parent,struct dentry * dentry,char * body) configfs_create_link() argument 436 configfs_lookup(struct inode * dir,struct dentry * dentry,unsigned int flags) configfs_lookup() argument 585 detach_attrs(struct dentry * dentry) detach_attrs() argument 673 detach_groups(struct dentry * dentry) detach_groups() argument 845 configfs_detach_item(struct dentry * dentry) configfs_detach_item() argument 867 configfs_attach_item(struct config_item * item,struct dentry * dentry,struct configfs_fragment * frag) configfs_attach_item() argument 894 configfs_detach_group(struct dentry * dentry) configfs_detach_group() argument 901 configfs_attach_group(struct config_item * item,struct dentry * dentry,struct configfs_fragment * frag) configfs_attach_group() argument 1299 configfs_mkdir(const struct mnt_idmap * idmap,struct inode * dir,struct dentry * dentry,umode_t mode) configfs_mkdir() argument 1478 configfs_rmdir(struct inode * dir,struct dentry * dentry) configfs_rmdir() argument 1604 struct dentry * dentry = file->f_path.dentry; configfs_dir_open() local 1625 struct dentry * dentry = file->f_path.dentry; configfs_dir_close() local 1641 struct dentry *dentry = file->f_path.dentry; configfs_readdir() local 1703 struct dentry * dentry = file->f_path.dentry; configfs_dir_lseek() local 1808 struct dentry *dentry = dget(group->cg_item.ci_dentry); configfs_unregister_group() local 1885 struct dentry *dentry; configfs_register_subsystem() local 1946 struct dentry *dentry = dget(group->cg_item.ci_dentry); configfs_unregister_subsystem() local [all...] |
| /linux/fs/tracefs/ |
| H A D | inode.c | 97 static struct dentry *tracefs_syscall_mkdir(const struct mnt_idmap *idmap, in tracefs_syscall_mkdir() 98 struct inode *inode, struct dentry *dentry, in tracefs_syscall_mkdir() argument 119 take_dentry_name_snapshot(&name, dentry); in tracefs_syscall_mkdir() 128 static int tracefs_syscall_rmdir(struct inode *inode, struct dentry *dentry) in tracefs_syscall_rmdir() argument 140 take_dentry_name_snapshot(&name, dentry); in tracefs_syscall_rmdir() 142 inode_unlock(d_inode(dentry)); in tracefs_syscall_rmdir() 147 inode_lock(d_inode(dentry)); in tracefs_syscall_rmdir() 203 struct inode *inode = d_backing_inode(path->dentry); in tracefs_getattr() 210 static int tracefs_setattr(const struct mnt_idmap *idmap, struct dentry *dentry, in tracefs_setattr() argument 214 struct inode *inode = d_inode(dentry); in tracefs_setattr() [all …]
|
| /linux/fs/nfs/ |
| H A D | dir.c | 58 static int nfs_do_create(struct inode *dir, struct dentry *dentry, 588 .dentry = file_dentry(desc->file), in nfs_readdir_xdr_filler() 640 int nfs_same_file(struct dentry *dentry, struct nfs_entry *entry) in nfs_same_file() argument 645 if (d_really_is_negative(dentry)) in nfs_same_file() 648 inode = d_inode(dentry); in nfs_same_file() 725 void nfs_prime_dcache(struct dentry *parent, struct nfs_entry *entry, in nfs_prime_dcache() 729 struct dentry *dentry; in nfs_prime_dcache() local 1224 struct dentry *dentry = file_dentry(file); nfs_readdir() local 1429 nfs_verifier_is_delegated(struct dentry * dentry) nfs_verifier_is_delegated() argument 1434 nfs_set_verifier_locked(struct dentry * dentry,unsigned long verf) nfs_set_verifier_locked() argument 1457 nfs_set_verifier(struct dentry * dentry,unsigned long verf) nfs_set_verifier() argument 1485 struct dentry *dentry; nfs_clear_verifier_directory() local 1534 nfs_dentry_verify_change(struct inode * dir,struct dentry * dentry) nfs_dentry_verify_change() argument 1548 nfs_check_verifier(struct inode * dir,struct dentry * dentry,int rcu_walk) nfs_check_verifier() argument 1654 nfs_neg_need_reval(struct inode * dir,struct dentry * dentry,unsigned int flags) nfs_neg_need_reval() argument 1668 nfs_lookup_revalidate_done(struct inode * dir,struct dentry * dentry,struct inode * inode,int error) nfs_lookup_revalidate_done() argument 1699 nfs_lookup_revalidate_negative(struct inode * dir,struct dentry * dentry,unsigned int flags) nfs_lookup_revalidate_negative() argument 1712 nfs_lookup_revalidate_delegated(struct inode * dir,struct dentry * dentry,struct inode * inode) nfs_lookup_revalidate_delegated() argument 1720 nfs_lookup_revalidate_dentry(struct inode * dir,const struct qstr * name,struct dentry * dentry,struct inode * inode,unsigned int flags) nfs_lookup_revalidate_dentry() argument 1780 nfs_do_lookup_revalidate(struct inode * dir,const struct qstr * name,struct dentry * dentry,unsigned int flags) nfs_do_lookup_revalidate() argument 1832 __nfs_lookup_revalidate(struct dentry * dentry,unsigned int flags) __nfs_lookup_revalidate() argument 1847 nfs_lookup_revalidate(struct inode * dir,const struct qstr * name,struct dentry * dentry,unsigned int flags) nfs_lookup_revalidate() argument 1854 block_revalidate(struct dentry * dentry) block_revalidate() argument 1870 unblock_revalidate(struct dentry * dentry) unblock_revalidate() argument 1884 nfs_weak_revalidate(struct dentry * dentry,unsigned int flags) nfs_weak_revalidate() argument 1915 nfs_dentry_delete(const struct dentry * dentry) nfs_dentry_delete() argument 1957 nfs_dentry_iput(struct dentry * dentry,struct inode * inode) nfs_dentry_iput() argument 1967 nfs_d_release(struct dentry * dentry) nfs_d_release() argument 1988 nfs_lookup(struct inode * dir,struct dentry * dentry,unsigned int flags) nfs_lookup() argument 2076 create_nfs_open_context(struct dentry * dentry,int open_flags,struct file * filp) create_nfs_open_context() argument 2088 nfs_finish_open(struct nfs_open_context * ctx,struct dentry * dentry,struct file * file,unsigned open_flags) nfs_finish_open() argument 2104 nfs_atomic_open(struct inode * dir,struct dentry * dentry,struct file * file,unsigned open_flags,umode_t mode) nfs_atomic_open() argument 2259 nfs4_lookup_revalidate(struct inode * dir,const struct qstr * name,struct dentry * dentry,unsigned int flags) nfs4_lookup_revalidate() argument 2310 nfs_atomic_open_v23(struct inode * dir,struct dentry * dentry,struct file * file,unsigned int open_flags,umode_t mode) nfs_atomic_open_v23() argument 2351 nfs_add_or_obtain(struct dentry * dentry,struct nfs_fh * fhandle,struct nfs_fattr * fattr) nfs_add_or_obtain() argument 2390 nfs_instantiate(struct dentry * dentry,struct nfs_fh * fhandle,struct nfs_fattr * fattr) nfs_instantiate() argument 2411 nfs_do_create(struct inode * dir,struct dentry * dentry,umode_t mode,int open_flags) nfs_do_create() argument 2441 nfs_create(const struct mnt_idmap * idmap,struct inode * dir,struct dentry * dentry,umode_t mode) nfs_create() argument 2452 nfs_mknod(const struct mnt_idmap * idmap,struct inode * dir,struct dentry * dentry,umode_t mode,dev_t rdev) nfs_mknod() argument 2479 nfs_mkdir(const struct mnt_idmap * idmap,struct inode * dir,struct dentry * dentry,umode_t mode) nfs_mkdir() argument 2497 nfs_dentry_handle_enoent(struct dentry * dentry) nfs_dentry_handle_enoent() argument 2504 nfs_dentry_remove_handle_error(struct inode * dir,struct dentry * dentry,int error) nfs_dentry_remove_handle_error() argument 2518 nfs_rmdir(struct inode * dir,struct dentry * dentry) nfs_rmdir() argument 2554 nfs_safe_remove(struct dentry * dentry) nfs_safe_remove() argument 2589 nfs_unlink(struct inode * dir,struct dentry * dentry) nfs_unlink() argument 2645 nfs_symlink(const struct mnt_idmap * idmap,struct inode * dir,struct dentry * dentry,const char * symname) nfs_symlink() argument 2707 nfs_link(struct dentry * old_dentry,struct inode * dir,struct dentry * dentry) nfs_link() argument 2781 struct dentry *dentry = NULL; nfs_rename() local [all...] |
| H A D | unlink.c | 49 struct inode *dir = d_inode(data->dentry->d_parent); in nfs_async_unlink_done() 66 struct dentry *dentry = data->dentry; in nfs_async_unlink_release() local 67 struct super_block *sb = dentry->d_sb; in nfs_async_unlink_release() 69 up_read_non_owner(&NFS_I(d_inode(dentry->d_parent))->rmdir_sem); in nfs_async_unlink_release() 70 d_lookup_acquire(dentry); in nfs_async_unlink_release() 71 d_lookup_done(dentry); in nfs_async_unlink_release() 73 dput(dentry); in nfs_async_unlink_release() 80 struct inode *dir = d_inode(data->dentry->d_parent); in nfs_unlink_prepare() 105 struct inode *dir = d_inode(data->dentry->d_parent); in nfs_do_call_unlink() 114 NFS_PROTO(dir)->unlink_setup(&msg, data->dentry, inode); in nfs_do_call_unlink() [all …]
|
| /linux/fs/affs/ |
| H A D | namei.c | 46 __affs_hash_dentry(const struct dentry *dentry, struct qstr *qstr, toupper_t fn, bool notruncate) in __affs_hash_dentry() argument 57 hash = init_name_hash(dentry); in __affs_hash_dentry() 67 affs_hash_dentry(const struct dentry *dentry, struct qstr *qstr) in affs_hash_dentry() argument 69 return __affs_hash_dentry(dentry, qstr, affs_toupper, in affs_hash_dentry() 70 affs_nofilenametruncate(dentry)); in affs_hash_dentry() 75 affs_intl_hash_dentry(const struct dentry *dentry, struct qstr *qstr) in affs_intl_hash_dentry() argument 77 return __affs_hash_dentry(dentry, qstr, affs_intl_toupper, in affs_intl_hash_dentry() 78 affs_nofilenametruncate(dentry)); in affs_intl_hash_dentry() 116 affs_compare_dentry(const struct dentry *dentry, in affs_compare_dentry() argument 121 affs_nofilenametruncate(dentry)); in affs_compare_dentry() [all …]
|
| /linux/Documentation/translations/zh_CN/filesystems/ |
| H A D | debugfs.rst | 41 struct dentry *debugfs_create_dir(const char *name, struct dentry *parent); 44 则会在debugfs根目录中创建。创建目录成功时,返回值是一个指向dentry结构体的指针。 45 该dentry结构体的指针可用于在目录中创建文件(以及最后将其清理干净)。ERR_PTR 51 struct dentry *debugfs_create_file(const char *name, umode_t mode, 52 struct dentry *parent, void *data, 59 的dentry指针,错误时返回ERR_PTR(-ERROR),系统不支持debugfs时返回值为ERR_PTR 62 struct dentry *debugfs_create_file_size(const char *name, umode_t mode, 63 struct dentry *parent, void *data, 73 struct dentry *parent, u8 *value); 75 struct dentry *parent, u16 *value); [all …]
|
| /linux/Documentation/translations/zh_TW/filesystems/ |
| H A D | debugfs.rst | 42 struct dentry *debugfs_create_dir(const char *name, struct dentry *parent); 45 則會在debugfs根目錄中創建。創建目錄成功時,返回值是一個指向dentry結構體的指針。 46 該dentry結構體的指針可用於在目錄中創建文件(以及最後將其清理乾淨)。ERR_PTR 52 struct dentry *debugfs_create_file(const char *name, umode_t mode, 53 struct dentry *parent, void *data, 60 的dentry指針,錯誤時返回ERR_PTR(-ERROR),系統不支持debugfs時返回值爲ERR_PTR 63 struct dentry *debugfs_create_file_size(const char *name, umode_t mode, 64 struct dentry *parent, void *data, 74 struct dentry *parent, u8 *value); 76 struct dentry *parent, u16 *value); [all …]
|
| /linux/drivers/android/binder/ |
| H A D | rust_binderfs.c | 116 * and attach a dentry to that inode. 125 struct dentry *dentry, *root; in binderfs_binder_device_create() 187 dentry = simple_start_creating(root, req->name); in binderfs_binder_device_create() 188 if (IS_ERR(dentry)) { in binderfs_binder_device_create() 189 ret = PTR_ERR(dentry); in binderfs_binder_device_create() 194 d_make_persistent(dentry, inode); in binderfs_binder_device_create() 196 fsnotify_create(root->d_inode, dentry); in binderfs_binder_device_create() 197 simple_done_creating(dentry); in binderfs_binder_device_create() 313 static int binderfs_show_options(struct seq_file *seq, struct dentry *roo in binderfs_show_options() 124 struct dentry *dentry, *root; binderfs_binder_device_create() local 336 is_binderfs_control_device(const struct dentry * dentry) is_binderfs_control_device() argument 356 binderfs_unlink(struct inode * dir,struct dentry * dentry) binderfs_unlink() argument 384 struct dentry *dentry; binderfs_binder_ctl_create() local 464 rust_binderfs_remove_file(struct dentry * dentry) rust_binderfs_remove_file() argument 473 struct dentry *dentry; rust_binderfs_create_file() local 511 struct dentry *dentry; binderfs_create_dir() local 547 struct dentry *dentry, *dir; init_binder_features() local 582 struct dentry *binder_logs_root_dir, *dentry, *proc_log_dir; init_binder_logs() local [all...] |