Searched refs:safe_alloc (Results 1 – 7 of 7) sorted by relevance
356 entry = safe_alloc(sizeof (disk_list_t)); in lookup_ks_name()407 rstr = safe_alloc(len); in lookup_nfs_name()
145 item = safe_alloc(sizeof (mnt_t)); in build_mnt_list()
45 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()
239 void *safe_alloc(size_t size);
310 ss = safe_alloc(sizeof (struct snapshot)); in acquire_snapshot()406 safe_alloc(size_t size) in safe_alloc() function
1240 df.if_names = safe_alloc(count * sizeof (char *)); in do_args()1466 tmp = safe_alloc(sizeof (format_t)); in setup()
130 df.if_names = safe_alloc(df.if_max_iodevs * sizeof (char *)); in main()