Lines Matching refs:dir

156 nfs_proc_lookup(struct inode *dir, struct dentry *dentry,  in nfs_proc_lookup()  argument
160 .fh = NFS_FH(dir), in nfs_proc_lookup()
182 status = rpc_call_sync(NFS_CLIENT(dir), &msg, task_flags); in nfs_proc_lookup()
215 static struct nfs_createdata *nfs_alloc_createdata(struct inode *dir, in nfs_alloc_createdata() argument
223 data->arg.fh = NFS_FH(dir); in nfs_alloc_createdata()
241 nfs_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr, in nfs_proc_create() argument
251 data = nfs_alloc_createdata(dir, dentry, sattr); in nfs_proc_create()
256 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_create()
257 nfs_mark_for_revalidate(dir); in nfs_proc_create()
270 nfs_proc_mknod(struct inode *dir, struct dentry *dentry, struct iattr *sattr, in nfs_proc_mknod() argument
291 data = nfs_alloc_createdata(dir, dentry, sattr); in nfs_proc_mknod()
297 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_mknod()
298 nfs_mark_for_revalidate(dir); in nfs_proc_mknod()
303 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_mknod()
314 nfs_proc_remove(struct inode *dir, struct dentry *dentry) in nfs_proc_remove() argument
317 .fh = NFS_FH(dir), in nfs_proc_remove()
327 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_remove()
328 nfs_mark_for_revalidate(dir); in nfs_proc_remove()
347 static int nfs_proc_unlink_done(struct rpc_task *task, struct inode *dir) in nfs_proc_unlink_done() argument
349 nfs_mark_for_revalidate(dir); in nfs_proc_unlink_done()
376 nfs_proc_link(struct inode *inode, struct inode *dir, const struct qstr *name) in nfs_proc_link() argument
380 .tofh = NFS_FH(dir), in nfs_proc_link()
393 nfs_mark_for_revalidate(dir); in nfs_proc_link()
399 nfs_proc_symlink(struct inode *dir, struct dentry *dentry, struct page *page, in nfs_proc_symlink() argument
405 .fromfh = NFS_FH(dir), in nfs_proc_symlink()
429 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_symlink()
430 nfs_mark_for_revalidate(dir); in nfs_proc_symlink()
449 nfs_proc_mkdir(struct inode *dir, struct dentry *dentry, struct iattr *sattr) in nfs_proc_mkdir() argument
458 data = nfs_alloc_createdata(dir, dentry, sattr); in nfs_proc_mkdir()
464 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_mkdir()
465 nfs_mark_for_revalidate(dir); in nfs_proc_mkdir()
475 nfs_proc_rmdir(struct inode *dir, const struct qstr *name) in nfs_proc_rmdir() argument
478 .fh = NFS_FH(dir), in nfs_proc_rmdir()
489 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_rmdir()
490 nfs_mark_for_revalidate(dir); in nfs_proc_rmdir()
505 struct inode *dir = d_inode(nr_arg->dentry); in nfs_proc_readdir() local
507 .fh = NFS_FH(dir), in nfs_proc_readdir()
520 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_readdir()
523 nfs_invalidate_atime(dir); in nfs_proc_readdir()