Home
last modified time | relevance | path

Searched refs:calloc (Results 1 – 25 of 1280) sorted by path

12345678910>>...52

/illumos-gate/usr/src/boot/common/
H A Dgfx_fb.c2017 if ((fp = calloc(1, sizeof (struct font))) == NULL) in load_font()
2067 if ((fp = calloc(1, sizeof (struct font))) == NULL) { in load_font()
2240 fp = calloc(sizeof (*fp), 1); in insert_font()
2245 fp->font_data = calloc(sizeof (*fp->font_data), 1); in insert_font()
H A Dinstall.c87 *what = calloc(count + 1, sizeof(char *)); in setmultipath()
H A Dinterp.c152 argvbuf = (char**) calloc((u_int)argc, sizeof(char*)); in command_include()
H A Dmodule.c1142 mp = calloc(1, sizeof (struct kernel_module)); in file_addmodule()
1204 return (calloc(1, sizeof (struct preloaded_file))); in file_alloc()
H A Dtem.c237 ptem->tvs_tabs = calloc(ptem->tvs_maxtab, sizeof (*ptem->tvs_tabs)); in tem_internal_init()
270 ptem = calloc(1, sizeof (struct tem_vt_state)); in tem_init()
H A Dvdisk.c126 vd = calloc(1, sizeof (*vd)); in command_mapvd()
/illumos-gate/usr/src/boot/efi/libefi/
H A Defi_console.c513 ecd = calloc(1, sizeof (*ecd)); in efi_cons_init()
H A Definet.c338 efinetif.netif_ifs = calloc(nifs, sizeof (struct netif_dif)); in efinet_dev_init()
339 stats = calloc(nifs, sizeof (struct netif_stats)); in efinet_dev_init()
H A Defipart.c376 if ((pd = calloc(1, sizeof (*pd))) == NULL) { in efipart_inithandles()
/illumos-gate/usr/src/boot/efi/loader/
H A Dframebuffer.c159 data1 = calloc(maxcount, 2); in efifb_uga_find_pixel()
478 edid_infop = calloc(1, size); in efifb_gop_get_edid()
/illumos-gate/usr/src/boot/i386/libi386/
H A Dbiosdisk.c310 if ((bd = calloc(1, sizeof (*bd))) == NULL) in fd_init()
344 if ((bd = calloc(1, sizeof (*bd))) == NULL) in bd_init()
448 if ((bd = calloc(1, sizeof (*bd))) == NULL) in bc_add()
H A Dvbe.c378 cmap = calloc(CMAP_SIZE, sizeof (*cmap)); in vbe_set_palette()
/illumos-gate/usr/src/boot/include/
H A Dstdlib.h90 void *calloc(size_t, size_t) __malloc_like __result_use_check
/illumos-gate/usr/src/boot/libsa/
H A Dip.c153 if ((ipq = calloc(1, sizeof (*ipq))) == NULL) in ip_reasm_add()
300 if ((ipr = calloc(1, sizeof (*ipr))) == NULL) { in readipv4()
H A Dnetif.c325 s = calloc(1, sizeof (*s)); in netif_open()
H A Dopen.c117 f = calloc(1, sizeof (*f)); in o_gethandle()
H A Dstand.h448 #define calloc(x, y) Calloc(x, y, __FILE__, __LINE__) macro
455 #define calloc(x, y) Calloc(x, y, NULL, 0) macro
H A Dtftp.c449 tftpfile = calloc(1, sizeof (*tftpfile)); in tftp_open()
/illumos-gate/usr/src/boot/libsa/zfs/
H A Dnvlist.c375 nvl = calloc(1, sizeof (*nvl)); in nvlist_create()
383 nvs = calloc(1, nvl->nv_asize); in nvlist_create()
851 nv = calloc(1, sizeof (*nv)); in clone_nvlist()
946 nvlist = calloc(nvp_data->nv_nelem, in nvlist_find()
H A Dzfs.c107 fp = calloc(1, sizeof (struct file)); in zfs_open()
H A Dzfsimpl.c288 vim = calloc(1, sizeof (*vim)); in vdev_indirect_mapping_open()
292 vim->vim_dn = calloc(1, sizeof (*vim->vim_dn)); in vdev_indirect_mapping_open()
698 iv = calloc(1, sizeof (*iv)); in vdev_indirect_read()
851 vdev = calloc(1, sizeof (vdev_t)); in vdev_create()
1393 if ((spa = calloc(1, sizeof (spa_t))) == NULL) in spa_create()
1747 be = calloc(1, sizeof (*be)); in vdev_write_bootenv()
/illumos-gate/usr/src/boot/sys/sys/
H A Dbitstring.h56 (bitstr_t *)calloc((size_t)bitstr_size(nbits), sizeof(bitstr_t))
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/
H A Dbucket.c69 if ((Buckethead = calloc(sizeof (bucket_t *), NLISTS)) == NULL) { in create_lists()
496 if ((b = (bucket_t *)calloc(1, sizeof (bucket_t))) == NULL) { in new_bucket()
643 if ((Hashhead.hh_map = calloc(sizeof (hashmap_t), HASHMAPSIZE)) in new_hashmap()
H A Dutil.c52 if ((t = calloc((size_t)1, (size_t)(sizeof (table_t) + in create_stringtable()
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dsymtab.c774 if ((e = (ENTRY *)calloc(1, sizeof (ENTRY))) == NULL) { in allocate_entry()
850 if ((p = (EHEAD *)calloc(1, in create_entry_table()

12345678910>>...52