Home
last modified time | relevance | path

Searched refs:bkmem_alloc (Results 1 – 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/common/fs/
H A Ddecompress.c60 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 Dufsops.c46 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 Dpcfs.c74 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 Dhsfs.c83 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 Dbootfsops.c37 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 Dmac.c170 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 Ddhcpv4.c975 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 Dauth_unix.c91 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 Drpc.c223 trm_msg = bkmem_alloc(trm_len); in brpc_call()
224 rcv_msg = bkmem_alloc(NFSBUF_SIZE); in brpc_call()
H A Dclnt_budp.c117 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 Dclnt_btcp.c129 cl = (CLIENT *)bkmem_alloc(sizeof (CLIENT)); in clntbtcp_create()
137 ct = (struct ct_data *)bkmem_alloc(sizeof (*ct)); in clntbtcp_create()
H A Dlookup.c230 bkmem_alloc(sizeof (struct nfs_file))) { in stlookuppn()
/illumos-gate/usr/src/stand/lib/fs/common/
H A Dcache.c218 (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/psm/stand/boot/sparc/common/
H A Dramdisk.c286 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/fs/ufs/
H A Dufsops.c143 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/stand/lib/tcp/
H A Dtcp_sack.c262 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 Dsalib.h60 extern void *bkmem_alloc(size_t);
H A Dbootsyms.h85 extern void *bkmem_alloc(size_t);
/illumos-gate/usr/src/lib/libpkg/common/
H A Dnhash.h63 #define malloc bkmem_alloc
H A Dnhash.c41 #define malloc bkmem_alloc
/illumos-gate/usr/src/stand/lib/sa/
H A Dmalloc.c40 iaddr = (size_t *)bkmem_alloc(size + sizeof (size_t)); in malloc()
/illumos-gate/usr/src/stand/lib/fs/hsfs/
H A Dhsfsops.c480 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/psm/stand/bootlst/common/
H A Dsasubr.c43 bkmem_alloc(size_t s) in bkmem_alloc() function
/illumos-gate/usr/src/uts/common/krtld/
H A Dbootrd_cpio.c63 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 Dpcfs_glue.c110 bkmem_alloc(size_t s) in bkmem_alloc() function

12