/linux-3.4.99/include/linux/ |
D | dcache.h | 88 struct dentry { struct 91 seqcount_t d_seq; /* per dentry seqlock */ argument 93 struct dentry *d_parent; /* parent directory */ argument 101 spinlock_t d_lock; /* per dentry lock */ argument 102 const struct dentry_operations *d_op; argument 103 struct super_block *d_sb; /* The root of the dentry tree */ argument 120 * dentry->d_lock spinlock nesting subclasses: argument 198 static inline int dname_external(struct dentry *dentry) in dname_external() 298 static inline int __d_rcu_to_refcount(struct dentry *dentry, unsigned seq) in __d_rcu_to_refcount() 336 static inline struct dentry *dget_dlock(struct dentry *dentry) in dget_dlock() [all …]
|
D | evm.h | 46 static inline enum integrity_status evm_verifyxattr(struct dentry *dentry, in evm_verifyxattr() 56 static inline int evm_inode_setattr(struct dentry *dentry, struct iattr *attr) in evm_inode_setattr() 61 static inline void evm_inode_post_setattr(struct dentry *dentry, int ia_valid) in evm_inode_post_setattr() 66 static inline int evm_inode_setxattr(struct dentry *dentry, const char *name, in evm_inode_setxattr() 72 static inline void evm_inode_post_setxattr(struct dentry *dentry, in evm_inode_post_setxattr() 80 static inline int evm_inode_removexattr(struct dentry *dentry, in evm_inode_removexattr() 86 static inline void evm_inode_post_removexattr(struct dentry *dentry, in evm_inode_post_removexattr()
|
/linux-3.4.99/fs/ |
D | dcache.c | 203 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free() local 214 static void d_free(struct dentry *dentry) in d_free() 235 static inline void dentry_rcuwalk_barrier(struct dentry *dentry) in dentry_rcuwalk_barrier() 247 static void dentry_iput(struct dentry * dentry) in dentry_iput() 272 static void dentry_unlink_inode(struct dentry * dentry) in dentry_unlink_inode() 293 static void dentry_lru_add(struct dentry *dentry) in dentry_lru_add() 304 static void __dentry_lru_del(struct dentry *dentry) in __dentry_lru_del() 315 static void dentry_lru_del(struct dentry *dentry) in dentry_lru_del() 329 static void dentry_lru_prune(struct dentry *dentry) in dentry_lru_prune() 341 static void dentry_lru_move_list(struct dentry *dentry, struct list_head *list) in dentry_lru_move_list() [all …]
|
D | bad_inode.c | 175 static int bad_inode_create (struct inode *dir, struct dentry *dentry, in bad_inode_create() 182 struct dentry *dentry, struct nameidata *nd) in bad_inode_lookup() 188 struct dentry *dentry) in bad_inode_link() 193 static int bad_inode_unlink(struct inode *dir, struct dentry *dentry) in bad_inode_unlink() 198 static int bad_inode_symlink (struct inode *dir, struct dentry *dentry, in bad_inode_symlink() 204 static int bad_inode_mkdir(struct inode *dir, struct dentry *dentry, in bad_inode_mkdir() 210 static int bad_inode_rmdir (struct inode *dir, struct dentry *dentry) in bad_inode_rmdir() 215 static int bad_inode_mknod (struct inode *dir, struct dentry *dentry, in bad_inode_mknod() 227 static int bad_inode_readlink(struct dentry *dentry, char __user *buffer, in bad_inode_readlink() 238 static int bad_inode_getattr(struct vfsmount *mnt, struct dentry *dentry, in bad_inode_getattr() [all …]
|
/linux-3.4.99/fs/autofs4/ |
D | autofs_i.h | 61 struct dentry *dentry; member 132 static inline struct autofs_info *autofs4_dentry_ino(struct dentry *dentry) in autofs4_dentry_ino() 146 static inline int autofs4_ispending(struct dentry *dentry) in autofs4_ispending() 194 static inline void __managed_dentry_set_automount(struct dentry *dentry) in __managed_dentry_set_automount() 199 static inline void managed_dentry_set_automount(struct dentry *dentry) in managed_dentry_set_automount() 206 static inline void __managed_dentry_clear_automount(struct dentry *dentry) in __managed_dentry_clear_automount() 211 static inline void managed_dentry_clear_automount(struct dentry *dentry) in managed_dentry_clear_automount() 218 static inline void __managed_dentry_set_transit(struct dentry *dentry) in __managed_dentry_set_transit() 223 static inline void managed_dentry_set_transit(struct dentry *dentry) in managed_dentry_set_transit() 230 static inline void __managed_dentry_clear_transit(struct dentry *dentry) in __managed_dentry_clear_transit() [all …]
|
D | root.c | 74 static void autofs4_add_active(struct dentry *dentry) in autofs4_add_active() 90 static void autofs4_del_active(struct dentry *dentry) in autofs4_del_active() 108 struct dentry *dentry = file->f_path.dentry; in autofs4_dir_open() local 162 static struct dentry *autofs4_lookup_active(struct dentry *dentry) in autofs4_lookup_active() 214 static struct dentry *autofs4_lookup_expiring(struct dentry *dentry) in autofs4_lookup_expiring() 266 static int autofs4_mount_wait(struct dentry *dentry) in autofs4_mount_wait() 282 static int do_expire_wait(struct dentry *dentry) in do_expire_wait() 304 struct dentry *dentry = path->dentry; in autofs4_mountpoint_changed() local 327 struct dentry *dentry = path->dentry; in autofs4_d_automount() local 432 int autofs4_d_manage(struct dentry *dentry, bool rcu_walk) in autofs4_d_manage() [all …]
|
/linux-3.4.99/fs/sysv/ |
D | namei.c | 18 static int add_nondir(struct dentry *dentry, struct inode *inode) in add_nondir() 30 static int sysv_hash(const struct dentry *dentry, const struct inode *inode, in sysv_hash() 46 static struct dentry *sysv_lookup(struct inode * dir, struct dentry * dentry, struct nameidata *nd) in sysv_lookup() 64 static int sysv_mknod(struct inode * dir, struct dentry * dentry, umode_t mode, dev_t rdev) in sysv_mknod() 83 static int sysv_create(struct inode * dir, struct dentry * dentry, umode_t mode, struct nameidata *… in sysv_create() 88 static int sysv_symlink(struct inode * dir, struct dentry * dentry, in sysv_symlink() 120 struct dentry * dentry) in sysv_link() 131 static int sysv_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode) in sysv_mkdir() 168 static int sysv_unlink(struct inode * dir, struct dentry * dentry) in sysv_unlink() 189 static int sysv_rmdir(struct inode * dir, struct dentry * dentry) in sysv_rmdir()
|
/linux-3.4.99/security/integrity/evm/ |
D | evm_main.c | 50 static int evm_find_protected_xattrs(struct dentry *dentry) in evm_find_protected_xattrs() 86 static enum integrity_status evm_verify_hmac(struct dentry *dentry, in evm_verify_hmac() 200 enum integrity_status evm_verifyxattr(struct dentry *dentry, in evm_verifyxattr() 225 static enum integrity_status evm_verify_current_integrity(struct dentry *dentry) in evm_verify_current_integrity() 246 static int evm_protect_xattr(struct dentry *dentry, const char *xattr_name, in evm_protect_xattr() 280 int evm_inode_setxattr(struct dentry *dentry, const char *xattr_name, in evm_inode_setxattr() 300 int evm_inode_removexattr(struct dentry *dentry, const char *xattr_name) in evm_inode_removexattr() 318 void evm_inode_post_setxattr(struct dentry *dentry, const char *xattr_name, in evm_inode_post_setxattr() 336 void evm_inode_post_removexattr(struct dentry *dentry, const char *xattr_name) in evm_inode_post_removexattr() 353 int evm_inode_setattr(struct dentry *dentry, struct iattr *attr) in evm_inode_setattr() [all …]
|
/linux-3.4.99/fs/9p/ |
D | fid.c | 44 int v9fs_fid_add(struct dentry *dentry, struct p9_fid *fid) in v9fs_fid_add() 77 static struct p9_fid *v9fs_fid_find(struct dentry *dentry, u32 uid, int any) in v9fs_fid_find() 106 struct dentry *dentry, char ***names) in build_path_from_dentry() 128 static struct p9_fid *v9fs_fid_lookup_with_uid(struct dentry *dentry, in v9fs_fid_lookup_with_uid() 234 struct p9_fid *v9fs_fid_lookup(struct dentry *dentry) in v9fs_fid_lookup() 263 struct p9_fid *v9fs_fid_clone(struct dentry *dentry) in v9fs_fid_clone() 275 static struct p9_fid *v9fs_fid_clone_with_uid(struct dentry *dentry, uid_t uid) in v9fs_fid_clone_with_uid() 287 struct p9_fid *v9fs_writeback_fid(struct dentry *dentry) in v9fs_writeback_fid()
|
D | vfs_dentry.c | 54 static int v9fs_dentry_delete(const struct dentry *dentry) in v9fs_dentry_delete() 67 static int v9fs_cached_dentry_delete(const struct dentry *dentry) in v9fs_cached_dentry_delete() 84 static void v9fs_dentry_release(struct dentry *dentry) in v9fs_dentry_release() 103 static int v9fs_lookup_revalidate(struct dentry *dentry, struct nameidata *nd) in v9fs_lookup_revalidate()
|
/linux-3.4.99/fs/minix/ |
D | namei.c | 9 static int add_nondir(struct dentry *dentry, struct inode *inode) in add_nondir() 21 static struct dentry *minix_lookup(struct inode * dir, struct dentry *dentry, struct nameidata *nd) in minix_lookup() 39 static int minix_mknod(struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in minix_mknod() 57 static int minix_create(struct inode *dir, struct dentry *dentry, umode_t mode, in minix_create() 63 static int minix_symlink(struct inode * dir, struct dentry *dentry, in minix_symlink() 93 struct dentry *dentry) in minix_link() 103 static int minix_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode) in minix_mkdir() 139 static int minix_unlink(struct inode * dir, struct dentry *dentry) in minix_unlink() 160 static int minix_rmdir(struct inode * dir, struct dentry *dentry) in minix_rmdir()
|
/linux-3.4.99/fs/ceph/ |
D | dir.c | 36 int ceph_init_dentry(struct dentry *dentry) in ceph_init_dentry() 74 struct inode *ceph_get_dentry_parent_inode(struct dentry *dentry) in ceph_get_dentry_parent_inode() 122 struct dentry *dentry, *last; in __dcache_readdir() local 511 struct dentry *dentry, int err) in ceph_handle_snapdir() 543 struct dentry *dentry, int err) in ceph_finish_lookup() 568 static int is_root_ceph_dentry(struct inode *inode, struct dentry *dentry) in is_root_ceph_dentry() 578 static struct dentry *ceph_lookup(struct inode *dir, struct dentry *dentry, in ceph_lookup() 649 int ceph_handle_notrace_create(struct inode *dir, struct dentry *dentry) in ceph_handle_notrace_create() 668 static int ceph_mknod(struct inode *dir, struct dentry *dentry, in ceph_mknod() 702 static int ceph_create(struct inode *dir, struct dentry *dentry, umode_t mode, in ceph_create() [all …]
|
/linux-3.4.99/fs/ufs/ |
D | namei.c | 37 static inline int ufs_add_nondir(struct dentry *dentry, struct inode *inode) in ufs_add_nondir() 49 static struct dentry *ufs_lookup(struct inode * dir, struct dentry *dentry, struct nameidata *nd) in ufs_lookup() 73 static int ufs_create (struct inode * dir, struct dentry * dentry, umode_t mode, in ufs_create() 97 static int ufs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) in ufs_mknod() 118 static int ufs_symlink (struct inode * dir, struct dentry * dentry, in ufs_symlink() 163 struct dentry *dentry) in ufs_link() 179 static int ufs_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ufs_mkdir() 221 static int ufs_unlink(struct inode *dir, struct dentry *dentry) in ufs_unlink() 243 static int ufs_rmdir (struct inode * dir, struct dentry *dentry) in ufs_rmdir()
|
/linux-3.4.99/fs/ext2/ |
D | namei.c | 40 static inline int ext2_add_nondir(struct dentry *dentry, struct inode *inode) in ext2_add_nondir() 58 static struct dentry *ext2_lookup(struct inode * dir, struct dentry *dentry, struct nameidata *nd) in ext2_lookup() 97 static int ext2_create (struct inode * dir, struct dentry * dentry, umode_t mode, struct nameidata … in ext2_create() 122 static int ext2_mknod (struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in ext2_mknod() 145 static int ext2_symlink (struct inode * dir, struct dentry * dentry, in ext2_symlink() 193 struct dentry *dentry) in ext2_link() 214 static int ext2_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ext2_mkdir() 260 static int ext2_unlink(struct inode * dir, struct dentry *dentry) in ext2_unlink() 284 static int ext2_rmdir (struct inode * dir, struct dentry *dentry) in ext2_rmdir()
|
/linux-3.4.99/fs/exofs/ |
D | namei.c | 36 static inline int exofs_add_nondir(struct dentry *dentry, struct inode *inode) in exofs_add_nondir() 48 static struct dentry *exofs_lookup(struct inode *dir, struct dentry *dentry, in exofs_lookup() 62 static int exofs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in exofs_create() 77 static int exofs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, in exofs_mknod() 96 static int exofs_symlink(struct inode *dir, struct dentry *dentry, in exofs_symlink() 142 struct dentry *dentry) in exofs_link() 153 static int exofs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in exofs_mkdir() 192 static int exofs_unlink(struct inode *dir, struct dentry *dentry) in exofs_unlink() 214 static int exofs_rmdir(struct inode *dir, struct dentry *dentry) in exofs_rmdir()
|
/linux-3.4.99/fs/affs/ |
D | namei.c | 89 affs_hash_dentry(const struct dentry *dentry, const struct inode *inode, in affs_hash_dentry() 95 affs_intl_hash_dentry(const struct dentry *dentry, const struct inode *inode, in affs_intl_hash_dentry() 135 const struct dentry *dentry, const struct inode *inode, in affs_compare_dentry() 142 const struct dentry *dentry, const struct inode *inode, in affs_intl_compare_dentry() 153 affs_match(struct dentry *dentry, const u8 *name2, toupper_t toupper) in affs_match() 185 affs_find_entry(struct inode *dir, struct dentry *dentry) in affs_find_entry() 214 affs_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd) in affs_lookup() 248 affs_unlink(struct inode *dir, struct dentry *dentry) in affs_unlink() 258 affs_create(struct inode *dir, struct dentry *dentry, umode_t mode, struct nameidata *nd) in affs_create() 288 affs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in affs_mkdir() [all …]
|
/linux-3.4.99/fs/reiserfs/ |
D | xattr.c | 62 static int xattr_create(struct inode *dir, struct dentry *dentry, int mode) in xattr_create() 69 static int xattr_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in xattr_mkdir() 79 static int xattr_unlink(struct inode *dir, struct dentry *dentry) in xattr_unlink() 94 static int xattr_rmdir(struct inode *dir, struct dentry *dentry) in xattr_rmdir() 184 struct dentry *dentry; in fill_with_dentries() local 221 int (*action)(struct dentry *, void *), in reiserfs_for_each_xattr() 258 struct dentry *dentry = buf.dentries[i]; in reiserfs_for_each_xattr() local 307 static int delete_one_xattr(struct dentry *dentry, void *data) in delete_one_xattr() 318 static int chown_one_xattr(struct dentry *dentry, void *data) in chown_one_xattr() 434 struct dentry *dentry, *xadir; in lookup_and_delete_xattr() local [all …]
|
/linux-3.4.99/fs/ecryptfs/ |
D | inode.c | 39 static struct dentry *lock_parent(struct dentry *dentry) in lock_parent() 135 struct dentry *dentry, struct super_block *sb) in ecryptfs_interpose() 146 static int ecryptfs_do_unlink(struct inode *dir, struct dentry *dentry, in ecryptfs_do_unlink() 308 static int ecryptfs_i_size_read(struct dentry *dentry, struct inode *inode) in ecryptfs_i_size_read() 342 static int ecryptfs_lookup_interpose(struct dentry *dentry, in ecryptfs_lookup_interpose() 507 static int ecryptfs_unlink(struct inode *dir, struct dentry *dentry) in ecryptfs_unlink() 512 static int ecryptfs_symlink(struct inode *dir, struct dentry *dentry, in ecryptfs_symlink() 552 static int ecryptfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in ecryptfs_mkdir() 576 static int ecryptfs_rmdir(struct inode *dir, struct dentry *dentry) in ecryptfs_rmdir() 600 ecryptfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in ecryptfs_mknod() [all …]
|
/linux-3.4.99/net/sunrpc/ |
D | rpc_pipe.c | 86 struct dentry *dentry; in rpc_timeout_upcall_queue() local 135 struct dentry *dentry; in rpc_queue_upcall() local 471 static int rpc_delete_dentry(const struct dentry *dentry) in rpc_delete_dentry() 500 static int __rpc_create_common(struct inode *dir, struct dentry *dentry, in __rpc_create_common() 525 static int __rpc_create(struct inode *dir, struct dentry *dentry, in __rpc_create() 539 static int __rpc_mkdir(struct inode *dir, struct dentry *dentry, in __rpc_mkdir() 590 static int __rpc_mkpipe_dentry(struct inode *dir, struct dentry *dentry, in __rpc_mkpipe_dentry() 609 static int __rpc_rmdir(struct inode *dir, struct dentry *dentry) in __rpc_rmdir() 620 int rpc_rmdir(struct dentry *dentry) in rpc_rmdir() 636 static int __rpc_unlink(struct inode *dir, struct dentry *dentry) in __rpc_unlink() [all …]
|
/linux-3.4.99/fs/cachefiles/ |
D | xattr.c | 31 struct dentry *dentry = object->dentry; in cachefiles_check_object_type() local 109 struct dentry *dentry = object->dentry; in cachefiles_set_object_xattr() local 138 struct dentry *dentry = object->dentry; in cachefiles_update_object_xattr() local 169 struct dentry *dentry = object->dentry; in cachefiles_check_object_xattr() local 275 struct dentry *dentry) in cachefiles_remove_object_xattr()
|
/linux-3.4.99/fs/ocfs2/ |
D | dcache.c | 43 void ocfs2_dentry_attach_gen(struct dentry *dentry) in ocfs2_dentry_attach_gen() 52 static int ocfs2_dentry_revalidate(struct dentry *dentry, in ocfs2_dentry_revalidate() 129 static int ocfs2_match_dentry(struct dentry *dentry, in ocfs2_match_dentry() 174 struct dentry *dentry = NULL; in ocfs2_find_local_alias() local 233 int ocfs2_dentry_attach_lock(struct dentry *dentry, in ocfs2_dentry_attach_lock() 455 static void ocfs2_dentry_iput(struct dentry *dentry, struct inode *inode) in ocfs2_dentry_iput() 507 void ocfs2_dentry_move(struct dentry *dentry, struct dentry *target, in ocfs2_dentry_move()
|
/linux-3.4.99/fs/nfsd/ |
D | nfsfh.c | 26 static int nfsd_acceptable(void *expv, struct dentry *dentry) in nfsd_acceptable() 102 struct dentry *dentry, struct svc_export *exp) in check_pseudo_root() 141 struct dentry *dentry; in nfsd_set_fh_dentry() local 299 struct dentry *dentry; in fh_verify() local 385 struct dentry *dentry) in _fh_update() 404 static inline void _fh_update_old(struct dentry *dentry, in _fh_update_old() 505 fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, in fh_compose() 591 struct dentry *dentry; in fh_update() local 627 struct dentry * dentry = fhp->fh_dentry; in fh_put() local
|
/linux-3.4.99/fs/nilfs2/ |
D | namei.c | 49 static inline int nilfs_add_nondir(struct dentry *dentry, struct inode *inode) in nilfs_add_nondir() 66 nilfs_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd) in nilfs_lookup() 87 static int nilfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in nilfs_create() 115 nilfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) in nilfs_mknod() 142 static int nilfs_symlink(struct inode *dir, struct dentry *dentry, in nilfs_symlink() 190 struct dentry *dentry) in nilfs_link() 213 static int nilfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in nilfs_mkdir() 265 static int nilfs_do_unlink(struct inode *dir, struct dentry *dentry) in nilfs_do_unlink() 299 static int nilfs_unlink(struct inode *dir, struct dentry *dentry) in nilfs_unlink() 320 static int nilfs_rmdir(struct inode *dir, struct dentry *dentry) in nilfs_rmdir() [all …]
|
/linux-3.4.99/fs/configfs/ |
D | dir.c | 53 static void configfs_d_iput(struct dentry * dentry, in configfs_d_iput() 82 static int configfs_d_delete(const struct dentry *dentry) in configfs_d_delete() 236 struct dentry * dentry, void * element, in configfs_make_dirent() 316 static int configfs_create_dir(struct config_item * item, struct dentry *dentry) in configfs_create_dir() 364 struct dentry *dentry) in configfs_create_link() 417 struct dentry * dentry = dget(item->ci_dentry); in configfs_remove_dir() local 433 static int configfs_attach_attr(struct configfs_dirent * sd, struct dentry * dentry) in configfs_attach_attr() 456 struct dentry *dentry, in configfs_lookup() 512 static int configfs_detach_prep(struct dentry *dentry, struct mutex **wait_mutex) in configfs_detach_prep() 559 static void configfs_detach_rollback(struct dentry *dentry) in configfs_detach_rollback() [all …]
|
/linux-3.4.99/fs/xfs/ |
D | xfs_iops.c | 92 struct dentry *dentry) in xfs_dentry_to_name() 102 struct dentry *dentry) in xfs_cleanup_inode() 120 struct dentry *dentry, in xfs_vn_mknod() 183 struct dentry *dentry, in xfs_vn_create() 193 struct dentry *dentry, in xfs_vn_mkdir() 202 struct dentry *dentry, in xfs_vn_lookup() 227 struct dentry *dentry, in xfs_vn_ci_lookup() 268 struct dentry *dentry) in xfs_vn_link() 288 struct dentry *dentry) in xfs_vn_unlink() 312 struct dentry *dentry, in xfs_vn_symlink() [all …]
|