Lines Matching refs:dentry
125 static struct dentry *rpc_setup_pipedir_sb(struct super_block *sb, in rpc_setup_pipedir_sb()
132 struct dentry *dir, *dentry; in rpc_setup_pipedir_sb() local
144 dentry = rpc_create_client_dir(dir, &q, clnt); in rpc_setup_pipedir_sb()
145 if (!IS_ERR(dentry)) in rpc_setup_pipedir_sb()
147 error = PTR_ERR(dentry); in rpc_setup_pipedir_sb()
156 return dentry; in rpc_setup_pipedir_sb()
164 struct dentry *dentry; in rpc_setup_pipedir() local
172 dentry = rpc_setup_pipedir_sb(pipefs_sb, clnt, dir_name); in rpc_setup_pipedir()
174 if (IS_ERR(dentry)) in rpc_setup_pipedir()
175 return PTR_ERR(dentry); in rpc_setup_pipedir()
176 clnt->cl_dentry = dentry; in rpc_setup_pipedir()
191 struct dentry *dentry; in __rpc_clnt_handle_event() local
196 dentry = rpc_setup_pipedir_sb(sb, clnt, in __rpc_clnt_handle_event()
198 if (!dentry) in __rpc_clnt_handle_event()
200 if (IS_ERR(dentry)) in __rpc_clnt_handle_event()
201 return PTR_ERR(dentry); in __rpc_clnt_handle_event()
202 clnt->cl_dentry = dentry; in __rpc_clnt_handle_event()