Lines Matching refs:reply

891 	smb_gmttoken_response_t		reply;  in smbd_dop_vss_get_snapshots()  local
895 bzero(&reply, sizeof (smb_gmttoken_response_t)); in smbd_dop_vss_get_snapshots()
901 reply.gtr_gmttokens.gtr_gmttokens_val = malloc(request.gtq_count * in smbd_dop_vss_get_snapshots()
903 bzero(reply.gtr_gmttokens.gtr_gmttokens_val, request.gtq_count * in smbd_dop_vss_get_snapshots()
906 if (reply.gtr_gmttokens.gtr_gmttokens_val == NULL) { in smbd_dop_vss_get_snapshots()
912 &reply.gtr_count, in smbd_dop_vss_get_snapshots()
913 &reply.gtr_gmttokens.gtr_gmttokens_len, in smbd_dop_vss_get_snapshots()
914 reply.gtr_gmttokens.gtr_gmttokens_val); in smbd_dop_vss_get_snapshots()
916 arg->rbuf = smb_common_encode(&reply, smb_gmttoken_response_xdr, in smbd_dop_vss_get_snapshots()
923 for (i = 0, gmtp = reply.gtr_gmttokens.gtr_gmttokens_val; in smbd_dop_vss_get_snapshots()
930 free(reply.gtr_gmttokens.gtr_gmttokens_val); in smbd_dop_vss_get_snapshots()
1004 smb_quota_response_t reply; in smbd_dop_quota_query() local
1008 bzero(&reply, sizeof (smb_quota_response_t)); in smbd_dop_quota_query()
1014 status = smb_quota_query(&request, &reply); in smbd_dop_quota_query()
1015 reply.qr_status = status; in smbd_dop_quota_query()
1017 arg->rbuf = smb_common_encode(&reply, smb_quota_response_xdr, in smbd_dop_quota_query()
1021 smb_quota_free(&reply); in smbd_dop_quota_query()
1057 dfs_referral_response_t reply; in smbd_dop_dfs_get_referrals() local
1060 bzero(&reply, sizeof (reply)); in smbd_dop_dfs_get_referrals()
1066 reply.rp_status = dfs_get_referrals((const char *)request.rq_path, in smbd_dop_dfs_get_referrals()
1067 request.rq_type, &reply.rp_referrals); in smbd_dop_dfs_get_referrals()
1069 if (reply.rp_status != ERROR_SUCCESS) in smbd_dop_dfs_get_referrals()
1070 bzero(&reply.rp_referrals, sizeof (dfs_info_t)); in smbd_dop_dfs_get_referrals()
1072 arg->rbuf = smb_common_encode(&reply, dfs_referral_response_xdr, in smbd_dop_dfs_get_referrals()
1075 if (reply.rp_status == ERROR_SUCCESS) in smbd_dop_dfs_get_referrals()
1076 dfs_info_free(&reply.rp_referrals); in smbd_dop_dfs_get_referrals()
1089 uint32_t reply; in smbd_dop_shr_hostaccess() local
1092 bzero(&reply, sizeof (reply)); in smbd_dop_shr_hostaccess()
1098 reply = smb_shr_hostaccess(&request.shq_ipaddr, request.shq_none, in smbd_dop_shr_hostaccess()
1101 arg->rbuf = smb_common_encode(&reply, xdr_uint32_t, &arg->rsize); in smbd_dop_shr_hostaccess()
1114 int reply; in smbd_dop_shr_exec() local
1117 bzero(&reply, sizeof (reply)); in smbd_dop_shr_exec()
1123 reply = smb_shr_exec(&request); in smbd_dop_shr_exec()
1125 if (reply != 0) in smbd_dop_shr_exec()
1129 arg->rbuf = smb_common_encode(&reply, xdr_int, &arg->rsize); in smbd_dop_shr_exec()