/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit_mem.c | 60 buffer = kmem_cache_alloc(au_buf_cache, KM_NOSLEEP); in au_get_buff() 67 buffer = kmem_cache_alloc(au_buf_cache, KM_SLEEP); in au_get_buff()
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | rctlsys.c | 266 nval = kmem_cache_alloc(rctl_val_cache, KM_SLEEP); in rctlsys_get() 329 oval = kmem_cache_alloc(rctl_val_cache, KM_SLEEP); in rctlsys_get() 437 nval = kmem_cache_alloc(rctl_val_cache, KM_SLEEP); in rctlsys_set() 449 oval = kmem_cache_alloc(rctl_val_cache, KM_SLEEP); in rctlsys_set() 450 rval1 = kmem_cache_alloc(rctl_val_cache, KM_SLEEP); in rctlsys_set() 451 rval2 = kmem_cache_alloc(rctl_val_cache, KM_SLEEP); in rctlsys_set() 935 new_val = kmem_cache_alloc(rctl_val_cache, KM_SLEEP); in rctlsys_projset() 936 alloc_val = kmem_cache_alloc(rctl_val_cache, KM_SLEEP); in rctlsys_projset()
|
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/ |
H A D | fake_stream.c | 126 if ((dbp->db_mblk = kmem_cache_alloc(mblk_cache, kmflags)) == NULL) in dblk_constructor() 157 if ((dbp->db_mblk = kmem_cache_alloc(mblk_cache, kmflags)) == NULL) in dblk_esb_constructor() 175 if ((dbp->db_mblk = kmem_cache_alloc(mblk_cache, kmflags)) == NULL) in bcache_dblk_constructor() 178 dbp->db_base = kmem_cache_alloc(bcp->buffer_cache, kmflags); in bcache_dblk_constructor() 313 if ((dbp = kmem_cache_alloc(dblk_cache[index], KM_NOSLEEP)) == NULL) { in allocb() 591 if ((new_mp = kmem_cache_alloc(mblk_cache, KM_NOSLEEP)) == NULL) in dupb() 643 if ((dbp = kmem_cache_alloc(dblk_esb_cache, kmflags)) == NULL) { in gesballoc() 759 if ((dbp = kmem_cache_alloc(bcp->dblk_cache, KM_NOSLEEP)) == NULL) { in bcache_allocb() 861 dbp = kmem_cache_alloc(dblk_cache[index], KM_SLEEP); in allocb_wait()
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_sack.c | 256 if ((new = kmem_cache_alloc( in tcp_notsack_insert() 399 if ((tmp = kmem_cache_alloc(tcp_notsack_blk_cache, in tcp_notsack_update() 428 tmp->next = kmem_cache_alloc(tcp_notsack_blk_cache, KM_NOSLEEP); in tcp_notsack_update()
|
/illumos-gate/usr/src/uts/common/net/ |
H A D | radix.h | 175 #define R_Malloc(p, c, n) p = kmem_cache_alloc((c), KM_NOSLEEP) 177 if (p = kmem_cache_alloc((c), KM_NOSLEEP)) {\
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | audit_core.c | 85 pad0 = kmem_cache_alloc(au_pad_cache, KM_SLEEP); in audit_init() 217 pad = kmem_cache_alloc(au_pad_cache, KM_SLEEP); in audit_newproc()
|
H A D | id32.c | 76 void **hent = kmem_cache_alloc(id32_cache, kmflag); in id32_alloc()
|
H A D | modhash.c | 558 entry = kmem_cache_alloc(mh_e_cache, hash->mh_sleep); in i_mod_hash_insert_nosync() 634 *handlep = kmem_cache_alloc(mh_e_cache, hash->mh_sleep); in mod_hash_reserve() 646 *handlep = kmem_cache_alloc(mh_e_cache, KM_NOSLEEP); in mod_hash_reserve_nosleep()
|
H A D | port_subr.c | 261 pkevp = kmem_cache_alloc(port_control.pc_cache, KM_NOSLEEP); in port_alloc_event() 322 pkevp = kmem_cache_alloc(port_control.pc_cache, KM_NOSLEEP); in port_alloc_event_local() 357 kmem_cache_alloc(port_control.pc_cache, KM_SLEEP); in port_alloc_event_block()
|
H A D | tlabel.c | 88 ts_label_t *lab = kmem_cache_alloc(tslabel_cache, flag); in labelalloc() 109 ts_label_t *lab = kmem_cache_alloc(tslabel_cache, flag); in labeldup()
|
/illumos-gate/usr/src/uts/common/ipp/ipgpc/ |
H A D | table.c | 79 table[x].next = kmem_cache_alloc(ht_node_cache, KM_SLEEP); in ht_insert() 100 p = kmem_cache_alloc(ht_node_cache, KM_SLEEP); in ht_insert()
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | machdep.c | 148 mpcb->mpcb_wbuf = kmem_cache_alloc(wbuf32_cache, KM_SLEEP); in lwp_stk_init() 151 mpcb->mpcb_wbuf = kmem_cache_alloc(wbuf64_cache, KM_SLEEP); in lwp_stk_init() 222 wbuf = kmem_cache_alloc(wbuf64_cache, KM_SLEEP); in lwp_forkregs() 226 wbuf = kmem_cache_alloc(wbuf32_cache, KM_SLEEP); in lwp_forkregs()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_mbuf_util.c | 111 mbc = kmem_cache_alloc(smb_mbc_cache, KM_SLEEP); in smb_mbc_alloc() 619 m = kmem_cache_alloc(smb_mbuf_cache, KM_SLEEP); in smb_mbuf_alloc() 635 p = kmem_cache_alloc(smb_mbufcl_cache, KM_SLEEP); in smb_mbufcl_alloc()
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | auth_none.c | 63 return (kmem_cache_alloc(authnone_cache, KM_SLEEP)); in authnone_create()
|
/illumos-gate/usr/src/uts/common/io/sdcard/impl/ |
H A D | sda_cmd.c | 268 c = kmem_cache_alloc(sda_cmd_cache, kmflag); in sda_cmd_alloc() 301 c = kmem_cache_alloc(sda_cmd_cache, kmflag); in sda_cmd_alloc_acmd()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | kmem.h | 131 extern void *kmem_cache_alloc(kmem_cache_t *, int);
|
H A D | strft.h | 152 _hp = kmem_cache_alloc(fthdr_cache, KM_NOSLEEP); \
|
/illumos-gate/usr/src/uts/common/fs/bootfs/ |
H A D | bootfs_construct.c | 151 bnp = kmem_cache_alloc(bootfs_node_cache, KM_SLEEP); in bootfs_mkroot() 186 bnp = kmem_cache_alloc(bootfs_node_cache, KM_SLEEP); in bootfs_mknode()
|
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | kmem.c | 114 kmem_cache_alloc(kmem_cache_t *kc, int kmflags) in kmem_cache_alloc() function
|
/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | sockmod_sdp.c | 104 so = kmem_cache_alloc(socket_cache, kmflags); in socksdp_create()
|
H A D | sockmod_sctp.c | 141 ss = kmem_cache_alloc(sosctp_sockcache, kmflags); in socksctp_create()
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | hma_fpu.c | 101 kmem_cache_alloc(fpsave_cachep, kmflag); in hma_fpu_alloc() 359 kmem_cache_alloc(fpsave_cachep, KM_SLEEP); in hma_fpu_set_xsave_state()
|
/illumos-gate/usr/src/uts/common/fs/specfs/ |
H A D | specsubr.c | 138 nsp = kmem_cache_alloc(snode_cache, KM_SLEEP); in specvp() 139 csp = kmem_cache_alloc(snode_cache, KM_SLEEP); in specvp() 230 sp = kmem_cache_alloc(snode_cache, KM_SLEEP); in makespecvp() 591 nsp = kmem_cache_alloc(snode_cache, KM_SLEEP); in commonvp()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | refcount.c | 146 ref = kmem_cache_alloc(reference_cache, KM_SLEEP); in zfs_refcount_add_many() 201 ref->ref_removed = kmem_cache_alloc(reference_history_cache, in zfs_refcount_remove_many()
|
/illumos-gate/usr/src/uts/common/io/cxgbe/shared/ |
H A D | shared.c | 79 rxb = kmem_cache_alloc(cache, kmflags); in rxbuf_alloc()
|