Lines Matching refs:safe_malloc

185 safe_malloc(size_t sz)  in safe_malloc()  function
246 ht_buckets = safe_malloc(sizeof (*ht_buckets) * ht_buckets_num); in ht_init()
285 safe_malloc(sizeof (*new_ht_buckets) * new_ht_buckets_num); in ht_grow()
335 elem = safe_malloc(sizeof (*elem)); in ht_add()
446 buf = safe_malloc(buf_sz); in pg_get_single_val()
675 fmri_buf = safe_malloc(max_scf_fmri_length + 1); in check_for_restarter()
681 fmri_buf_canonified = safe_malloc(max_scf_fmri_length + 1); in check_for_restarter()
1013 char *newbuf = safe_malloc(newsize); in sprint_ctid()
1100 common_name_buf = safe_malloc(max_scf_value_length + 1); in sprint_desc()
1127 newbuf = safe_malloc(newsize); in sprint_desc()
1243 newbuf = safe_malloc(newsize); in sprint_state()
1283 newbuf = safe_malloc(newsize); in sprint_nstate()
1303 char *newbuf = safe_malloc(newsize); in sprint_s()
1331 char *newbuf = safe_malloc(newsize); in sprint_n()
1357 char *newbuf = safe_malloc(newsize); in sprint_sn()
1420 char *newbuf = safe_malloc(newsize); in sprint_sta()
1444 char *newbuf = safe_malloc(newsize); in sprint_nsta()
1468 char *fmri_buf = safe_malloc(max_scf_fmri_length + 1); in sprint_fmri()
1490 newbuf = safe_malloc(newsize); in sprint_fmri()
1516 char *scope_buf = safe_malloc(max_scf_name_length + 1); in sprint_scope()
1518 char *newbuf = safe_malloc(newsize); in sprint_scope()
1548 char *svc_buf = safe_malloc(max_scf_name_length + 1); in sprint_service()
1568 newbuf = safe_malloc(newsize); in sprint_service()
1593 char *tmp = safe_malloc(max_scf_name_length + 1); in sprint_instance()
1595 char *newbuf = safe_malloc(newsize); in sprint_instance()
1646 char *newbuf = safe_malloc(newsize); in sprint_stime()
1750 newbuf = safe_malloc(newsize); in sprint_zone()
1971 line_buf = safe_malloc(line_sz); in print_header()
2217 char *pg_name_buf = safe_malloc(max_scf_name_length + 1); in print_application_properties()
2218 char *prop_name_buf = safe_malloc(max_scf_name_length + 1); in print_application_properties()
2219 char *snap_name = safe_malloc(max_scf_name_length + 1); in print_application_properties()
2220 char *val_buf = safe_malloc(max_scf_value_length + 1); in print_application_properties()
2358 val_buf = safe_malloc(max_scf_value_length + 1); in print_detailed_dependency()
2448 buf = safe_malloc(max_scf_fmri_length + 1); in print_detailed()
2454 common_name_buf = safe_malloc(max_scf_value_length + 1); in print_detailed()
2521 timebuf = safe_malloc(tbsz); in print_detailed()
2695 char *pgname = safe_malloc(sz); in get_notify_param_classes()
2696 char **buf = safe_malloc(size * sizeof (char *)); in get_notify_param_classes()
2990 restarter_fmri = safe_malloc(max_scf_fmri_length + 1); in list_instance()
3022 lp = safe_malloc(sizeof (*lp)); in list_instance()
3039 cp = lp->key = safe_malloc(sortkey_sz); in list_instance()
3197 dep = safe_malloc(max_scf_value_length + 1); in walk_dependencies()
3396 rest = safe_malloc(sizeof (*rest)); in add_restarter()
3885 provider_scope = safe_malloc(max_scf_fmri_length); in main()
3886 provider_svc = safe_malloc(max_scf_fmri_length); in main()
3887 provider_inst = safe_malloc(max_scf_fmri_length); in main()