Lines Matching refs:msg

32 nfs3_rpc_wrapper(struct rpc_clnt *clnt, struct rpc_message *msg, int flags)  in nfs3_rpc_wrapper()  argument
36 res = rpc_call_sync(clnt, msg, flags); in nfs3_rpc_wrapper()
46 #define rpc_call_sync(clnt, msg, flags) nfs3_rpc_wrapper(clnt, msg, flags) argument
64 struct rpc_message msg = { in do_proc_get_root() local
73 status = rpc_call_sync(client, &msg, 0); in do_proc_get_root()
76 msg.rpc_proc = &nfs3_procedures[NFS3PROC_GETATTR]; in do_proc_get_root()
77 msg.rpc_resp = info->fattr; in do_proc_get_root()
78 status = rpc_call_sync(client, &msg, 0); in do_proc_get_root()
106 struct rpc_message msg = { in nfs3_proc_getattr() local
120 status = rpc_call_sync(server->client, &msg, task_flags); in nfs3_proc_getattr()
134 struct rpc_message msg = { in nfs3_proc_setattr() local
143 msg.rpc_cred = nfs_file_cred(sattr->ia_file); in nfs3_proc_setattr()
145 status = rpc_call_sync(NFS_CLIENT(inode), &msg, 0); in nfs3_proc_setattr()
169 struct rpc_message msg = { in __nfs3_proc_lookup() local
181 status = rpc_call_sync(NFS_CLIENT(dir), &msg, task_flags); in __nfs3_proc_lookup()
184 msg.rpc_proc = &nfs3_procedures[NFS3PROC_GETATTR]; in __nfs3_proc_lookup()
185 msg.rpc_argp = fhandle; in __nfs3_proc_lookup()
186 msg.rpc_resp = fattr; in __nfs3_proc_lookup()
187 status = rpc_call_sync(NFS_CLIENT(dir), &msg, task_flags); in __nfs3_proc_lookup()
232 struct rpc_message msg = { in nfs3_proc_access() local
245 status = rpc_call_sync(NFS_CLIENT(inode), &msg, 0); in nfs3_proc_access()
265 struct rpc_message msg = { in nfs3_proc_readlink() local
275 msg.rpc_resp = fattr; in nfs3_proc_readlink()
277 status = rpc_call_sync(NFS_CLIENT(inode), &msg, 0); in nfs3_proc_readlink()
286 struct rpc_message msg; member
305 data->msg.rpc_argp = &data->arg; in nfs3_alloc_createdata()
306 data->msg.rpc_resp = &data->res; in nfs3_alloc_createdata()
321 status = rpc_call_sync(NFS_CLIENT(dir), &data->msg, 0); in nfs3_do_create()
352 data->msg.rpc_proc = &nfs3_procedures[NFS3PROC_CREATE]; in nfs3_proc_create()
440 struct rpc_message msg = { in nfs3_proc_remove() local
452 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs3_proc_remove()
461 nfs3_proc_unlink_setup(struct rpc_message *msg, in nfs3_proc_unlink_setup() argument
465 msg->rpc_proc = &nfs3_procedures[NFS3PROC_REMOVE]; in nfs3_proc_unlink_setup()
485 nfs3_proc_rename_setup(struct rpc_message *msg, in nfs3_proc_rename_setup() argument
489 msg->rpc_proc = &nfs3_procedures[NFS3PROC_RENAME]; in nfs3_proc_rename_setup()
522 struct rpc_message msg = { in nfs3_proc_link() local
535 status = rpc_call_sync(NFS_CLIENT(inode), &msg, 0); in nfs3_proc_link()
561 data->msg.rpc_proc = &nfs3_procedures[NFS3PROC_SYMLINK]; in nfs3_proc_symlink()
599 data->msg.rpc_proc = &nfs3_procedures[NFS3PROC_MKDIR]; in nfs3_proc_mkdir()
635 struct rpc_message msg = { in nfs3_proc_rmdir() local
646 msg.rpc_resp = dir_attr; in nfs3_proc_rmdir()
647 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs3_proc_rmdir()
679 struct rpc_message msg = { in nfs3_proc_readdir() local
688 msg.rpc_proc = &nfs3_procedures[NFS3PROC_READDIRPLUS]; in nfs3_proc_readdir()
699 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs3_proc_readdir()
731 data->msg.rpc_proc = &nfs3_procedures[NFS3PROC_MKNOD]; in nfs3_proc_mknod()
780 struct rpc_message msg = { in nfs3_proc_statfs() local
789 status = rpc_call_sync(server->client, &msg, 0); in nfs3_proc_statfs()
798 struct rpc_message msg = { in do_proc_fsinfo() local
807 status = rpc_call_sync(client, &msg, 0); in do_proc_fsinfo()
832 struct rpc_message msg = { in nfs3_proc_pathconf() local
841 status = rpc_call_sync(server->client, &msg, 0); in nfs3_proc_pathconf()
866 struct rpc_message *msg) in nfs3_proc_read_setup() argument
868 msg->rpc_proc = &nfs3_procedures[NFS3PROC_READ]; in nfs3_proc_read_setup()
894 struct rpc_message *msg, in nfs3_proc_write_setup() argument
897 msg->rpc_proc = &nfs3_procedures[NFS3PROC_WRITE]; in nfs3_proc_write_setup()
916 static void nfs3_proc_commit_setup(struct nfs_commit_data *data, struct rpc_message *msg, in nfs3_proc_commit_setup() argument
919 msg->rpc_proc = &nfs3_procedures[NFS3PROC_COMMIT]; in nfs3_proc_commit_setup()