Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/inet/sctp/
H A Dsctp_hash.c60 void *), void *arg, boolean_t cansleep, sctp_stack_t *sctps);
140 void *arg, boolean_t cansleep) in cl_sctp_walk_list() argument
148 ret = cl_sctp_walk_list_stack(cl_callback, arg, cansleep, in cl_sctp_walk_list()
158 void *arg, boolean_t cansleep, sctp_stack_t *sctps) in cl_sctp_walk_list_stack() argument
188 slist = kmem_alloc(ssize, cansleep ? KM_SLEEP : KM_NOSLEEP); in cl_sctp_walk_list_stack()
189 flist = kmem_alloc(fsize, cansleep ? KM_SLEEP : KM_NOSLEEP); in cl_sctp_walk_list_stack()
/titanic_50/usr/src/uts/i86pc/os/
H A Dddi_impl.c1318 contig_alloc(size_t size, ddi_dma_attr_t *attr, uintptr_t align, int cansleep) in contig_alloc() argument
1333 (cansleep) ? VM_SLEEP : VM_NOSLEEP); in contig_alloc()
1336 (cansleep) ? VM_SLEEP : VM_NOSLEEP); in contig_alloc()
1340 if (page_resv(pgcnt, (cansleep) ? KM_SLEEP : KM_NOSLEEP) == 0) { in contig_alloc()
1346 if (cansleep) in contig_alloc()
1410 kalloca(size_t size, size_t align, int cansleep, int physcontig, in kalloca() argument
1434 if (addr = contig_alloc(size, attr, align, cansleep)) { in kalloca()
1448 (cansleep) ? VM_SLEEP : VM_NOSLEEP); in kalloca()
1452 raddr = kmem_cache_alloc(cp, (cansleep) ? KM_SLEEP : in kalloca()
1459 ASSERT(cansleep == 0); in kalloca()
[all …]
H A Dfastboot.c225 uintptr_t align, int cansleep);
/titanic_50/usr/src/uts/sun4/os/
H A Dddi_impl.c1080 kalloca(size_t size, size_t align, int cansleep, uint_t endian_flags) in kalloca() argument
1104 cansleep ? VM_SLEEP : VM_NOSLEEP); in kalloca()
1107 cansleep ? VM_SLEEP : VM_NOSLEEP); in kalloca()
1160 size_t length, int cansleep, int flags, in i_ddi_mem_alloc() argument
1221 a = kalloca(length, align, cansleep, endian_flags); in i_ddi_mem_alloc()
/titanic_50/usr/src/uts/common/sys/
H A Dddi_implfuncs.h76 size_t length, int cansleep, int streaming,
/titanic_50/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()
/titanic_50/usr/src/uts/i86pc/io/
H A Drootnex.c3470 int cansleep; in rootnex_setup_copybuf() local
3517 cansleep = 1; in rootnex_setup_copybuf()
3519 cansleep = 0; in rootnex_setup_copybuf()
3538 e = i_ddi_mem_alloc(dma->dp_dip, &lattr, dma->dp_copybuf_size, cansleep, in rootnex_setup_copybuf()
/titanic_50/usr/src/uts/intel/io/dnet/
H A Ddnet.c2652 dnet_rbuf_alloc(dev_info_t *dip, int cansleep) in dnet_rbuf_alloc() argument
2663 if (!cansleep) { in dnet_rbuf_alloc()