Searched refs:child (Results 1 - 25 of 66) sorted by relevance

123

/fs/ceph/
H A Dexport.c125 struct dentry *child, u64 ino)
138 if (child) {
139 req->r_inode = child->d_inode;
140 ihold(child->d_inode);
167 child ? ceph_ino(child->d_inode) : ino,
172 static struct dentry *ceph_get_parent(struct dentry *child) argument
175 if (ceph_snap(child->d_inode) != CEPH_NOSNAP)
179 child, ceph_vinop(child
124 __get_parent(struct super_block *sb, struct dentry *child, u64 ino) argument
205 ceph_get_name(struct dentry *parent, char *name, struct dentry *child) argument
[all...]
H A Dsnap.c35 * maintains a hierarchy of realms reflecting the current parent/child
245 * adjust the parent realm of a given @realm. adjust child list, and parent
392 struct ceph_snap_realm *child; local
397 list_for_each_entry(child, &realm->children, child_item)
398 rebuild_snap_realms(child);
582 struct ceph_snap_realm *child; local
603 list_for_each_entry(child, &realm->children, child_item) {
604 dout("queue_realm_cap_snaps %p %llx queue child %p %llx\n",
605 realm, realm->ino, child, child
895 struct ceph_snap_realm *child = local
[all...]
/fs/ocfs2/
H A Dnamei.h31 struct dentry *ocfs2_get_parent(struct dentry *child);
H A Dexport.c145 static struct dentry *ocfs2_get_parent(struct dentry *child) argument
150 struct inode *dir = child->d_inode;
152 trace_ocfs2_get_parent(child, child->d_name.len, child->d_name.name,
/fs/
H A Dpnode.c207 struct mount *child; local
242 child = copy_tree(last_source, last_source->mnt.mnt_root, type);
243 if (IS_ERR(child))
244 return PTR_ERR(child);
245 mnt_set_mountpoint(m, mp, child);
247 last_source = child;
253 hlist_add_head(&child->mnt_hash, list);
338 struct mount *m, *child; local
355 child = __lookup_mnt_last(&m->mnt, mnt->mnt_mountpoint);
356 if (child
377 struct mount *child = __lookup_mnt_last(&m->mnt, local
[all...]
/fs/nfs/
H A Dnfs4sysctl.c43 .child = nfs4_cb_sysctls,
52 .child = nfs4_cb_sysctl_dir,
H A Dsysctl.c38 .child = nfs_cb_sysctls,
47 .child = nfs_cb_sysctl_dir,
/fs/openpromfs/
H A Dinode.c182 struct device_node *dp, *child; local
200 child = dp->child;
201 while (child) {
202 int n = strlen(child->path_component_name);
205 !strncmp(child->path_component_name, name, len)) {
207 ent_data.node = child;
208 ino = child->unique_id;
211 child = child
268 struct device_node *child; local
[all...]
/fs/ext3/
H A Dnamei.h8 extern struct dentry *ext3_get_parent(struct dentry *child);
/fs/coda/
H A Dsysctl.c46 .child = coda_table
/fs/ntfs/
H A Dsysctl.c53 .child = ntfs_sysctls
/fs/notify/
H A Dfsnotify.c48 * on a child we run all of our children and set a dentry flag saying that the
49 * parent cares. Thus when an event happens on a child it can quickly tell if
67 struct dentry *child; local
73 list_for_each_entry(child, &alias->d_subdirs, d_u.d_child) {
74 if (!child->d_inode)
77 spin_lock_nested(&child->d_lock, DENTRY_D_LOCK_NESTED);
79 child->d_flags |= DCACHE_FSNOTIFY_PARENT_WATCHED;
81 child->d_flags &= ~DCACHE_FSNOTIFY_PARENT_WATCHED;
82 spin_unlock(&child->d_lock);
89 /* Notify this dentry's parent about a child'
[all...]
/fs/efs/
H A Dnamei.c109 struct dentry *efs_get_parent(struct dentry *child) argument
114 ino = efs_find_entry(child->d_inode, "..", 2);
116 parent = d_obtain_alias(efs_iget(child->d_inode->i_sb, ino));
/fs/nfs/blocklayout/
H A Ddev.c135 struct pnfs_block_dev *child = &dev->children[i]; local
137 if (child->start > offset ||
138 child->start + child->len <= offset)
141 child->map(child, offset - child->start, map);
152 struct pnfs_block_dev *child; local
173 child = &dev->children[chunk_idx];
174 child
[all...]
/fs/debugfs/
H A Dinode.c537 struct dentry *child, *parent; local
552 * lock, the child can be unlinked and set to be freed which can
556 list_for_each_entry(child, &parent->d_subdirs, d_u.d_child) {
557 if (!debugfs_positive(child))
560 /* perhaps simple_empty(child) makes more sense */
561 if (!list_empty(&child->d_subdirs)) {
564 parent = child;
570 if (!__debugfs_remove(child, parent))
574 * The parent->d_lock protects agaist child from unlinking
585 child
[all...]
/fs/squashfs/
H A Dexport.c111 static struct dentry *squashfs_get_parent(struct dentry *child) argument
113 struct inode *inode = child->d_inode;
/fs/gfs2/
H A Dexport.c87 struct dentry *child)
90 struct inode *inode = child->d_inode;
127 static struct dentry *gfs2_get_parent(struct dentry *child) argument
129 return d_obtain_alias(gfs2_lookupi(child->d_inode, &gfs2_qdotdot, 1));
86 gfs2_get_name(struct dentry *parent, char *name, struct dentry *child) argument
/fs/proc/
H A Dproc_sysctl.c581 struct dentry *child, *dir = file->f_path.dentry; local
591 child = d_lookup(dir, &qname);
592 if (!child) {
593 child = d_alloc(dir, &qname);
594 if (child) {
597 dput(child);
600 d_set_d_op(child, &proc_sys_dentry_operations);
601 d_add(child, inode);
607 inode = child->d_inode;
610 dput(child);
[all...]
/fs/exportfs/
H A Dexpfs.c22 static int get_name(const struct path *path, char *name, struct dentry *child);
26 char *name, struct dentry *child)
32 return nop->get_name(dir, name, child);
34 return get_name(&path, name, child);
264 * @child: the dentry for the child directory.
267 * the same inode number as the child, and returns that.
269 static int get_name(const struct path *path, char *name, struct dentry *child) argument
278 .dentry = child,
520 * by the child dentr
25 exportfs_get_name(struct vfsmount *mnt, struct dentry *dir, char *name, struct dentry *child) argument
[all...]
/fs/configfs/
H A Ddir.c620 struct dentry *child; local
633 child = sd->s_dentry;
635 mutex_lock(&child->d_inode->i_mutex);
638 child->d_inode->i_flags |= S_DEAD;
639 dont_mount(child);
641 mutex_unlock(&child->d_inode->i_mutex);
643 d_delete(child);
644 dput(child);
667 struct dentry *child, *parent = parent_group->cg_item.ci_dentry; local
673 child
[all...]
/fs/isofs/
H A Dexport.c39 * that "child" is always a directory. So, to find its parent, you
43 static struct dentry *isofs_export_get_parent(struct dentry *child) argument
47 struct inode *child_inode = child->d_inode;
53 /* "child" must always be a directory. */
56 "child is not a directory!\n");
66 "child directory not normalized!\n");
71 /* The child inode has been normalized such that its
/fs/xfs/
H A Dxfs_export.c213 struct dentry *child)
218 error = xfs_lookup(XFS_I(child->d_inode), &xfs_name_dotdot, &cip, NULL);
212 xfs_fs_get_parent( struct dentry *child) argument
/fs/btrfs/
H A Dexport.c153 static struct dentry *btrfs_get_parent(struct dentry *child) argument
155 struct inode *dir = child->d_inode;
221 struct dentry *child)
223 struct inode *inode = child->d_inode;
220 btrfs_get_name(struct dentry *parent, char *name, struct dentry *child) argument
/fs/jffs2/
H A Dsuper.c136 static struct dentry *jffs2_get_parent(struct dentry *child) argument
141 BUG_ON(!S_ISDIR(child->d_inode->i_mode));
143 f = JFFS2_INODE_INFO(child->d_inode);
150 return d_obtain_alias(jffs2_iget(child->d_inode->i_sb, pino));
/fs/ubifs/
H A Dtnc_misc.c185 struct ubifs_znode *child; local
187 child = ubifs_tnc_find_child(znode, 0);
188 if (!child)
190 znode = child;
214 /* This is in fact the last child, return parent */

Completed in 3647 milliseconds

123