Home
last modified time | relevance | path

Searched refs:cansleep (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_hash.c61 void *), void *arg, boolean_t cansleep, sctp_stack_t *sctps);
141 void *arg, boolean_t cansleep) in cl_sctp_walk_list() argument
149 ret = cl_sctp_walk_list_stack(cl_callback, arg, cansleep, in cl_sctp_walk_list()
159 void *arg, boolean_t cansleep, sctp_stack_t *sctps) in cl_sctp_walk_list_stack() argument
189 slist = kmem_alloc(ssize, cansleep ? KM_SLEEP : KM_NOSLEEP); in cl_sctp_walk_list_stack()
190 flist = kmem_alloc(fsize, cansleep ? KM_SLEEP : KM_NOSLEEP); in cl_sctp_walk_list_stack()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dddi_impl.c1305 contig_alloc(size_t size, ddi_dma_attr_t *attr, uintptr_t align, int cansleep) in contig_alloc() argument
1320 (cansleep) ? VM_SLEEP : VM_NOSLEEP); in contig_alloc()
1323 (cansleep) ? VM_SLEEP : VM_NOSLEEP); in contig_alloc()
1327 if (page_resv(pgcnt, (cansleep) ? KM_SLEEP : KM_NOSLEEP) == 0) { in contig_alloc()
1333 if (cansleep) in contig_alloc()
1397 kalloca(size_t size, size_t align, int cansleep, int physcontig, in kalloca() argument
1421 if ((addr = contig_alloc(size, attr, align, cansleep)) != in kalloca()
1436 (cansleep) ? VM_SLEEP : VM_NOSLEEP); in kalloca()
1440 raddr = kmem_cache_alloc(cp, (cansleep) ? KM_SLEEP : in kalloca()
1447 ASSERT(cansleep == 0); in kalloca()
[all …]
H A Dfastboot.c221 uintptr_t align, int cansleep);
/illumos-gate/usr/src/uts/sun4/os/
H A Dddi_impl.c1081 kalloca(size_t size, size_t align, int cansleep, uint_t endian_flags) in kalloca() argument
1105 cansleep ? VM_SLEEP : VM_NOSLEEP); in kalloca()
1108 cansleep ? VM_SLEEP : VM_NOSLEEP); in kalloca()
1161 size_t length, int cansleep, int flags, in i_ddi_mem_alloc() argument
1222 a = kalloca(length, align, cansleep, endian_flags); in i_ddi_mem_alloc()
/illumos-gate/usr/src/uts/common/sys/
H A Dddi_implfuncs.h64 size_t length, int cansleep, int streaming,
/illumos-gate/usr/src/uts/common/io/sfe/
H A Dsfe_util.c484 gem_get_rxbuf(struct gem_dev *dp, int cansleep) in gem_get_rxbuf() argument
512 rbp = kmem_zalloc(sizeof (*rbp), cansleep ? KM_SLEEP : KM_NOSLEEP); in gem_get_rxbuf()
527 (cansleep ? DDI_DMA_SLEEP : DDI_DMA_DONTWAIT), in gem_get_rxbuf()
548 cansleep ? DDI_DMA_SLEEP : DDI_DMA_DONTWAIT, in gem_get_rxbuf()
568 cansleep ? DDI_DMA_SLEEP : DDI_DMA_DONTWAIT, in gem_get_rxbuf()
/illumos-gate/usr/src/uts/i86pc/io/
H A Drootnex.c3418 int cansleep; in rootnex_setup_copybuf() local
3438 cansleep = 1; in rootnex_setup_copybuf()
3440 cansleep = 0; in rootnex_setup_copybuf()
3459 e = i_ddi_mem_alloc(dma->dp_dip, &lattr, dma->dp_copybuf_size, cansleep, in rootnex_setup_copybuf()
/illumos-gate/usr/src/uts/intel/io/dnet/
H A Ddnet.c2653 dnet_rbuf_alloc(dev_info_t *dip, int cansleep) in dnet_rbuf_alloc() argument
2664 if (!cansleep) { in dnet_rbuf_alloc()