Home
last modified time | relevance | path

Searched refs:zalloc (Results 1 – 25 of 42) sorted by relevance

12

/illumos-gate/usr/src/lib/libdemangle/common/
H A Dutil.c25 zalloc(sysdem_ops_t *ops, size_t len) in zalloc() function
63 return (zalloc(ops, sz)); in xcalloc()
82 void *temp = zalloc(ops, newsz); in xrealloc()
99 char *str = zalloc(ops, len + 1); in xstrdup()
H A Dstr.c83 dest->str_s = zalloc(src->str_ops, len); in str_copy()
113 temp = zalloc(s->str_ops, newsize); in str_reserve()
H A Ddemangle_int.h103 void *zalloc(sysdem_ops_t *, size_t);
/illumos-gate/usr/src/cmd/refer/
H A Dglue1.c52 extern void *zalloc();
177 hpt = (long *)zalloc(nhash, sizeof (*hpt)); in huntmain()
192 hfreq = (int *)zalloc(nhash, sizeof (*hfreq)); in huntmain()
208 master.b = (long *)zalloc(lmaster, in huntmain()
211 master.a = (unsigned *)zalloc(lmaster, in huntmain()
H A Dhunt2.c28 extern void *zalloc();
61 coord = (int *)zalloc(lmaster, sizeof (lmaster)); in doquery()
64 prevdrop.b = (long *)zalloc(lmaster, sizeof (long)); in doquery()
66 prevdrop.a = (unsigned *)zalloc(lmaster, sizeof (int)); in doquery()
67 prevcoord = (int *)zalloc(lmaster, sizeof (lmaster)); in doquery()
H A Ddeliv2.c58 zalloc(size_t m, size_t n) in zalloc() function
H A Dglue5.c49 extern void *zalloc();
65 www = (struct words *)zalloc(MAXSIZ, sizeof (*www)); in fgrep()
/illumos-gate/usr/src/cmd/format/
H A Dstartup.c1698 tctlr = zalloc(sizeof (struct ctlr_type)); in add_device_to_disklist()
1700 tctlr->ctype_name = zalloc(DK_DEVLEN); in add_device_to_disklist()
1762 first_sector = zalloc(cur_blksz); in add_device_to_disklist()
1861 zalloc(sizeof (struct ctlr_info)); in add_device_to_disklist()
1991 zalloc(sizeof (struct disk_type)); in add_device_to_disklist()
2022 zalloc(sizeof (struct partition_info)); in add_device_to_disklist()
2069 zalloc(sizeof (struct disk_type)); in add_device_to_disklist()
2088 zalloc(strlen(disk_name) + 1); in add_device_to_disklist()
2151 zalloc(sizeof (struct partition_info)); in add_device_to_disklist()
2708 nc = zalloc(sizeof (struct chg_list)); in new_chg_list()
[all …]
H A Dmenu_defect.c85 work_list.list = (struct defect_entry *)zalloc( in d_restore()
343 work_list.list = (struct defect_entry *)zalloc( in d_add()
687 work_list.list = (struct defect_entry *)zalloc( in d_load()
802 work_list.list = (struct defect_entry *)zalloc( in commit_list()
809 cur_list.list = (struct defect_entry *)zalloc( in commit_list()
H A Dmisc.c76 zalloc(int count) in zalloc() function
554 ns = zalloc(1); in alloc_string()
556 ns = zalloc(strlen(s) + 1); in alloc_string()
597 argvlist = zalloc(sizeof (char *) * (*alloc)); in build_argvlist()
H A Dmodify_partition.c494 label = zalloc(sizeof (struct dk_label));
507 part = zalloc(sizeof (struct partition_info));
604 zalloc(sizeof (struct partition_info));
H A Dmisc.h139 void *zalloc(int count);
H A Dmain.c468 cur_buf = (void *) zalloc(BUF_SECTS * cur_blksz); in init_globals()
469 pattern_buf = (void *) zalloc(BUF_SECTS * cur_blksz); in init_globals()
H A Dauto_sense.c322 disk = (struct disk_type *)zalloc(sizeof (struct disk_type)); in auto_efi_sense()
352 zalloc(sizeof (struct partition_info)); in auto_efi_sense()
642 disk = (struct disk_type *)zalloc(sizeof (struct disk_type)); in new_direct_disk_type()
684 zalloc(sizeof (struct partition_info)); in new_direct_disk_type()
851 buf = zalloc(cur_blksz); in auto_sense()
1834 disk = (struct disk_type *)zalloc(sizeof (struct disk_type));
1891 zalloc(sizeof (struct partition_info));
H A Dmenu.c64 list = (char **)zalloc(nitems * sizeof (char *)); in create_menu_list()
H A Dpartition.c424 pptr = (struct partition_info *)zalloc(sizeof (struct partition_info)); in make_partition()
446 map = zalloc(size); in make_partition()
H A Dmenu_command.c557 tptr = (struct disk_type *)zalloc(sizeof (struct disk_type)); in c_type()
1302 buf = zalloc((cur_disk->disk_lbasize == 0) ? in c_repair()
1828 work_list.list = (struct defect_entry *)zalloc( in c_defect()
1916 buf = zalloc(cur_blksz); in c_backup()
2000 zalloc(sizeof (struct partition_info)); in c_backup()
2198 buf = zalloc(cur_blksz); in c_verify()
/illumos-gate/usr/src/cmd/ptools/ptree/
H A Dptree.c130 static void *zalloc(size_t);
450 pp = zalloc(sizeof (*pp)); in ctsort()
591 p0 = zalloc(sizeof (*p0)); in fakepid0()
662 p = zalloc(sizeof (*p)); in add_proc()
749 zalloc(size_t len) in zalloc() function
/illumos-gate/usr/src/cmd/psrinfo/
H A Dpsrinfo.c157 zalloc(size_t size) in zalloc() function
585 vc = zalloc(sizeof (struct vcpu)); in main()
676 chip = zalloc(sizeof (struct pchip)); in main()
688 core = zalloc(sizeof (struct core)); in main()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.h171 alloc_func zalloc; /* used to allocate the internal state */ member
H A Ddeflate.c152 state->strm.zalloc = (alloc_func) z_alloc;
/illumos-gate/usr/src/contrib/zlib/
H A Dinfback.c40 if (strm->zalloc == (alloc_func)0) { in inflateBackInit_()
44 strm->zalloc = zcalloc; in inflateBackInit_()
H A Dzutil.h264 (*((strm)->zalloc))((strm)->opaque, (items), (size))
/illumos-gate/usr/src/common/fs/
H A Ddecompress.c156 zsp->zalloc = cf_alloc; in cf_check_compressed()
/illumos-gate/usr/src/boot/libsa/
H A DMakefile.inc29 SRCS += $(SASRC)/zalloc.c $(SASRC)/zalloc_malloc.c
34 sbrk.o twiddle.o zalloc.o zalloc_malloc.o

12