/illumos-gate/usr/src/boot/common/ |
H A D | gfx_fb.c | 2017 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 D | install.c | 87 *what = calloc(count + 1, sizeof(char *)); in setmultipath()
|
H A D | interp.c | 152 argvbuf = (char**) calloc((u_int)argc, sizeof(char*)); in command_include()
|
H A D | module.c | 1142 mp = calloc(1, sizeof (struct kernel_module)); in file_addmodule() 1204 return (calloc(1, sizeof (struct preloaded_file))); in file_alloc()
|
H A D | tem.c | 237 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 D | vdisk.c | 126 vd = calloc(1, sizeof (*vd)); in command_mapvd()
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | efi_console.c | 513 ecd = calloc(1, sizeof (*ecd)); in efi_cons_init()
|
H A D | efinet.c | 338 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 D | efipart.c | 376 if ((pd = calloc(1, sizeof (*pd))) == NULL) { in efipart_inithandles()
|
/illumos-gate/usr/src/boot/efi/loader/ |
H A D | framebuffer.c | 159 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 D | biosdisk.c | 310 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 D | vbe.c | 378 cmap = calloc(CMAP_SIZE, sizeof (*cmap)); in vbe_set_palette()
|
/illumos-gate/usr/src/boot/include/ |
H A D | stdlib.h | 90 void *calloc(size_t, size_t) __malloc_like __result_use_check
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | ip.c | 153 if ((ipq = calloc(1, sizeof (*ipq))) == NULL) in ip_reasm_add() 300 if ((ipr = calloc(1, sizeof (*ipr))) == NULL) { in readipv4()
|
H A D | netif.c | 325 s = calloc(1, sizeof (*s)); in netif_open()
|
H A D | open.c | 117 f = calloc(1, sizeof (*f)); in o_gethandle()
|
H A D | stand.h | 448 #define calloc(x, y) Calloc(x, y, __FILE__, __LINE__) macro 455 #define calloc(x, y) Calloc(x, y, NULL, 0) macro
|
H A D | tftp.c | 449 tftpfile = calloc(1, sizeof (*tftpfile)); in tftp_open()
|
/illumos-gate/usr/src/boot/libsa/zfs/ |
H A D | nvlist.c | 375 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 D | zfs.c | 107 fp = calloc(1, sizeof (struct file)); in zfs_open()
|
H A D | zfsimpl.c | 288 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 D | bitstring.h | 56 (bitstr_t *)calloc((size_t)bitstr_size(nbits), sizeof(bitstr_t))
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/ |
H A D | bucket.c | 69 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 D | util.c | 52 if ((t = calloc((size_t)1, (size_t)(sizeof (table_t) + in create_stringtable()
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | symtab.c | 774 if ((e = (ENTRY *)calloc(1, sizeof (ENTRY))) == NULL) { in allocate_entry() 850 if ((p = (EHEAD *)calloc(1, in create_entry_table()
|