Home
last modified time | relevance | path

Searched refs:kmem_cache_alloc (Results 1 – 25 of 222) sorted by relevance

123456789

/illumos-gate/usr/src/uts/common/c2/
H A Daudit_mem.c60 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 Drctlsys.c266 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 Dfake_stream.c126 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 Dtcp_sack.c256 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 Dradix.h175 #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 Daudit_core.c85 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 Did32.c76 void **hent = kmem_cache_alloc(id32_cache, kmflag); in id32_alloc()
H A Dmodhash.c558 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 Dport_subr.c261 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 Dtlabel.c88 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 Dtable.c79 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 Dmachdep.c148 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 Dsmb_mbuf_util.c111 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 Dauth_none.c63 return (kmem_cache_alloc(authnone_cache, KM_SLEEP)); in authnone_create()
/illumos-gate/usr/src/uts/common/sys/
H A Dkmem.h131 extern void *kmem_cache_alloc(kmem_cache_t *, int);
H A Dstrft.h152 _hp = kmem_cache_alloc(fthdr_cache, KM_NOSLEEP); \
/illumos-gate/usr/src/uts/common/io/sdcard/impl/
H A Dsda_cmd.c268 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/lib/libfakekernel/common/
H A Dkmem.c114 kmem_cache_alloc(kmem_cache_t *kc, int kmflags) in kmem_cache_alloc() function
/illumos-gate/usr/src/uts/common/fs/bootfs/
H A Dbootfs_construct.c151 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/uts/common/inet/sockmods/
H A Dsockmod_sdp.c104 so = kmem_cache_alloc(socket_cache, kmflags); in socksdp_create()
H A Dsockmod_sctp.c141 ss = kmem_cache_alloc(sosctp_sockcache, kmflags); in socksctp_create()
/illumos-gate/usr/src/uts/intel/os/
H A Dhma_fpu.c101 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 Dspecsubr.c138 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 Drefcount.c146 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 Dshared.c79 rxb = kmem_cache_alloc(cache, kmflags); in rxbuf_alloc()

123456789