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()
231 struct rpc_message msg = { in nfs3_proc_access() local
244 status = rpc_call_sync(NFS_CLIENT(inode), &msg, 0); in nfs3_proc_access()
264 struct rpc_message msg = { in nfs3_proc_readlink() local
274 msg.rpc_resp = fattr; in nfs3_proc_readlink()
276 status = rpc_call_sync(NFS_CLIENT(inode), &msg, 0); in nfs3_proc_readlink()
285 struct rpc_message msg; member
304 data->msg.rpc_argp = &data->arg; in nfs3_alloc_createdata()
305 data->msg.rpc_resp = &data->res; in nfs3_alloc_createdata()
320 status = rpc_call_sync(NFS_CLIENT(dir), &data->msg, 0); in nfs3_do_create()
351 data->msg.rpc_proc = &nfs3_procedures[NFS3PROC_CREATE]; in nfs3_proc_create()
439 struct rpc_message msg = { in nfs3_proc_remove() local
451 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs3_proc_remove()
460 nfs3_proc_unlink_setup(struct rpc_message *msg, in nfs3_proc_unlink_setup() argument
464 msg->rpc_proc = &nfs3_procedures[NFS3PROC_REMOVE]; in nfs3_proc_unlink_setup()
484 nfs3_proc_rename_setup(struct rpc_message *msg, in nfs3_proc_rename_setup() argument
488 msg->rpc_proc = &nfs3_procedures[NFS3PROC_RENAME]; in nfs3_proc_rename_setup()
521 struct rpc_message msg = { in nfs3_proc_link() local
534 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()
600 data->msg.rpc_proc = &nfs3_procedures[NFS3PROC_MKDIR]; in nfs3_proc_mkdir()
638 struct rpc_message msg = { in nfs3_proc_rmdir() local
649 msg.rpc_resp = dir_attr; in nfs3_proc_rmdir()
650 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs3_proc_rmdir()
682 struct rpc_message msg = { in nfs3_proc_readdir() local
691 msg.rpc_proc = &nfs3_procedures[NFS3PROC_READDIRPLUS]; in nfs3_proc_readdir()
702 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs3_proc_readdir()
734 data->msg.rpc_proc = &nfs3_procedures[NFS3PROC_MKNOD]; in nfs3_proc_mknod()
783 struct rpc_message msg = { in nfs3_proc_statfs() local
792 status = rpc_call_sync(server->client, &msg, 0); in nfs3_proc_statfs()
801 struct rpc_message msg = { in do_proc_fsinfo() local
810 status = rpc_call_sync(client, &msg, 0); in do_proc_fsinfo()
835 struct rpc_message msg = { in nfs3_proc_pathconf() local
844 status = rpc_call_sync(server->client, &msg, 0); in nfs3_proc_pathconf()
907 struct rpc_message *msg) in nfs3_proc_read_setup() argument
909 msg->rpc_proc = &nfs3_procedures[NFS3PROC_READ]; in nfs3_proc_read_setup()
937 struct rpc_message *msg, in nfs3_proc_write_setup() argument
940 msg->rpc_proc = &nfs3_procedures[NFS3PROC_WRITE]; in nfs3_proc_write_setup()
959 static void nfs3_proc_commit_setup(struct nfs_commit_data *data, struct rpc_message *msg, in nfs3_proc_commit_setup() argument
962 msg->rpc_proc = &nfs3_procedures[NFS3PROC_COMMIT]; in nfs3_proc_commit_setup()