Lines Matching refs:msg

1209 			     struct rpc_message *msg,  in nfs4_do_call_sync()  argument
1222 .rpc_message = msg, in nfs4_do_call_sync()
1233 struct rpc_message *msg, in nfs4_call_sync_sequence() argument
1241 return nfs4_do_call_sync(clnt, server, msg, args, res, task_flags); in nfs4_call_sync_sequence()
1247 struct rpc_message *msg, in nfs4_call_sync() argument
1253 return nfs4_call_sync_sequence(clnt, server, msg, args, res); in nfs4_call_sync()
2499 struct rpc_message msg = { in _nfs4_proc_open_confirm() local
2507 .rpc_message = &msg, in _nfs4_proc_open_confirm()
2670 struct rpc_message msg = { in nfs4_run_open_task() local
2678 .rpc_message = &msg, in nfs4_run_open_task()
3403 struct rpc_message msg = { in _nfs4_do_setattr() local
3444 msg.rpc_cred = delegation_cred; in _nfs4_do_setattr()
3446 status = nfs4_call_sync(server->client, server, &msg, &arg->seq_args, &res->seq_res, 1); in _nfs4_do_setattr()
3842 struct rpc_message msg = { in nfs4_do_close() local
3848 .rpc_message = &msg, in nfs4_do_close()
3859 &task_setup_data.rpc_client, &msg); in nfs4_do_close()
3883 &calldata->lr.arg, &calldata->lr.res, msg.rpc_cred); in nfs4_do_close()
3890 msg.rpc_argp = &calldata->arg; in nfs4_do_close()
3891 msg.rpc_resp = &calldata->res; in nfs4_do_close()
3968 struct rpc_message msg = { in _nfs4_server_capabilities() local
3988 status = nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0); in _nfs4_server_capabilities()
4257 struct rpc_message msg = { in _nfs4_lookup_root() local
4264 return nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0); in _nfs4_lookup_root()
4469 struct rpc_message msg = { in _nfs4_proc_getattr() local
4486 return nfs4_do_call_sync(server->client, server, &msg, in _nfs4_proc_getattr()
4583 struct rpc_message msg = { in _nfs4_proc_lookup() local
4603 status = nfs4_do_call_sync(clnt, server, &msg, in _nfs4_proc_lookup()
4705 struct rpc_message msg = { in _nfs4_proc_lookupp() local
4720 status = nfs4_call_sync(clnt, server, &msg, &args.seq_args, in _nfs4_proc_lookupp()
4753 struct rpc_message msg = { in _nfs4_proc_access() local
4767 status = nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0); in _nfs4_proc_access()
4825 struct rpc_message msg = { in _nfs4_proc_readlink() local
4831 …return nfs4_call_sync(NFS_SERVER(inode)->client, NFS_SERVER(inode), &msg, &args.seq_args, &res.seq… in _nfs4_proc_readlink()
4893 struct rpc_message msg = { in _nfs4_proc_remove() local
4901 status = nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 1); in _nfs4_proc_remove()
4953 static void nfs4_proc_unlink_setup(struct rpc_message *msg, in nfs4_proc_unlink_setup() argument
4957 struct nfs_removeargs *args = msg->rpc_argp; in nfs4_proc_unlink_setup()
4958 struct nfs_removeres *res = msg->rpc_resp; in nfs4_proc_unlink_setup()
4961 msg->rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_REMOVE]; in nfs4_proc_unlink_setup()
4997 static void nfs4_proc_rename_setup(struct rpc_message *msg, in nfs4_proc_rename_setup() argument
5001 struct nfs_renameargs *arg = msg->rpc_argp; in nfs4_proc_rename_setup()
5002 struct nfs_renameres *res = msg->rpc_resp; in nfs4_proc_rename_setup()
5010 msg->rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_RENAME]; in nfs4_proc_rename_setup()
5067 struct rpc_message msg = { in _nfs4_proc_link() local
5082 status = nfs4_call_sync(server->client, server, &msg, &arg.seq_args, &res.seq_res, 1); in _nfs4_proc_link()
5112 struct rpc_message msg; member
5132 data->msg.rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_CREATE]; in nfs4_alloc_createdata()
5133 data->msg.rpc_argp = &data->arg; in nfs4_alloc_createdata()
5134 data->msg.rpc_resp = &data->res; in nfs4_alloc_createdata()
5155 int status = nfs4_call_sync(NFS_SERVER(dir)->client, NFS_SERVER(dir), &data->msg, in nfs4_do_create()
5173 *statusp = nfs4_call_sync(NFS_SERVER(dir)->client, NFS_SERVER(dir), &data->msg, in nfs4_do_mkdir()
5215 data->msg.rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_SYMLINK]; in _nfs4_proc_symlink()
5310 struct rpc_message msg = { in _nfs4_proc_readdir() local
5327 status = nfs4_call_sync(server->client, server, &msg, &args.seq_args, in _nfs4_proc_readdir()
5427 struct rpc_message msg = { in _nfs4_proc_statfs() local
5434 return nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0); in _nfs4_proc_statfs()
5461 struct rpc_message msg = { in _nfs4_do_fsinfo() local
5467 return nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0); in _nfs4_do_fsinfo()
5514 struct rpc_message msg = { in _nfs4_proc_pathconf() local
5527 return nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0); in _nfs4_proc_pathconf()
5625 struct rpc_message *msg = &task->tk_msg; in nfs4_read_plus_not_supported() local
5627 if (msg->rpc_proc == &nfs4_procedures[NFSPROC4_CLNT_READ_PLUS] && in nfs4_read_plus_not_supported()
5630 msg->rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_READ]; in nfs4_read_plus_not_supported()
5653 struct rpc_message *msg) in nfs42_read_plus_support() argument
5657 msg->rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_READ_PLUS]; in nfs42_read_plus_support()
5664 struct rpc_message *msg) in nfs42_read_plus_support() argument
5671 struct rpc_message *msg) in nfs4_proc_read_setup() argument
5676 if (!nfs42_read_plus_support(hdr, msg)) in nfs4_proc_read_setup()
5677 msg->rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_READ]; in nfs4_proc_read_setup()
5797 struct rpc_message *msg, in nfs4_proc_write_setup() argument
5817 msg->rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_WRITE]; in nfs4_proc_write_setup()
5819 nfs4_state_protect_write(hdr->ds_clp ? hdr->ds_clp : server->nfs_client, clnt, msg, hdr); in nfs4_proc_write_setup()
5850 static void nfs4_proc_commit_setup(struct nfs_commit_data *data, struct rpc_message *msg, in nfs4_proc_commit_setup() argument
5858 msg->rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_COMMIT]; in nfs4_proc_commit_setup()
5861 NFS_SP4_MACH_CRED_COMMIT, clnt, msg); in nfs4_proc_commit_setup()
5869 struct rpc_message msg = { in _nfs4_proc_commit() local
5876 return nfs4_call_sync(server->client, server, &msg, in _nfs4_proc_commit()
5951 struct rpc_message msg = { in nfs4_proc_async_renew() local
5969 return rpc_call_async(clp->cl_rpcclient, &msg, RPC_TASK_TIMEOUT, in nfs4_proc_async_renew()
5975 struct rpc_message msg = { in nfs4_proc_renew() local
5983 status = rpc_call_sync(clp->cl_rpcclient, &msg, RPC_TASK_TIMEOUT); in nfs4_proc_renew()
6136 struct rpc_message msg = { in __nfs4_get_acl_uncached() local
6171 &msg, &args.seq_args, &res.seq_res, 0); in __nfs4_get_acl_uncached()
6255 struct rpc_message msg = { in __nfs4_proc_set_acl() local
6274 ret = nfs4_call_sync(server->client, server, &msg, &arg.seq_args, &res.seq_res, 1); in __nfs4_proc_set_acl()
6341 struct rpc_message msg = { in _nfs4_get_security_label() local
6350 ret = nfs4_call_sync(server->client, server, &msg, &arg.seq_args, &res.seq_res, 0); in _nfs4_get_security_label()
6397 struct rpc_message msg = { in _nfs4_do_set_security_label() local
6406 status = nfs4_call_sync(server->client, server, &msg, &arg.seq_args, &res.seq_res, 1); in _nfs4_do_set_security_label()
6636 struct rpc_message msg = { in nfs4_proc_setclientid() local
6644 .rpc_message = &msg, in nfs4_proc_setclientid()
6703 struct rpc_message msg = { in nfs4_proc_setclientid_confirm() local
6713 status = rpc_call_sync(clp->cl_rpcclient, &msg, in nfs4_proc_setclientid_confirm()
6883 struct rpc_message msg = { in _nfs4_proc_delegreturn() local
6889 .rpc_message = &msg, in _nfs4_proc_delegreturn()
6904 &task_setup_data.rpc_client, &msg); in _nfs4_proc_delegreturn()
6952 msg.rpc_argp = &data->args; in _nfs4_proc_delegreturn()
6953 msg.rpc_resp = &data->res; in _nfs4_proc_delegreturn()
7002 struct rpc_message msg = { in _nfs4_proc_getlk() local
7018 status = nfs4_call_sync(server->client, server, &msg, &arg.seq_args, &res.seq_res, 1); in _nfs4_proc_getlk()
7225 struct rpc_message msg = { in nfs4_do_unlck() local
7231 .rpc_message = &msg, in nfs4_do_unlck()
7241 NFS_SP4_MACH_CRED_CLEANUP, &task_setup_data.rpc_client, &msg); in nfs4_do_unlck()
7257 msg.rpc_argp = &data->arg; in nfs4_do_unlck()
7258 msg.rpc_resp = &data->res; in nfs4_do_unlck()
7506 struct rpc_message msg = { in _nfs4_do_setlk() local
7512 .rpc_message = &msg, in _nfs4_do_setlk()
7531 msg.rpc_argp = &data->arg; in _nfs4_do_setlk()
7532 msg.rpc_resp = &data->res; in _nfs4_do_setlk()
7939 struct rpc_message msg = { in nfs4_release_lockowner() local
7955 msg.rpc_argp = &data->args; in nfs4_release_lockowner()
7956 msg.rpc_resp = &data->res; in nfs4_release_lockowner()
7958 rpc_call_async(server->client, &msg, 0, &nfs4_release_lockowner_ops, data); in nfs4_release_lockowner()
8246 struct rpc_message msg = { in _nfs4_proc_fs_locations() local
8268 status = nfs4_call_sync(client, server, &msg, &args.seq_args, &res.seq_res, 0); in _nfs4_proc_fs_locations()
8321 struct rpc_message msg = { in _nfs40_proc_get_locations() local
8335 status = nfs4_call_sync_sequence(clnt, server, &msg, in _nfs40_proc_get_locations()
8375 struct rpc_message msg = { in _nfs41_proc_get_locations() local
8388 .rpc_message = &msg, in _nfs41_proc_get_locations()
8476 struct rpc_message msg = { in _nfs40_proc_fsid_present() local
8490 status = nfs4_call_sync_sequence(clnt, server, &msg, in _nfs40_proc_fsid_present()
8518 struct rpc_message msg = { in _nfs41_proc_fsid_present() local
8531 status = nfs4_call_sync_sequence(clnt, server, &msg, in _nfs41_proc_fsid_present()
8601 struct rpc_message msg = { in _nfs4_proc_secinfo() local
8613 .rpc_message = &msg, in _nfs4_proc_secinfo()
8625 msg.rpc_cred = cred; in _nfs4_proc_secinfo()
8630 nfs4_state_protect(clp, NFS_SP4_MACH_CRED_SECINFO, &clnt, &msg); in _nfs4_proc_secinfo()
8746 struct rpc_message msg = { in nfs4_proc_bind_one_conn_to_session() local
8757 .rpc_message = &msg, in nfs4_proc_bind_one_conn_to_session()
8982 struct rpc_message msg = { in nfs4_run_exchange_id() local
8989 .rpc_message = &msg, in nfs4_run_exchange_id()
9053 msg.rpc_argp = &calldata->args; in nfs4_run_exchange_id()
9054 msg.rpc_resp = &calldata->res; in nfs4_run_exchange_id()
9224 struct rpc_message msg = { in _nfs4_proc_destroy_clientid() local
9231 status = rpc_call_sync(clp->cl_rpcclient, &msg, in _nfs4_proc_destroy_clientid()
9344 struct rpc_message msg = { in nfs4_proc_get_lease_time() local
9351 .rpc_message = &msg, in nfs4_proc_get_lease_time()
9493 struct rpc_message msg = { in _nfs4_proc_create_session() local
9504 status = rpc_call_sync(session->clp->cl_rpcclient, &msg, in _nfs4_proc_create_session()
9575 struct rpc_message msg = { in nfs4_proc_destroy_session() local
9586 status = rpc_call_sync(session->clp->cl_rpcclient, &msg, in nfs4_proc_destroy_session()
9676 struct rpc_message msg = { in _nfs41_proc_sequence() local
9682 .rpc_message = &msg, in _nfs41_proc_sequence()
9698 msg.rpc_argp = &calldata->args; in _nfs41_proc_sequence()
9699 msg.rpc_resp = &calldata->res; in _nfs41_proc_sequence()
9828 struct rpc_message msg = { in nfs41_proc_reclaim_complete() local
9834 .rpc_message = &msg, in nfs41_proc_reclaim_complete()
9847 msg.rpc_argp = &calldata->arg; in nfs41_proc_reclaim_complete()
9848 msg.rpc_resp = &calldata->res; in nfs41_proc_reclaim_complete()
9993 struct rpc_message msg = { in nfs4_proc_layoutget() local
10001 .rpc_message = &msg, in nfs4_proc_layoutget()
10146 struct rpc_message msg = { in nfs4_proc_layoutreturn() local
10154 .rpc_message = &msg, in nfs4_proc_layoutreturn()
10163 &task_setup_data.rpc_client, &msg); in nfs4_proc_layoutreturn()
10205 struct rpc_message msg = { in _nfs4_proc_getdeviceinfo() local
10213 status = nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0); in _nfs4_proc_getdeviceinfo()
10300 struct rpc_message msg = { in nfs4_proc_layoutcommit() local
10309 .rpc_message = &msg, in nfs4_proc_layoutcommit()
10357 struct rpc_message msg = { in _nfs41_proc_secinfo_no_name() local
10369 .rpc_message = &msg, in _nfs41_proc_secinfo_no_name()
10381 msg.rpc_cred = cred; in _nfs41_proc_secinfo_no_name()
10509 struct rpc_message msg = { in _nfs41_test_stateid() local
10518 &rpc_client, &msg); in _nfs41_test_stateid()
10522 status = nfs4_call_sync_sequence(rpc_client, server, &msg, in _nfs41_test_stateid()
10634 struct rpc_message msg = { in nfs41_free_stateid() local
10640 .rpc_message = &msg, in nfs41_free_stateid()
10652 &task_setup.rpc_client, &msg); in nfs41_free_stateid()
10663 msg.rpc_argp = &data->args; in nfs41_free_stateid()
10664 msg.rpc_resp = &data->res; in nfs41_free_stateid()