Lines Matching defs:bytes_needed
438 uint32_t bytes_needed = 0;
454 bytes_needed = SVCCTL_SECURITY_BUFSIZE;
467 param->bytes_needed = 0;
475 param->bytes_needed = bytes_needed;
711 param->bytes_needed = 1024;
725 param->bytes_needed = 0;
778 param->bytes_needed = mgr_ctx->mc_bytes_needed;
795 param->bytes_needed = mgr_ctx->mc_bytes_needed;
800 param->bytes_needed = 0;
828 int bytes_needed = 0;
864 bytes_needed = sizeof (svc_config_t);
865 bytes_needed += SVCCTL_WNSTRLEN((const char *)cfg->binary_pathname);
866 bytes_needed += SVCCTL_WNSTRLEN((const char *)cfg->loadorder_group);
867 bytes_needed += SVCCTL_WNSTRLEN((const char *)cfg->dependencies);
868 bytes_needed += SVCCTL_WNSTRLEN((const char *)cfg->service_startname);
869 bytes_needed += SVCCTL_WNSTRLEN(svc->sn_fmri);
871 if (param->buf_size < bytes_needed) {
873 param->cfg_bytes = bytes_needed;
878 param->cfg_bytes = bytes_needed;
1161 param->bytes_needed = mgr_ctx->mc_bytes_needed;
1166 param->bytes_needed = 0;
1197 int offset, input_bufsize, bytes_needed = 0;
1238 bytes_needed = SVCCTL_WNSTRLEN(desc);
1240 if (input_bufsize <= bytes_needed) {
1241 param->bytes_needed = bytes_needed;
1253 param->bytes_needed = offset;
1258 bytes_needed = sizeof (svc_failure_actions_t);
1259 if (input_bufsize <= bytes_needed) {
1260 param->bytes_needed = bytes_needed;
1264 param->bytes_needed = bytes_needed;
1269 param->bytes_needed = sizeof (svc_delayed_auto_start_t);
1274 param->bytes_needed = sizeof (svc_config_failure_action_t);
1312 uint32_t bytes_needed;
1333 bytes_needed = sizeof (svc_status_ex_t);
1335 if ((input_bufsize = param->buf_size) < bytes_needed) {
1339 param->bytes_needed = bytes_needed;
1344 if ((svc_status_ex = NDR_MALLOC(mxa, bytes_needed)) == NULL) {
1367 param->bytes_needed = bytes_needed;