Home
last modified time | relevance | path

Searched refs:safe_alloc (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/stat/common/
H A Ddsr.c356 entry = safe_alloc(sizeof (disk_list_t)); in lookup_ks_name()
407 rstr = safe_alloc(len); in lookup_nfs_name()
H A Dmnt.c145 item = safe_alloc(sizeof (mnt_t)); in build_mnt_list()
H A Dacquire_iodevs.c45 new = safe_alloc(sizeof (struct iodev_snapshot)); in make_controller()
604 target = safe_alloc(1 + p2 - p1); in get_ids()
825 tptr = safe_alloc(sizeof (*old)); in make_extended_device()
828 tptr->is_pretty = safe_alloc(strlen(old->is_pretty) + 1); in make_extended_device()
H A Dstatcommon.h239 void *safe_alloc(size_t size);
H A Dacquire.c310 ss = safe_alloc(sizeof (struct snapshot)); in acquire_snapshot()
406 safe_alloc(size_t size) in safe_alloc() function
/illumos-gate/usr/src/cmd/stat/iostat/
H A Diostat.c1240 df.if_names = safe_alloc(count * sizeof (char *)); in do_args()
1466 tmp = safe_alloc(sizeof (format_t)); in setup()
/illumos-gate/usr/src/cmd/stat/vmstat/
H A Dvmstat.c130 df.if_names = safe_alloc(df.if_max_iodevs * sizeof (char *)); in main()