/fs/ |
D | namei.c | 544 static int unlazy_walk(struct nameidata *nd, struct dentry *dentry) in unlazy_walk() argument 547 struct dentry *parent = nd->path.dentry; in unlazy_walk() 549 BUG_ON(!(nd->flags & LOOKUP_RCU)); in unlazy_walk() 559 if (!legitimize_mnt(nd->path.mnt, nd->m_seq)) in unlazy_walk() 561 nd->flags &= ~LOOKUP_RCU; in unlazy_walk() 564 nd->path.dentry = NULL; in unlazy_walk() 580 if (read_seqcount_retry(&parent->d_seq, nd->seq)) in unlazy_walk() 582 BUG_ON(nd->inode != parent->d_inode); in unlazy_walk() 586 if (read_seqcount_retry(&dentry->d_seq, nd->seq)) in unlazy_walk() 594 if (nd->root.mnt && !(nd->flags & LOOKUP_ROOT)) { in unlazy_walk() [all …]
|
/fs/dlm/ |
D | config.c | 87 static ssize_t node_nodeid_read(struct dlm_node *nd, char *buf); 88 static ssize_t node_nodeid_write(struct dlm_node *nd, const char *buf, 90 static ssize_t node_weight_read(struct dlm_node *nd, char *buf); 91 static ssize_t node_weight_write(struct dlm_node *nd, const char *buf, 625 struct dlm_node *nd; in make_node() local 627 nd = kzalloc(sizeof(struct dlm_node), GFP_NOFS); in make_node() 628 if (!nd) in make_node() 631 config_item_init_type_name(&nd->item, name, &node_type); in make_node() 632 nd->nodeid = -1; in make_node() 633 nd->weight = 1; /* default weight of 1 if none is set */ in make_node() [all …]
|
/fs/ext4/ |
D | symlink.c | 27 static void *ext4_follow_link(struct dentry *dentry, struct nameidata *nd) in ext4_follow_link() argument 39 return page_follow_link_light(dentry, nd); in ext4_follow_link() 82 nd_set_link(nd, paddr); in ext4_follow_link() 93 static void ext4_put_link(struct dentry *dentry, struct nameidata *nd, in ext4_put_link() argument 99 kfree(nd_get_link(nd)); in ext4_put_link() 107 static void *ext4_follow_fast_link(struct dentry *dentry, struct nameidata *nd) in ext4_follow_fast_link() argument 110 nd_set_link(nd, (char *) ei->i_data); in ext4_follow_fast_link()
|
/fs/hpfs/ |
D | dnode.c | 238 struct dnode *d, *ad, *rd, *nd = NULL; in hpfs_add_to_dnode() local 255 kfree(nd); in hpfs_add_to_dnode() 260 kfree(nd); in hpfs_add_to_dnode() 268 kfree(nd); in hpfs_add_to_dnode() 281 kfree(nd); in hpfs_add_to_dnode() 285 if (!nd) if (!(nd = kmalloc(0x924, GFP_NOFS))) { in hpfs_add_to_dnode() 296 memcpy(nd, d, le32_to_cpu(d->first_free)); in hpfs_add_to_dnode() 297 copy_de(de = hpfs_add_de(i->i_sb, nd, name, namelen, down_ptr), new_de); in hpfs_add_to_dnode() 298 for_all_poss(i, hpfs_pos_ins, get_pos(nd, de), 1); in hpfs_add_to_dnode() 299 h = ((char *)dnode_last_de(nd) - (char *)nd) / 2 + 10; in hpfs_add_to_dnode() [all …]
|
/fs/jffs2/ |
D | symlink.c | 19 static void *jffs2_follow_link(struct dentry *dentry, struct nameidata *nd); 32 static void *jffs2_follow_link(struct dentry *dentry, struct nameidata *nd) in jffs2_follow_link() argument 57 nd_set_link(nd, p); in jffs2_follow_link()
|
/fs/kernfs/ |
D | symlink.c | 115 static void *kernfs_iop_follow_link(struct dentry *dentry, struct nameidata *nd) in kernfs_iop_follow_link() argument 124 nd_set_link(nd, error ? ERR_PTR(error) : (char *)page); in kernfs_iop_follow_link() 128 static void kernfs_iop_put_link(struct dentry *dentry, struct nameidata *nd, in kernfs_iop_put_link() argument 131 char *page = nd_get_link(nd); in kernfs_iop_put_link()
|
/fs/nfs/ |
D | symlink.c | 46 static void *nfs_follow_link(struct dentry *dentry, struct nameidata *nd) in nfs_follow_link() argument 61 nd_set_link(nd, kmap(page)); in nfs_follow_link() 65 nd_set_link(nd, err); in nfs_follow_link()
|
/fs/sysv/ |
D | symlink.c | 11 static void *sysv_follow_link(struct dentry *dentry, struct nameidata *nd) in sysv_follow_link() argument 13 nd_set_link(nd, (char *)SYSV_I(dentry->d_inode)->i_data); in sysv_follow_link()
|
/fs/exofs/ |
D | symlink.c | 38 static void *exofs_follow_link(struct dentry *dentry, struct nameidata *nd) in exofs_follow_link() argument 42 nd_set_link(nd, (char *)oi->i_data); in exofs_follow_link()
|
/fs/autofs4/ |
D | symlink.c | 15 static void *autofs4_follow_link(struct dentry *dentry, struct nameidata *nd) in autofs4_follow_link() argument 21 nd_set_link(nd, dentry->d_inode->i_private); in autofs4_follow_link()
|
/fs/ufs/ |
D | symlink.c | 35 static void *ufs_follow_link(struct dentry *dentry, struct nameidata *nd) in ufs_follow_link() argument 38 nd_set_link(nd, (char*)p->i_u1.i_symlink); in ufs_follow_link()
|
/fs/jfs/ |
D | symlink.c | 25 static void *jfs_follow_link(struct dentry *dentry, struct nameidata *nd) in jfs_follow_link() argument 28 nd_set_link(nd, s); in jfs_follow_link()
|
/fs/ext3/ |
D | symlink.c | 24 static void * ext3_follow_link(struct dentry *dentry, struct nameidata *nd) in ext3_follow_link() argument 27 nd_set_link(nd, (char*)ei->i_data); in ext3_follow_link()
|
/fs/ext2/ |
D | symlink.c | 24 static void *ext2_follow_link(struct dentry *dentry, struct nameidata *nd) in ext2_follow_link() argument 27 nd_set_link(nd, (char *)ei->i_data); in ext2_follow_link()
|
/fs/overlayfs/ |
D | inode.c | 149 static void *ovl_follow_link(struct dentry *dentry, struct nameidata *nd) in ovl_follow_link() argument 161 ret = realinode->i_op->follow_link(realdentry, nd); in ovl_follow_link() 170 realinode->i_op->put_link(realdentry, nd, ret); in ovl_follow_link() 182 static void ovl_put_link(struct dentry *dentry, struct nameidata *nd, void *c) in ovl_put_link() argument 191 realinode->i_op->put_link(data->realdentry, nd, data->cookie); in ovl_put_link()
|
/fs/configfs/ |
D | symlink.c | 281 static void *configfs_follow_link(struct dentry *dentry, struct nameidata *nd) in configfs_follow_link() argument 289 nd_set_link(nd, (char *)page); in configfs_follow_link() 294 nd_set_link(nd, ERR_PTR(error)); in configfs_follow_link() 298 static void configfs_put_link(struct dentry *dentry, struct nameidata *nd, in configfs_put_link() argument
|
/fs/proc/ |
D | self.c | 22 static void *proc_self_follow_link(struct dentry *dentry, struct nameidata *nd) in proc_self_follow_link() argument 35 nd_set_link(nd, name); in proc_self_follow_link()
|
D | thread_self.c | 23 static void *proc_thread_self_follow_link(struct dentry *dentry, struct nameidata *nd) in proc_thread_self_follow_link() argument 36 nd_set_link(nd, name); in proc_thread_self_follow_link()
|
D | namespaces.c | 109 static void *proc_ns_follow_link(struct dentry *dentry, struct nameidata *nd) in proc_ns_follow_link() argument 131 ns_path.mnt = mntget(nd->path.mnt); in proc_ns_follow_link() 132 nd_jump_link(nd, &ns_path); in proc_ns_follow_link()
|
D | inode.c | 405 static void *proc_follow_link(struct dentry *dentry, struct nameidata *nd) in proc_follow_link() argument 410 nd_set_link(nd, pde->data); in proc_follow_link() 414 static void proc_put_link(struct dentry *dentry, struct nameidata *nd, void *p) in proc_put_link() argument
|
/fs/hppfs/ |
D | hppfs.c | 644 static void *hppfs_follow_link(struct dentry *dentry, struct nameidata *nd) in hppfs_follow_link() argument 648 return proc_dentry->d_inode->i_op->follow_link(proc_dentry, nd); in hppfs_follow_link() 651 static void hppfs_put_link(struct dentry *dentry, struct nameidata *nd, in hppfs_put_link() argument 657 proc_dentry->d_inode->i_op->put_link(proc_dentry, nd, cookie); in hppfs_put_link()
|
/fs/befs/ |
D | linuxvfs.c | 478 befs_follow_link(struct dentry *dentry, struct nameidata *nd) in befs_follow_link() argument 503 nd_set_link(nd, link); in befs_follow_link() 509 befs_fast_follow_link(struct dentry *dentry, struct nameidata *nd) in befs_fast_follow_link() argument 512 nd_set_link(nd, befs_ino->i_data.symlink); in befs_fast_follow_link()
|
/fs/hostfs/ |
D | hostfs_kern.c | 883 static void *hostfs_follow_link(struct dentry *dentry, struct nameidata *nd) in hostfs_follow_link() argument 903 nd_set_link(nd, link); in hostfs_follow_link() 907 static void hostfs_put_link(struct dentry *dentry, struct nameidata *nd, void *cookie) in hostfs_put_link() argument 909 char *s = nd_get_link(nd); in hostfs_put_link()
|
/fs/f2fs/ |
D | namei.c | 467 static void *f2fs_follow_link(struct dentry *dentry, struct nameidata *nd) in f2fs_follow_link() argument 472 page = page_follow_link_light(dentry, nd); in f2fs_follow_link() 476 link = nd_get_link(nd); in f2fs_follow_link() 1150 struct nameidata *nd) in f2fs_encrypted_follow_link() argument 1204 nd_set_link(nd, paddr); in f2fs_encrypted_follow_link()
|
/fs/9p/ |
D | v9fs.h | 153 extern void v9fs_vfs_put_link(struct dentry *dentry, struct nameidata *nd,
|