/linux-2.6.39/include/linux/ |
D | dcache.h | 116 struct dentry { struct 119 seqcount_t d_seq; /* per dentry seqlock */ argument 121 struct dentry *d_parent; /* parent directory */ argument 129 spinlock_t d_lock; /* per dentry lock */ argument 130 const struct dentry_operations *d_op; argument 131 struct super_block *d_sb; /* The root of the dentry tree */ argument 148 * dentry->d_lock spinlock nesting subclasses: argument 224 static inline int dname_external(struct dentry *dentry) in dname_external() 322 static inline int __d_rcu_to_refcount(struct dentry *dentry, unsigned seq) in __d_rcu_to_refcount() 359 static inline struct dentry *dget_dlock(struct dentry *dentry) in dget_dlock() [all …]
|
/linux-2.6.39/fs/ |
D | dcache.c | 139 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free() local 150 static void d_free(struct dentry *dentry) in d_free() 171 static inline void dentry_rcuwalk_barrier(struct dentry *dentry) in dentry_rcuwalk_barrier() 183 static void dentry_iput(struct dentry * dentry) in dentry_iput() 208 static void dentry_unlink_inode(struct dentry * dentry) in dentry_unlink_inode() 229 static void dentry_lru_add(struct dentry *dentry) in dentry_lru_add() 240 static void __dentry_lru_del(struct dentry *dentry) in __dentry_lru_del() 247 static void dentry_lru_del(struct dentry *dentry) in dentry_lru_del() 256 static void dentry_lru_move_tail(struct dentry *dentry) in dentry_lru_move_tail() 281 static struct dentry *d_kill(struct dentry *dentry, struct dentry *parent) in d_kill() [all …]
|
D | bad_inode.c | 174 static int bad_inode_create (struct inode *dir, struct dentry *dentry, in bad_inode_create() 181 struct dentry *dentry, struct nameidata *nd) in bad_inode_lookup() 187 struct dentry *dentry) in bad_inode_link() 192 static int bad_inode_unlink(struct inode *dir, struct dentry *dentry) in bad_inode_unlink() 197 static int bad_inode_symlink (struct inode *dir, struct dentry *dentry, in bad_inode_symlink() 203 static int bad_inode_mkdir(struct inode *dir, struct dentry *dentry, in bad_inode_mkdir() 209 static int bad_inode_rmdir (struct inode *dir, struct dentry *dentry) in bad_inode_rmdir() 214 static int bad_inode_mknod (struct inode *dir, struct dentry *dentry, in bad_inode_mknod() 226 static int bad_inode_readlink(struct dentry *dentry, char __user *buffer, in bad_inode_readlink() 240 static int bad_inode_getattr(struct vfsmount *mnt, struct dentry *dentry, in bad_inode_getattr() [all …]
|
/linux-2.6.39/fs/autofs4/ |
D | autofs_i.h | 71 struct dentry *dentry; member 141 static inline struct autofs_info *autofs4_dentry_ino(struct dentry *dentry) in autofs4_dentry_ino() 155 static inline int autofs4_ispending(struct dentry *dentry) in autofs4_ispending() 203 static inline void __managed_dentry_set_automount(struct dentry *dentry) in __managed_dentry_set_automount() 208 static inline void managed_dentry_set_automount(struct dentry *dentry) in managed_dentry_set_automount() 215 static inline void __managed_dentry_clear_automount(struct dentry *dentry) in __managed_dentry_clear_automount() 220 static inline void managed_dentry_clear_automount(struct dentry *dentry) in managed_dentry_clear_automount() 227 static inline void __managed_dentry_set_transit(struct dentry *dentry) in __managed_dentry_set_transit() 232 static inline void managed_dentry_set_transit(struct dentry *dentry) in managed_dentry_set_transit() 239 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 430 int autofs4_d_manage(struct dentry *dentry, bool rcu_walk) in autofs4_d_manage() [all …]
|
/linux-2.6.39/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, int mode, dev_t rdev) in sysv_mknod() 83 static int sysv_create(struct inode * dir, struct dentry * dentry, int mode, struct nameidata *nd) in sysv_create() 88 static int sysv_symlink(struct inode * dir, struct dentry * dentry, in sysv_symlink() 120 struct dentry * dentry) in sysv_link() 134 static int sysv_mkdir(struct inode * dir, struct dentry *dentry, int mode) in sysv_mkdir() 173 static int sysv_unlink(struct inode * dir, struct dentry * dentry) in sysv_unlink() 194 static int sysv_rmdir(struct inode * dir, struct dentry * dentry) in sysv_rmdir()
|
/linux-2.6.39/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-2.6.39/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() 79 static int ufs_create (struct inode * dir, struct dentry * dentry, int mode, in ufs_create() 103 static int ufs_mknod (struct inode * dir, struct dentry *dentry, int mode, dev_t rdev) in ufs_mknod() 124 static int ufs_symlink (struct inode * dir, struct dentry * dentry, in ufs_symlink() 169 struct dentry *dentry) in ufs_link() 189 static int ufs_mkdir(struct inode * dir, struct dentry * dentry, int mode) in ufs_mkdir() 234 static int ufs_unlink(struct inode *dir, struct dentry *dentry) in ufs_unlink() 256 static int ufs_rmdir (struct inode * dir, struct dentry *dentry) in ufs_rmdir()
|
/linux-2.6.39/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, int mode, dev_t rdev) in minix_mknod() 57 static int minix_create(struct inode * dir, struct dentry *dentry, int 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() 106 static int minix_mkdir(struct inode * dir, struct dentry *dentry, int mode) in minix_mkdir() 145 static int minix_unlink(struct inode * dir, struct dentry *dentry) in minix_unlink() 166 static int minix_rmdir(struct inode * dir, struct dentry *dentry) in minix_rmdir()
|
/linux-2.6.39/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() 67 static int exofs_create(struct inode *dir, struct dentry *dentry, int mode, in exofs_create() 82 static int exofs_mknod(struct inode *dir, struct dentry *dentry, int mode, in exofs_mknod() 101 static int exofs_symlink(struct inode *dir, struct dentry *dentry, in exofs_symlink() 147 struct dentry *dentry) in exofs_link() 161 static int exofs_mkdir(struct inode *dir, struct dentry *dentry, int mode) in exofs_mkdir() 203 static int exofs_unlink(struct inode *dir, struct dentry *dentry) in exofs_unlink() 225 static int exofs_rmdir(struct inode *dir, struct dentry *dentry) in exofs_rmdir()
|
/linux-2.6.39/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() 101 static int ext2_create (struct inode * dir, struct dentry * dentry, int mode, struct nameidata *nd) in ext2_create() 126 static int ext2_mknod (struct inode * dir, struct dentry *dentry, int mode, dev_t rdev) in ext2_mknod() 149 static int ext2_symlink (struct inode * dir, struct dentry * dentry, in ext2_symlink() 197 struct dentry *dentry) in ext2_link() 221 static int ext2_mkdir(struct inode * dir, struct dentry * dentry, int mode) in ext2_mkdir() 270 static int ext2_unlink(struct inode * dir, struct dentry *dentry) in ext2_unlink() 294 static int ext2_rmdir (struct inode * dir, struct dentry *dentry) in ext2_rmdir()
|
/linux-2.6.39/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, int mode, struct nameidata *nd) in affs_create() 288 affs_mkdir(struct inode *dir, struct dentry *dentry, int mode) in affs_mkdir() [all …]
|
/linux-2.6.39/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, int 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() 186 struct dentry *dentry; in fill_with_dentries() local 223 int (*action)(struct dentry *, void *), in reiserfs_for_each_xattr() 260 struct dentry *dentry = buf.dentries[i]; in reiserfs_for_each_xattr() local 309 static int delete_one_xattr(struct dentry *dentry, void *data) in delete_one_xattr() 320 static int chown_one_xattr(struct dentry *dentry, void *data) in chown_one_xattr() 436 struct dentry *dentry, *xadir; in lookup_and_delete_xattr() local [all …]
|
/linux-2.6.39/fs/xfs/linux-2.6/ |
D | xfs_iops.c | 132 struct dentry *dentry) in xfs_dentry_to_name() 142 struct dentry *dentry) in xfs_cleanup_inode() 160 struct dentry *dentry, in xfs_vn_mknod() 223 struct dentry *dentry, in xfs_vn_create() 233 struct dentry *dentry, in xfs_vn_mkdir() 242 struct dentry *dentry, in xfs_vn_lookup() 267 struct dentry *dentry, in xfs_vn_ci_lookup() 308 struct dentry *dentry) in xfs_vn_link() 328 struct dentry *dentry) in xfs_vn_unlink() 352 struct dentry *dentry, in xfs_vn_symlink() [all …]
|
/linux-2.6.39/net/sunrpc/ |
D | rpc_pipe.c | 441 static int rpc_delete_dentry(const struct dentry *dentry) in rpc_delete_dentry() 470 static int __rpc_create_common(struct inode *dir, struct dentry *dentry, in __rpc_create_common() 495 static int __rpc_create(struct inode *dir, struct dentry *dentry, in __rpc_create() 509 static int __rpc_mkdir(struct inode *dir, struct dentry *dentry, in __rpc_mkdir() 524 static int __rpc_mkpipe(struct inode *dir, struct dentry *dentry, in __rpc_mkpipe() 546 static int __rpc_rmdir(struct inode *dir, struct dentry *dentry) in __rpc_rmdir() 557 static int __rpc_unlink(struct inode *dir, struct dentry *dentry) in __rpc_unlink() 568 static int __rpc_rmpipe(struct inode *dir, struct dentry *dentry) in __rpc_rmpipe() 583 struct dentry *dentry; in __rpc_lookup_create() local 602 struct dentry *dentry; in __rpc_lookup_create_exclusive() local [all …]
|
/linux-2.6.39/fs/debugfs/ |
D | inode.c | 71 static int debugfs_mknod(struct inode *dir, struct dentry *dentry, in debugfs_mknod() 90 static int debugfs_mkdir(struct inode *dir, struct dentry *dentry, int mode, in debugfs_mkdir() 104 static int debugfs_link(struct inode *dir, struct dentry *dentry, int mode, in debugfs_link() 111 static int debugfs_create(struct inode *dir, struct dentry *dentry, int mode, in debugfs_create() 123 static inline int debugfs_positive(struct dentry *dentry) in debugfs_positive() 151 struct dentry **dentry, in debugfs_create_by_name() 221 struct dentry *dentry = NULL; in debugfs_create_file() local 310 static int __debugfs_remove(struct dentry *dentry, struct dentry *parent) in __debugfs_remove() 349 void debugfs_remove(struct dentry *dentry) in debugfs_remove() 381 void debugfs_remove_recursive(struct dentry *dentry) in debugfs_remove_recursive() [all …]
|
/linux-2.6.39/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-2.6.39/fs/ceph/ |
D | dir.c | 36 int ceph_init_dentry(struct dentry *dentry) in ceph_init_dentry() 104 struct dentry *dentry, *last; in __dcache_readdir() local 495 struct dentry *dentry, int err) in ceph_finish_lookup() 536 static int is_root_ceph_dentry(struct inode *inode, struct dentry *dentry) in is_root_ceph_dentry() 546 static struct dentry *ceph_lookup(struct inode *dir, struct dentry *dentry, in ceph_lookup() 617 int ceph_handle_notrace_create(struct inode *dir, struct dentry *dentry) in ceph_handle_notrace_create() 636 static int ceph_mknod(struct inode *dir, struct dentry *dentry, in ceph_mknod() 670 static int ceph_create(struct inode *dir, struct dentry *dentry, int mode, in ceph_create() 692 static int ceph_symlink(struct inode *dir, struct dentry *dentry, in ceph_symlink() 724 static int ceph_mkdir(struct inode *dir, struct dentry *dentry, int mode) in ceph_mkdir() [all …]
|
/linux-2.6.39/fs/ecryptfs/ |
D | inode.c | 39 static struct dentry *lock_parent(struct dentry *dentry) in lock_parent() 67 struct dentry *dentry, int mode, in ecryptfs_create_underlying_file() 429 static int ecryptfs_unlink(struct inode *dir, struct dentry *dentry) in ecryptfs_unlink() 454 static int ecryptfs_symlink(struct inode *dir, struct dentry *dentry, in ecryptfs_symlink() 494 static int ecryptfs_mkdir(struct inode *dir, struct dentry *dentry, int mode) in ecryptfs_mkdir() 518 static int ecryptfs_rmdir(struct inode *dir, struct dentry *dentry) in ecryptfs_rmdir() 540 ecryptfs_mknod(struct inode *dir, struct dentry *dentry, int mode, dev_t dev) in ecryptfs_mknod() 607 static int ecryptfs_readlink_lower(struct dentry *dentry, char **buf, in ecryptfs_readlink_lower() 638 ecryptfs_readlink(struct dentry *dentry, char __user *buf, int bufsiz) in ecryptfs_readlink() 656 static void *ecryptfs_follow_link(struct dentry *dentry, struct nameidata *nd) in ecryptfs_follow_link() [all …]
|
/linux-2.6.39/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-2.6.39/fs/nfsd/ |
D | nfsfh.c | 26 static int nfsd_acceptable(void *expv, struct dentry *dentry) in nfsd_acceptable() 105 struct dentry *dentry, struct svc_export *exp) in check_pseudo_root() 144 struct dentry *dentry; in nfsd_set_fh_dentry() local 302 struct dentry *dentry; in fh_verify() local 388 struct dentry *dentry) in _fh_update() 407 static inline void _fh_update_old(struct dentry *dentry, in _fh_update_old() 508 fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, in fh_compose() 594 struct dentry *dentry; in fh_update() local 630 struct dentry * dentry = fhp->fh_dentry; in fh_put() local
|
/linux-2.6.39/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() 92 static int nilfs_create(struct inode *dir, struct dentry *dentry, int mode, in nilfs_create() 120 nilfs_mknod(struct inode *dir, struct dentry *dentry, int mode, dev_t rdev) in nilfs_mknod() 147 static int nilfs_symlink(struct inode *dir, struct dentry *dentry, in nilfs_symlink() 195 struct dentry *dentry) in nilfs_link() 221 static int nilfs_mkdir(struct inode *dir, struct dentry *dentry, int mode) in nilfs_mkdir() 276 static int nilfs_do_unlink(struct inode *dir, struct dentry *dentry) in nilfs_do_unlink() 310 static int nilfs_unlink(struct inode *dir, struct dentry *dentry) in nilfs_unlink() 331 static int nilfs_rmdir(struct inode *dir, struct dentry *dentry) in nilfs_rmdir() [all …]
|
/linux-2.6.39/fs/configfs/ |
D | dir.c | 53 static void configfs_d_iput(struct dentry * dentry, in configfs_d_iput() 73 static int configfs_d_delete(const struct dentry *dentry) in configfs_d_delete() 227 struct dentry * dentry, void * element, in configfs_make_dirent() 305 static int configfs_create_dir(struct config_item * item, struct dentry *dentry) in configfs_create_dir() 365 struct dentry *dentry) in configfs_create_link() 418 struct dentry * dentry = dget(item->ci_dentry); in configfs_remove_dir() local 434 static int configfs_attach_attr(struct configfs_dirent * sd, struct dentry * dentry) in configfs_attach_attr() 454 struct dentry *dentry, in configfs_lookup() 510 static int configfs_detach_prep(struct dentry *dentry, struct mutex **wait_mutex) in configfs_detach_prep() 557 static void configfs_detach_rollback(struct dentry *dentry) in configfs_detach_rollback() [all …]
|
/linux-2.6.39/fs/ncpfs/ |
D | dir.c | 124 ncp_hash_dentry(const struct dentry *dentry, const struct inode *inode, in ncp_hash_dentry() 145 const struct dentry *dentry, const struct inode *inode, in ncp_compare_dentry() 163 ncp_delete_dentry(const struct dentry * dentry) in ncp_delete_dentry() 199 ncp_force_unlink(struct inode *dir, struct dentry* dentry) in ncp_force_unlink() 293 ncp_lookup_validate(struct dentry *dentry, struct nameidata *nd) in ncp_lookup_validate() 373 ncp_dget_fpos(struct dentry *dentry, struct dentry *parent, unsigned long fpos) in ncp_dget_fpos() 412 static time_t ncp_obtain_mtime(struct dentry *dentry) in ncp_obtain_mtime() 429 struct dentry *dentry = filp->f_path.dentry; in ncp_readdir() local 580 struct dentry *newdent, *dentry = filp->f_path.dentry; in ncp_fill_cache() local 693 struct dentry *dentry = filp->f_path.dentry; in ncp_read_volume_list() local [all …]
|