Lines Matching refs:dir
148 nfs_proc_lookup(struct inode *dir, struct qstr *name, in nfs_proc_lookup() argument
153 .fh = NFS_FH(dir), in nfs_proc_lookup()
170 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_lookup()
203 static struct nfs_createdata *nfs_alloc_createdata(struct inode *dir, in nfs_alloc_createdata() argument
211 data->arg.fh = NFS_FH(dir); in nfs_alloc_createdata()
229 nfs_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr, in nfs_proc_create() argument
239 data = nfs_alloc_createdata(dir, dentry, sattr); in nfs_proc_create()
244 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_create()
245 nfs_mark_for_revalidate(dir); in nfs_proc_create()
258 nfs_proc_mknod(struct inode *dir, struct dentry *dentry, struct iattr *sattr, in nfs_proc_mknod() argument
279 data = nfs_alloc_createdata(dir, dentry, sattr); in nfs_proc_mknod()
285 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_mknod()
286 nfs_mark_for_revalidate(dir); in nfs_proc_mknod()
291 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_mknod()
302 nfs_proc_remove(struct inode *dir, struct qstr *name) in nfs_proc_remove() argument
305 .fh = NFS_FH(dir), in nfs_proc_remove()
315 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_remove()
316 nfs_mark_for_revalidate(dir); in nfs_proc_remove()
323 nfs_proc_unlink_setup(struct rpc_message *msg, struct inode *dir) in nfs_proc_unlink_setup() argument
333 static int nfs_proc_unlink_done(struct rpc_task *task, struct inode *dir) in nfs_proc_unlink_done() argument
335 nfs_mark_for_revalidate(dir); in nfs_proc_unlink_done()
340 nfs_proc_rename_setup(struct rpc_message *msg, struct inode *dir) in nfs_proc_rename_setup() argument
360 nfs_proc_link(struct inode *inode, struct inode *dir, struct qstr *name) in nfs_proc_link() argument
364 .tofh = NFS_FH(dir), in nfs_proc_link()
377 nfs_mark_for_revalidate(dir); in nfs_proc_link()
383 nfs_proc_symlink(struct inode *dir, struct dentry *dentry, struct page *page, in nfs_proc_symlink() argument
389 .fromfh = NFS_FH(dir), in nfs_proc_symlink()
413 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_symlink()
414 nfs_mark_for_revalidate(dir); in nfs_proc_symlink()
433 nfs_proc_mkdir(struct inode *dir, struct dentry *dentry, struct iattr *sattr) in nfs_proc_mkdir() argument
442 data = nfs_alloc_createdata(dir, dentry, sattr); in nfs_proc_mkdir()
448 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_mkdir()
449 nfs_mark_for_revalidate(dir); in nfs_proc_mkdir()
459 nfs_proc_rmdir(struct inode *dir, struct qstr *name) in nfs_proc_rmdir() argument
462 .fh = NFS_FH(dir), in nfs_proc_rmdir()
473 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_rmdir()
474 nfs_mark_for_revalidate(dir); in nfs_proc_rmdir()
490 struct inode *dir = d_inode(dentry); in nfs_proc_readdir() local
492 .fh = NFS_FH(dir), in nfs_proc_readdir()
505 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_readdir()
507 nfs_invalidate_atime(dir); in nfs_proc_readdir()