Lines Matching refs:rbuf

307 	char		*rbuf = NULL;  in smbd_door_dispatch()  local
375 if ((rbuf = (char *)alloca(dop_arg.rsize + hdr_size)) == NULL) { in smbd_door_dispatch()
382 if (dop_arg.rbuf != NULL) { in smbd_door_dispatch()
383 (void) memcpy(rbuf + hdr_size, dop_arg.rbuf, dop_arg.rsize); in smbd_door_dispatch()
384 free(dop_arg.rbuf); in smbd_door_dispatch()
388 (void) smb_doorhdr_encode(hdr, (uint8_t *)rbuf, hdr_size); in smbd_door_dispatch()
391 smbd_door_return(&smbd_door_sdh, rbuf, dop_arg.rsize, NULL, 0); in smbd_door_dispatch()
512 free(arg->rbuf); in smbd_door_dispatch_op()
513 arg->rbuf = NULL; in smbd_door_dispatch_op()
639 rsp_arg->rbuf = arg->rbuf; in smbd_dop_async_response()
641 arg->rbuf = NULL; in smbd_dop_async_response()
750 arg->rbuf = smb_common_encode(&acct, lsa_account_xdr, &arg->rsize); in smbd_dop_lookup_name()
752 if (arg->rbuf == NULL) in smbd_dop_lookup_name()
812 arg->rbuf = smb_common_encode(&acct, lsa_account_xdr, &arg->rsize); in smbd_dop_lookup_sid()
814 if (arg->rbuf == NULL) in smbd_dop_lookup_sid()
834 arg->rbuf = smb_common_encode(&jdres, smb_joinres_xdr, &arg->rsize); in smbd_dop_join()
836 if (arg->rbuf == NULL) in smbd_dop_join()
849 arg->rbuf = smb_string_encode(dxi.d_dci.dc_name, &arg->rsize); in smbd_dop_get_dcinfo()
851 if (arg->rbuf == NULL) in smbd_dop_get_dcinfo()
866 arg->rbuf = NULL; in smbd_dop_vss_get_count()
872 arg->rbuf = smb_common_encode(&count, xdr_uint32_t, in smbd_dop_vss_get_count()
877 if (arg->rbuf == NULL) in smbd_dop_vss_get_count()
916 arg->rbuf = smb_common_encode(&reply, smb_gmttoken_response_xdr, in smbd_dop_vss_get_snapshots()
918 if (arg->rbuf == NULL) { in smbd_dop_vss_get_snapshots()
963 arg->rbuf = smb_string_encode(snapname, &arg->rsize); in smbd_dop_vss_map_gmttoken()
967 if (arg->rbuf == NULL) in smbd_dop_vss_map_gmttoken()
989 arg->rbuf = smb_string_encode(hostname, &arg->rsize); in smbd_dop_ads_find_host()
992 if (arg->rbuf == NULL) in smbd_dop_ads_find_host()
1017 arg->rbuf = smb_common_encode(&reply, smb_quota_response_xdr, in smbd_dop_quota_query()
1023 if (arg->rbuf == NULL) in smbd_dop_quota_query()
1045 arg->rbuf = smb_common_encode(&status, xdr_uint32_t, &arg->rsize); in smbd_dop_quota_set()
1048 if (arg->rbuf == NULL) in smbd_dop_quota_set()
1072 arg->rbuf = smb_common_encode(&reply, dfs_referral_response_xdr, in smbd_dop_dfs_get_referrals()
1080 if (arg->rbuf == NULL) in smbd_dop_dfs_get_referrals()
1101 arg->rbuf = smb_common_encode(&reply, xdr_uint32_t, &arg->rsize); in smbd_dop_shr_hostaccess()
1105 if (arg->rbuf == NULL) in smbd_dop_shr_hostaccess()
1129 arg->rbuf = smb_common_encode(&reply, xdr_int, &arg->rsize); in smbd_dop_shr_exec()
1133 if (arg->rbuf == NULL) in smbd_dop_shr_exec()