Searched refs:sbq (Results 1 – 9 of 9) sorted by relevance
/drivers/dma/idxd/ |
D | submit.c | 42 struct sbitmap_queue *sbq; in idxd_alloc_desc() local 47 sbq = &wq->sbq; in idxd_alloc_desc() 48 idx = sbitmap_queue_get(sbq, &cpu); in idxd_alloc_desc() 56 ws = &sbq->ws[0]; in idxd_alloc_desc() 58 sbitmap_prepare_to_wait(sbq, ws, &wait, TASK_INTERRUPTIBLE); in idxd_alloc_desc() 61 idx = sbitmap_queue_get(sbq, &cpu); in idxd_alloc_desc() 67 sbitmap_finish_wait(sbq, ws, &wait); in idxd_alloc_desc() 79 sbitmap_queue_clear(&wq->sbq, desc->id, cpu); in idxd_free_desc()
|
D | idxd.h | 195 struct sbitmap_queue sbq; member
|
D | device.c | 170 rc = sbitmap_queue_init_node(&wq->sbq, num_descs, -1, false, GFP_KERNEL, in idxd_wq_alloc_resources() 212 sbitmap_queue_free(&wq->sbq); in idxd_wq_free_resources()
|
/drivers/staging/qlge/ |
D | qlge_main.c | 1149 sbq_fail = !!qlge_refill_bq(&rx_ring->sbq, gfp); in qlge_update_buffer_queues() 1158 if ((sbq_fail && QLGE_BQ_HW_OWNED(&rx_ring->sbq) < 2) || in qlge_update_buffer_queues() 1558 struct qlge_bq_desc *sbq_desc = qlge_get_curr_buf(&rx_ring->sbq); in qlge_process_mac_rx_skb() 1693 sbq_desc = qlge_get_curr_buf(&rx_ring->sbq); in qlge_build_rx_skb() 1723 sbq_desc = qlge_get_curr_buf(&rx_ring->sbq); in qlge_build_rx_skb() 1733 sbq_desc = qlge_get_curr_buf(&rx_ring->sbq); in qlge_build_rx_skb() 1806 sbq_desc = qlge_get_curr_buf(&rx_ring->sbq); in qlge_build_rx_skb() 2746 struct qlge_bq_desc *sbq_desc = &rx_ring->sbq.queue[i]; in qlge_free_sbq_buffers() 2775 if (rx_ring->sbq.queue) in qlge_free_rx_buffers() 2822 if (rx_ring->sbq.base) { in qlge_free_rx_resources() [all …]
|
D | qlge.h | 1441 offsetof(struct rx_ring, sbq) : \ 1481 struct qlge_bq sbq; member
|
/drivers/net/ethernet/intel/ice/ |
D | ice_controlq.c | 62 struct ice_ctl_q_info *cq = &hw->sbq; in ice_sb_init_regs() 627 cq = &hw->sbq; in ice_init_ctrlq() 687 return &hw->sbq; in ice_get_sbq() 709 cq = &hw->sbq; in ice_shutdown_ctrlq() 821 ice_init_ctrlq_locks(&hw->sbq); in ice_create_all_ctrlq() 855 ice_destroy_ctrlq_locks(&hw->sbq); in ice_destroy_all_ctrlq()
|
D | ice_type.h | 810 struct ice_ctl_q_info sbq; member
|
D | ice_main.c | 1254 cq = &hw->sbq; in __ice_clean_ctrlq() 1452 if (ice_ctrlq_pending(hw, &hw->sbq)) in ice_clean_sbq_subtask() 2231 hw->sbq.num_rq_entries = ICE_SBQ_LEN; in ice_set_ctrlq_len() 2232 hw->sbq.num_sq_entries = ICE_SBQ_LEN; in ice_set_ctrlq_len() 2233 hw->sbq.rq_buf_size = ICE_SBQ_MAX_BUF_LEN; in ice_set_ctrlq_len() 2234 hw->sbq.sq_buf_size = ICE_SBQ_MAX_BUF_LEN; in ice_set_ctrlq_len()
|
/drivers/target/iscsi/ |
D | iscsi_target_util.c | 130 struct sbitmap_queue *sbq; in iscsit_wait_for_tag() local 135 sbq = &se_sess->sess_tag_pool; in iscsit_wait_for_tag() 136 ws = &sbq->ws[0]; in iscsit_wait_for_tag() 138 sbitmap_prepare_to_wait(sbq, ws, &wait, state); in iscsit_wait_for_tag() 141 tag = sbitmap_queue_get(sbq, cpup); in iscsit_wait_for_tag() 147 sbitmap_finish_wait(sbq, ws, &wait); in iscsit_wait_for_tag()
|