Home
last modified time | relevance | path

Searched refs:safe_zalloc (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/cmd/ptools/pargs/
H A Dpargs.c108 safe_zalloc(size_t size) in safe_zalloc() function
129 s2 = safe_zalloc(strlen(s1) + 1); in safe_strdup()
173 uc = ucp = safe_zalloc((strlen(src) * 4) + 1); in unctrl_str_strict_ascii()
217 wide_srcp = wide_src = safe_zalloc(srcbufsz * sizeof (wchar_t)); in unctrl_str()
218 wide_destp = wide_dest = safe_zalloc(destbufsz * sizeof (wchar_t)); in unctrl_str()
281 uc = safe_zalloc(destlen); in unctrl_str()
368 dst = safe_zalloc(dstlen); in quote_string_ascii()
407 wide_srcp = wide_src = safe_zalloc(srcbufsz * sizeof (wchar_t)); in quote_string()
434 wide_destp = wide_dest = safe_zalloc(destbufsz * sizeof (wchar_t)); in quote_string()
453 uc = safe_zalloc(destlen); in quote_string()
[all …]
/titanic_50/usr/src/cmd/sa/
H A Dsadc.c94 static void safe_zalloc(void **, int, int);
376 safe_zalloc((void **)&cpu_stat_list, ncpus * sizeof (kstat_t *), 1); in all_stat_init()
377 safe_zalloc((void **)&kmem_cache_list, ncaches * sizeof (kstat_t *), 1); in all_stat_init()
530 safe_zalloc(void **ptr, int size, int free_first) in safe_zalloc() function
618 safe_zalloc((void **) &iodev->next, in init_iodevs()
767 safe_zalloc((void *)&inarray[0], sizeof (**inarray) * max_cpus, in compute_cpu_stat_adj()
769 safe_zalloc((void *)&inarray[1], sizeof (**inarray) * max_cpus, in compute_cpu_stat_adj()
798 safe_zalloc((void **)&ocpu_stat_list, oncpus * in compute_cpu_stat_adj()
801 safe_zalloc((void *)&ocpu_stat_list[i], in compute_cpu_stat_adj()
H A Dsar.c74 static void safe_zalloc(void **, int, int);
427 safe_zalloc((void **)&nxio, size, 1); in prpass()
504 safe_zalloc((void *)&aio, size, 0); in prpass()
505 safe_zalloc((void *)&dio, size, 0); in prpass()
506 safe_zalloc((void *)&oio, size, 0); in prpass()
1254 safe_zalloc(void **ptr, int size, int free_first) in safe_zalloc() function
/titanic_50/usr/src/cmd/power/
H A Dsysstat.c112 static void safe_zalloc(void **, int, int);
214 safe_zalloc((void **)&disk->next, in init_disks()
309 safe_zalloc((void **)&cpu_stats_list, ncpus * sizeof (*cpu_stats_list), in cpu_stats_init()
607 safe_zalloc(void **ptr, int size, int free_first) in safe_zalloc() function
657 safe_zalloc((void **)&node, sizeof (activity_data_t), 0); in keep_activity_data()
729 safe_zalloc(&dst->ks_data, src->ks_data_size, 0); in kstat_copy()
/titanic_50/usr/src/cmd/rpcsvc/
H A Drstat_proc.c150 static void safe_zalloc(void **, int, int);
659 safe_zalloc(void **ptr, int size, int free_first) in safe_zalloc() function
739 safe_zalloc((void **)&cpu_stats_list, ncpus * sizeof (*cpu_stats_list), in system_stat_init()
850 safe_zalloc((void **)&disk->next, in init_disks()
889 safe_zalloc((void **)&stats_s4.dk_xfer.dk_xfer_val, in init_disks()
994 safe_zalloc((void **)&net->next, in init_net()
1094 safe_zalloc(&dst->ks_data, src->ks_data_size, 0); in kstat_copy()
/titanic_50/usr/src/cmd/fs.d/nfs/nfsstat/
H A Dnfsstat.c103 static void safe_zalloc(void **, uint_t, int);
516 safe_zalloc((void **)&ksum_kstat, sizeof (kstat_t), 0); in setup()
1397 safe_zalloc(&dst->ks_data, src->ks_data_size, 0); in nfsstat_kstat_copy()
1410 safe_zalloc(void **ptr, uint_t size, int free_first) in safe_zalloc() function