Home
last modified time | relevance | path

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

12

/titanic_41/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.c43 extern void *bkmem_alloc(size_t);
119 bkmem_alloc(sizeof (struct inode)); in openi()
554 ufs_devp = (devid_t *)bkmem_alloc(sizeof (devid_t)); in bufs_mountroot()
557 ufs_devp->di_desc = (char *)bkmem_alloc(strlen(str) + 1); in bufs_mountroot()
560 head = (fileid_t *)bkmem_alloc(sizeof (fileid_t)); in bufs_mountroot()
620 filep = (fileid_t *)bkmem_alloc(sizeof (fileid_t)); in bufs_open()
627 filep->fi_path = (char *)bkmem_alloc(strlen(filename) + 1); in bufs_open()
796 struct cache *entry = bkmem_alloc(sizeof (*entry)); in set_cache()
H A Dpcfs.c76 extern void *bkmem_alloc(size_t);
122 pcfsp = bkmem_alloc(sizeof (_fat_controller_t)); in bpcfs_mountroot()
123 head = (fileid_t *)bkmem_alloc(sizeof (fileid_t)); in bpcfs_mountroot()
168 cluster_cache = bkmem_alloc(nsec_cache * SECSIZ); in bpcfs_mountroot()
215 filep = (fileid_t *)bkmem_alloc(sizeof (fileid_t)); in bpcfs_open()
222 filep->fi_path = (char *)bkmem_alloc(strlen(str) + 1); in bpcfs_open()
H A Dhsfs.c85 extern void *bkmem_alloc(size_t);
184 ip = filep->fi_inode = bkmem_alloc(sizeof (*ip)); in opendir()
411 hsfsp = bkmem_alloc(sizeof (*hsfsp)); in bhsfs_mountroot()
413 head = bkmem_alloc(sizeof (*head)); in bhsfs_mountroot()
482 filep = (fileid_t *)bkmem_alloc(sizeof (fileid_t)); in bhsfs_open()
489 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()
/titanic_41/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()
/titanic_41/usr/src/stand/lib/fs/nfs/
H A Dauth_unix.c93 auth = (AUTH *) bkmem_alloc(sizeof (*auth)); in authunix_create()
99 au = (struct audata *)bkmem_alloc(sizeof (*au)); in authunix_create()
136 if ((au->au_origcred.oa_base = bkmem_alloc((uint_t)len)) == NULL) { in authunix_create()
H A Drpc.c225 trm_msg = bkmem_alloc(trm_len); in brpc_call()
226 rcv_msg = bkmem_alloc(NFSBUF_SIZE); in brpc_call()
H A Dclnt_btcp.c131 cl = (CLIENT *)bkmem_alloc(sizeof (CLIENT)); in clntbtcp_create()
139 ct = (struct ct_data *)bkmem_alloc(sizeof (*ct)); in clntbtcp_create()
H A Dclnt_budp.c124 cl = (CLIENT *)bkmem_alloc(sizeof (CLIENT));
133 cu = (struct cu_data *)bkmem_alloc(sizeof (*cu) + sendsz + recvsz);
H A Dlookup.c230 bkmem_alloc(sizeof (struct nfs_file))) { in stlookuppn()
/titanic_41/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()
/titanic_41/usr/src/psm/stand/boot/sparc/common/
H A Dramdisk.c287 fth_buf = bkmem_alloc(buf_size); in create_ramdisk()
373 fth_buf = bkmem_alloc(buf_size); in boot_ramdisk()
/titanic_41/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()
/titanic_41/usr/src/stand/lib/fs/ufs/
H A Dufsops.c142 bkmem_alloc(sizeof (struct inode)); in openi()
625 ufs_devp = (devid_t *)bkmem_alloc(sizeof (devid_t)); in boot_ufs_mountroot()
628 ufs_devp->di_desc = (char *)bkmem_alloc(strlen(str) + 1); in boot_ufs_mountroot()
631 head = (fileid_t *)bkmem_alloc(sizeof (fileid_t)); in boot_ufs_mountroot()
684 filep = (fileid_t *)bkmem_alloc(sizeof (fileid_t)); in boot_ufs_open()
691 filep->fi_path = (char *)bkmem_alloc(strlen(filename) + 1); in boot_ufs_open()
/titanic_41/usr/src/stand/sys/
H A Dsalib.h60 extern void *bkmem_alloc(size_t);
H A Dbootsyms.h92 extern void *bkmem_alloc(size_t);
/titanic_41/usr/src/lib/libpkg/common/
H A Dnhash.h63 #define malloc bkmem_alloc
H A Dnhash.c41 #define malloc bkmem_alloc
/titanic_41/usr/src/stand/lib/sa/
H A Dmalloc.c40 iaddr = (size_t *)bkmem_alloc(size + sizeof (size_t)); in malloc()
/titanic_41/usr/src/cmd/lvm/rpc.metamedd/
H A Dmed_hash.h66 #define malloc bkmem_alloc
/titanic_41/usr/src/psm/stand/bootlst/common/
H A Dsasubr.c43 bkmem_alloc(size_t s) in bkmem_alloc() function
/titanic_41/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()
/titanic_41/usr/src/cmd/boot/installgrub/
H A Dpcfs_glue.c110 bkmem_alloc(size_t s) in bkmem_alloc() function

12