/illumos-gate/usr/src/common/fs/ |
H A D | decompress.c | 60 extern void *bkmem_alloc(size_t); 79 ptr = bkmem_alloc(nbytes); in cf_alloc() 144 filep->fi_dcscrbuf = bkmem_alloc(DECOMP_BUFSIZE); in cf_check_compressed() 148 zsp = bkmem_alloc(sizeof (*zsp)); in cf_check_compressed()
|
H A D | ufsops.c | 46 extern void *bkmem_alloc(size_t); 122 bkmem_alloc(sizeof (struct inode)); in openi() 561 ufs_devp = (devid_t *)bkmem_alloc(sizeof (devid_t)); in bufs_mountroot() 564 ufs_devp->di_desc = (char *)bkmem_alloc(strlen(str) + 1); in bufs_mountroot() 567 head = (fileid_t *)bkmem_alloc(sizeof (fileid_t)); in bufs_mountroot() 627 filep = (fileid_t *)bkmem_alloc(sizeof (fileid_t)); in bufs_open() 634 filep->fi_path = (char *)bkmem_alloc(strlen(filename) + 1); in bufs_open() 814 struct cache *entry = bkmem_alloc(sizeof (*entry)); in set_cache()
|
H A D | pcfs.c | 74 extern void *bkmem_alloc(size_t); 120 pcfsp = bkmem_alloc(sizeof (_fat_controller_t)); in bpcfs_mountroot() 121 head = (fileid_t *)bkmem_alloc(sizeof (fileid_t)); in bpcfs_mountroot() 166 cluster_cache = bkmem_alloc(nsec_cache * SECSIZ); in bpcfs_mountroot() 213 filep = (fileid_t *)bkmem_alloc(sizeof (fileid_t)); in bpcfs_open() 220 filep->fi_path = (char *)bkmem_alloc(strlen(str) + 1); in bpcfs_open()
|
H A D | hsfs.c | 83 extern void *bkmem_alloc(size_t); 182 ip = filep->fi_inode = bkmem_alloc(sizeof (*ip)); in opendir() 410 hsfsp = bkmem_alloc(sizeof (*hsfsp)); in bhsfs_mountroot() 412 head = bkmem_alloc(sizeof (*head)); in bhsfs_mountroot() 481 filep = (fileid_t *)bkmem_alloc(sizeof (fileid_t)); in bhsfs_open() 488 filep->fi_path = (char *)bkmem_alloc(strlen(str) + 1); in bhsfs_open()
|
H A D | bootfsops.c | 37 extern void *bkmem_alloc(size_t); 150 if ((fp = bkmem_alloc(sizeof (bfile_t))) == NULL) { in bbootfs_init()
|
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | mac.c | 170 mac_state.mac_addr_buf = bkmem_alloc(mac_state.mac_addr_len); in mac_init() 195 mac_state.mac_addr_buf = bkmem_alloc(mac_state.mac_addr_len); in mac_init() 219 mac_state.mac_addr_buf = bkmem_alloc(mac_state.mac_addr_len); in mac_init() 247 mac_state.mac_addr_buf = bkmem_alloc(mac_state.mac_addr_len); in mac_init() 261 mac_state.mac_buf = bkmem_alloc(mac_state.mac_mtu); in mac_init()
|
H A D | dhcpv4.c | 975 if ((hp = (uint8_t *)bkmem_alloc( in dhcp_bound() 1051 if ((bootp_response = bkmem_alloc(buflen)) == NULL) in create_bootpresponse_bprop() 1139 dhcp_snd_bufp = (PKT *)bkmem_alloc(dhcp_buf_size); in dhcp() 1140 dhcp_rcv_bufp = (PKT *)bkmem_alloc(dhcp_buf_size); in dhcp()
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | auth_unix.c | 91 auth = (AUTH *) bkmem_alloc(sizeof (*auth)); in authunix_create() 96 au = (struct audata *)bkmem_alloc(sizeof (*au)); in authunix_create() 129 if ((au->au_origcred.oa_base = bkmem_alloc((uint_t)len)) == NULL) { in authunix_create()
|
H A D | rpc.c | 223 trm_msg = bkmem_alloc(trm_len); in brpc_call() 224 rcv_msg = bkmem_alloc(NFSBUF_SIZE); in brpc_call()
|
H A D | clnt_btcp.c | 129 cl = (CLIENT *)bkmem_alloc(sizeof (CLIENT)); in clntbtcp_create() 137 ct = (struct ct_data *)bkmem_alloc(sizeof (*ct)); in clntbtcp_create()
|
H A D | clnt_budp.c | 117 cl = (CLIENT *)bkmem_alloc(sizeof (CLIENT)); in clntbudp_bufcreate() 126 cu = (struct cu_data *)bkmem_alloc(sizeof (*cu) + sendsz + recvsz); in clntbudp_bufcreate()
|
H A D | lookup.c | 230 bkmem_alloc(sizeof (struct nfs_file))) { in stlookuppn()
|
/illumos-gate/usr/src/stand/lib/fs/common/ |
H A D | cache.c | 218 (cap = (cache_t *)bkmem_alloc(chp->size))) { in set_cache() 416 if (dcp->dc_hdr.data = (void *)bkmem_alloc(len)) { in set_dcache() 456 if ((dcp->dc_hdr.data = (void *)bkmem_alloc(len)) == NULL) { in set_rdcache() 539 if (fp->fi_memp = bkmem_alloc(x_len = fp->fi_count)) { in set_bcache()
|
/illumos-gate/usr/src/stand/lib/fs/ufs/ |
H A D | ufsops.c | 143 bkmem_alloc(sizeof (struct inode)); in openi() 626 ufs_devp = (devid_t *)bkmem_alloc(sizeof (devid_t)); in boot_ufs_mountroot() 629 ufs_devp->di_desc = (char *)bkmem_alloc(strlen(str) + 1); in boot_ufs_mountroot() 632 head = (fileid_t *)bkmem_alloc(sizeof (fileid_t)); in boot_ufs_mountroot() 685 filep = (fileid_t *)bkmem_alloc(sizeof (fileid_t)); in boot_ufs_open() 692 filep->fi_path = (char *)bkmem_alloc(strlen(filename) + 1); in boot_ufs_open()
|
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | ramdisk.c | 286 fth_buf = bkmem_alloc(buf_size); in create_ramdisk() 372 fth_buf = bkmem_alloc(buf_size); in boot_ramdisk()
|
/illumos-gate/usr/src/stand/lib/tcp/ |
H A D | tcp_sack.c | 262 if ((new = (notsack_blk_t *)bkmem_alloc( in tcp_notsack_insert() 406 if ((tmp = (notsack_blk_t *)bkmem_alloc( in tcp_notsack_update() 435 tmp->next = (notsack_blk_t *)bkmem_alloc( in tcp_notsack_update()
|
/illumos-gate/usr/src/stand/sys/ |
H A D | salib.h | 60 extern void *bkmem_alloc(size_t);
|
H A D | bootsyms.h | 85 extern void *bkmem_alloc(size_t);
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | nhash.h | 63 #define malloc bkmem_alloc
|
H A D | nhash.c | 41 #define malloc bkmem_alloc
|
/illumos-gate/usr/src/stand/lib/fs/hsfs/ |
H A D | hsfsops.c | 480 devp = (devid_t *)bkmem_alloc(sizeof (devid_t)); in boot_hsfs_mountroot() 483 devp->di_desc = (char *)bkmem_alloc(strlen(str) + 1); in boot_hsfs_mountroot() 486 head = (fileid_t *)bkmem_alloc(sizeof (fileid_t)); in boot_hsfs_mountroot() 578 filep = (fileid_t *)bkmem_alloc(sizeof (fileid_t)); in boot_hsfs_open() 586 filep->fi_path = (char *)bkmem_alloc(strlen(filename) + 1); in boot_hsfs_open() 962 filep->fi_inode = (struct inode *)bkmem_alloc(sizeof (struct inode)); in hs_seti()
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | malloc.c | 40 iaddr = (size_t *)bkmem_alloc(size + sizeof (size_t)); in malloc()
|
/illumos-gate/usr/src/psm/stand/bootlst/common/ |
H A D | sasubr.c | 43 bkmem_alloc(size_t s) in bkmem_alloc() function
|
/illumos-gate/usr/src/uts/common/krtld/ |
H A D | bootrd_cpio.c | 63 extern void *bkmem_alloc(size_t); 368 file = bkmem_alloc(sizeof (struct cpio_file)); in bcpio_open()
|
/illumos-gate/usr/src/cmd/boot/installgrub/ |
H A D | pcfs_glue.c | 110 bkmem_alloc(size_t s) in bkmem_alloc() function
|