Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/cmd/refer/
H A Dglue1.c54 extern void *zalloc();
179 hpt = (long *)zalloc(nhash, sizeof (*hpt)); in huntmain()
194 hfreq = (int *)zalloc(nhash, sizeof (*hfreq)); in huntmain()
210 master.b = (long *)zalloc(lmaster, in huntmain()
213 master.a = (unsigned *)zalloc(lmaster, in huntmain()
H A Dhunt2.c30 extern void *zalloc();
63 coord = (int *)zalloc(lmaster, sizeof (lmaster)); in doquery()
66 prevdrop.b = (long *)zalloc(lmaster, sizeof (long)); in doquery()
68 prevdrop.a = (unsigned *)zalloc(lmaster, sizeof (int)); in doquery()
69 prevcoord = (int *)zalloc(lmaster, sizeof (lmaster)); in doquery()
H A Ddeliv2.c61 zalloc(size_t m, size_t n) in zalloc() function
H A Dglue5.c52 extern void *zalloc();
68 www = (struct words *)zalloc(MAXSIZ, sizeof (*www)); in fgrep()
/titanic_41/usr/src/cmd/format/
H A Dstartup.c563 dtype_name = (char *)zalloc(strlen(cleaned) + 1); in sup_setdtype()
565 dtype = (struct disk_type *)zalloc(sizeof (struct disk_type)); in sup_setdtype()
968 pinfo_name = (char *)zalloc(strlen(cleaned) + 1); in sup_setpart()
970 pinfo = (struct partition_info *)zalloc(sizeof (struct partition_info)); in sup_setpart()
1678 tctlr = zalloc(sizeof (struct ctlr_type)); in add_device_to_disklist()
1680 tctlr->ctype_name = zalloc(DK_DEVLEN); in add_device_to_disklist()
1698 tctlr->ctype_ops = zalloc(sizeof (struct ctlr_ops)); in add_device_to_disklist()
1713 mlp->next = zalloc(sizeof (struct mctlr_list)); in add_device_to_disklist()
1742 first_sector = zalloc(cur_blksz); in add_device_to_disklist()
1763 search_disk = (struct disk_info *)zalloc(sizeof (struct disk_info)); in add_device_to_disklist()
[all …]
H A Dmenu_defect.c94 work_list.list = (struct defect_entry *)zalloc( in d_restore()
352 work_list.list = (struct defect_entry *)zalloc( in d_add()
696 work_list.list = (struct defect_entry *)zalloc( in d_load()
811 work_list.list = (struct defect_entry *)zalloc( in commit_list()
818 cur_list.list = (struct defect_entry *)zalloc( in commit_list()
H A Dmisc.c85 zalloc(count) in zalloc() function
579 ns = (char *)zalloc(1);
581 ns = (char *)zalloc(strlen(s) + 1);
627 zalloc(sizeof (char *) * (*alloc));
H A Dmodify_partition.c514 label = zalloc(sizeof (struct dk_label));
528 zalloc(sizeof (struct partition_info));
629 zalloc(sizeof (struct partition_info));
H A Dmisc.h139 void *zalloc(int count);
H A Dmain.c443 cur_buf = (void *) zalloc(BUF_SECTS * cur_blksz);
444 pattern_buf = (void *) zalloc(BUF_SECTS * cur_blksz);
H A Dmenu_command.c552 tptr = (struct disk_type *)zalloc(sizeof (struct disk_type)); in c_type()
1293 buf = zalloc((cur_disk->disk_lbasize == 0) ? in c_repair()
1818 work_list.list = (struct defect_entry *)zalloc( in c_defect()
1906 buf = zalloc(cur_blksz); in c_backup()
1990 zalloc(sizeof (struct partition_info)); in c_backup()
2185 buf = zalloc(cur_blksz); in c_verify()
H A Dmenu.c77 list = (char **)zalloc(nitems * sizeof (char *));
H A Dauto_sense.c325 disk = (struct disk_type *)zalloc(sizeof (struct disk_type)); in auto_efi_sense()
355 zalloc(sizeof (struct partition_info)); in auto_efi_sense()
699 disk = (struct disk_type *)zalloc(sizeof (struct disk_type)); in new_direct_disk_type()
741 zalloc(sizeof (struct partition_info)); in new_direct_disk_type()
908 buf = zalloc(cur_blksz); in auto_sense()
1891 disk = (struct disk_type *)zalloc(sizeof (struct disk_type));
1948 zalloc(sizeof (struct partition_info));
H A Dpartition.c423 pptr = (struct partition_info *)zalloc(sizeof (struct partition_info)); in make_partition()
444 map = zalloc(size); in make_partition()
H A Ddefect.c136 list->list = (struct defect_entry *)zalloc(size * cur_blksz); in read_list()
H A Dctlr_ata.c219 bufaddr = (char *)zalloc(4 * cur_blksz); in ata_ck_format()
/titanic_41/usr/src/cmd/psrinfo/
H A Dpsrinfo.c141 zalloc(size_t size) in zalloc() function
478 vc = zalloc(sizeof (struct vcpu)); in main()
568 chip = zalloc(sizeof (struct pchip)); in main()
579 core = zalloc(sizeof (struct core)); in main()
/titanic_41/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;
/titanic_41/usr/src/uts/common/zmod/
H A Dzutil.h270 (*((strm)->zalloc))((strm)->opaque, (items), (size))
H A Dinflate.c164 if (strm->zalloc == (alloc_func)0) {
165 strm->zalloc = zcalloc;
1361 source->zalloc == (alloc_func)0 || source->zfree == (free_func)0)
H A Dzlib.h96 alloc_func zalloc; /* used to allocate the internal state */ member
/titanic_41/usr/src/common/fs/
H A Ddecompress.c156 zsp->zalloc = cf_alloc; in cf_check_compressed()
/titanic_41/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.h416 alloc_func zalloc; /* used to allocate the internal state */ member
H A Ddeflate.c220 state->strm.zalloc = (alloc_func)z_alloc; in z_comp_alloc()
674 state->strm.zalloc = (alloc_func)z_alloc; in z_decomp_alloc()

12