Home
last modified time | relevance | path

Searched refs:q_len (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/rsi/
Drsi_91x_core.c32 u32 q_len = 0; in rsi_determine_min_weight_queue() local
36 q_len = skb_queue_len(&common->tx_queue[ii]); in rsi_determine_min_weight_queue()
37 if ((tx_qinfo[ii].pkt_contended) && q_len) { in rsi_determine_min_weight_queue()
57 u32 q_len = 0; in rsi_recalculate_weights() local
60 q_len = skb_queue_len(&common->tx_queue[ii]); in rsi_recalculate_weights()
62 if (q_len) { in rsi_recalculate_weights()
141 u32 q_len = 0; in rsi_core_determine_hal_queue() local
172 q_len = skb_queue_len(&common->tx_queue[ii]); in rsi_core_determine_hal_queue()
175 q_len) { in rsi_core_determine_hal_queue()
187 q_len = skb_queue_len(&common->tx_queue[q_num]); in rsi_core_determine_hal_queue()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_eqs.c28 (ALIGN((eq)->q_len * (eq)->elem_size, pg_size) / (pg_size))
230 for (i = 0; i < eq->q_len; i++) { in aeq_irq_handler()
270 if (eq->cons_idx == eq->q_len) { in aeq_irq_handler()
320 for (i = 0; i < eq->q_len; i++) { in ceq_irq_handler()
334 if (eq->cons_idx == eq->q_len) { in ceq_irq_handler()
501 ctrl1 = HINIC_AEQ_CTRL_1_SET(eq->q_len, LEN) | in get_ctrl1_val()
517 ctrl1 = HINIC_CEQ_CTRL_1_SET(eq->q_len, LEN) | in get_ctrl1_val()
597 for (i = 0; i < eq->q_len; i++) { in aeq_elements_init()
615 for (i = 0; i < eq->q_len; i++) { in ceq_elements_init()
723 enum hinic_eq_type type, int q_id, u32 q_len, u32 page_size, in init_eq() argument
[all …]
Dhinic_hw_eqs.h178 u32 q_len; member
247 int num_aeqs, u32 q_len, u32 page_size,
253 int num_ceqs, u32 q_len, u32 page_size,
/kernel/linux/linux-5.10/fs/notify/
Dnotification.c102 group->q_len >= group->max_events) { in fsnotify_add_event()
122 group->q_len++; in fsnotify_add_event()
140 group->q_len--; in fsnotify_remove_queued_event()
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c54 int q_len, int desc_size, int align_bytes) in nicvf_alloc_q_desc_mem() argument
56 dmem->q_len = q_len; in nicvf_alloc_q_desc_mem()
57 dmem->size = (desc_size * q_len) + align_bytes; in nicvf_alloc_q_desc_mem()
345 head &= (rbdr->dmem.q_len - 1); in nicvf_free_rbdr()
415 tail &= (rbdr->dmem.q_len - 1); in nicvf_refill_rbdr()
476 struct cmp_queue *cq, int q_len) in nicvf_init_cmp_queue() argument
480 err = nicvf_alloc_q_desc_mem(nic, &cq->dmem, q_len, CMP_QUEUE_DESC_SIZE, in nicvf_init_cmp_queue()
504 struct snd_queue *sq, int q_len, int qidx) in nicvf_init_snd_queue() argument
508 err = nicvf_alloc_q_desc_mem(nic, &sq->dmem, q_len, SND_QUEUE_DESC_SIZE, in nicvf_init_snd_queue()
514 sq->skbuff = kcalloc(q_len, sizeof(u64), GFP_KERNEL); in nicvf_init_snd_queue()
[all …]
Dnicvf_queues.h209 u32 q_len; member
Dnicvf_main.c880 cqe_head &= (cq->dmem.q_len - 1); in nicvf_cq_intr_handler()
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Du_printer.h23 unsigned q_len; member
Df_printer.c89 unsigned q_len; member
1111 for (i = 0; i < dev->q_len; i++) { in printer_func_bind()
1118 for (i = 0; i < dev->q_len; i++) { in printer_func_bind()
1270 result = sprintf(page, "%d\n", opts->q_len); in f_printer_opts_q_len_show()
1293 opts->q_len = (unsigned)num; in f_printer_opts_q_len_store()
1300 CONFIGFS_ATTR(f_printer_opts_, q_len);
1475 dev->q_len = opts->q_len; in gprinter_alloc()
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dconfigfs-usb-gadget-printer9 q_len Number of requests per endpoint
/kernel/linux/linux-5.10/drivers/s390/crypto/
Dzcrypt_cca_key.h77 unsigned short q_len; member
219 key->pvt.q_len = key->pvt.dq_len = short_len; in zcrypt_type6_crt_key()
/kernel/linux/linux-5.10/drivers/usb/gadget/legacy/
Dprinter.c149 opts->q_len = QLEN; in printer_bind()
/kernel/linux/linux-5.10/net/llc/
Dllc_conn.c300 int q_len = skb_queue_len(&llc->pdu_unack_q); in llc_conn_remove_acked_pdus() local
302 if (!q_len) in llc_conn_remove_acked_pdus()
311 for (i = 0; i < pdu_pos && i < q_len; i++) { in llc_conn_remove_acked_pdus()
/kernel/linux/linux-5.10/include/linux/
Dfsnotify_backend.h196 unsigned int q_len; /* events on the queue */ member
/kernel/linux/linux-5.10/drivers/scsi/be2iscsi/
Dbe_cmds.c842 static u32 be_encoded_q_len(int q_len) in be_encoded_q_len() argument
844 u32 len_encoded = fls(q_len); /* log2(len) + 1 */ in be_encoded_q_len()
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c461 struct ocrdma_eq *eq, u16 q_len) in ocrdma_create_eq() argument
555 static u32 ocrdma_encoded_q_len(int q_len) in ocrdma_encoded_q_len() argument
557 u32 len_encoded = fls(q_len); /* log2(len) + 1 */ in ocrdma_encoded_q_len()
/kernel/linux/linux-5.10/Documentation/usb/
Dgadget-testing.rst850 q_len Number of requests per endpoint
/kernel/linux/linux-5.10/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c1226 static u32 be_encoded_q_len(int q_len) in be_encoded_q_len() argument
1228 u32 len_encoded = fls(q_len); /* log2(len) + 1 */ in be_encoded_q_len()