Lines Matching defs:sleep
2577 ql_init_pkt(opaque_t fca_handle, fc_packet_t *pkt, int sleep)
3734 /* Set poll flag if sleep wanted. */
8120 QL_PRINT_3(CE_CONT, "(%d): Going to sleep\n", ha->instance);
15552 * sleep: KM_SLEEP/KM_NOSLEEP flag.
15565 ql_alloc_phys(ql_adapter_state_t *ha, dma_mem_t *mem, int sleep)
15593 if (ddi_dma_alloc_handle(ha->dip, &dma_attr, (sleep == KM_SLEEP) ?
15603 mem->bp = kmem_zalloc(mem->size, sleep);
15615 mem->flags, (sleep == KM_SLEEP) ? DDI_DMA_SLEEP :
15649 if (ql_bind_dma_buffer(ha, mem, sleep) != DDI_DMA_MAPPED) {
15710 * sleep: KM_SLEEP/KM_NOSLEEP flag.
15723 ql_alloc_dma_resouce(ql_adapter_state_t *ha, dma_mem_t *mem, int sleep)
15736 if (ddi_dma_alloc_handle(ha->dip, &dma_attr, (sleep == KM_SLEEP) ?
15746 if (ql_bind_dma_buffer(ha, mem, sleep) != DDI_DMA_MAPPED) {
15787 * sleep: KM_SLEEP or KM_NOSLEEP.
15806 ql_bind_dma_buffer(ql_adapter_state_t *ha, dma_mem_t *mem, int sleep)
15816 mem->flags, (sleep == KM_SLEEP) ? DDI_DMA_SLEEP :
15820 mem->size, mem->flags, (sleep == KM_SLEEP) ?
15835 mem->cookie_count, sleep)) {