q_len 461 drivers/infiniband/hw/ocrdma/ocrdma_hw.c struct ocrdma_eq *eq, u16 q_len) q_len 555 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static u32 ocrdma_encoded_q_len(int q_len) q_len 557 drivers/infiniband/hw/ocrdma/ocrdma_hw.c u32 len_encoded = fls(q_len); /* log2(len) + 1 */ q_len 880 drivers/net/ethernet/cavium/thunder/nicvf_main.c cqe_head &= (cq->dmem.q_len - 1); q_len 54 drivers/net/ethernet/cavium/thunder/nicvf_queues.c int q_len, int desc_size, int align_bytes) q_len 56 drivers/net/ethernet/cavium/thunder/nicvf_queues.c dmem->q_len = q_len; q_len 57 drivers/net/ethernet/cavium/thunder/nicvf_queues.c dmem->size = (desc_size * q_len) + align_bytes; q_len 345 drivers/net/ethernet/cavium/thunder/nicvf_queues.c head &= (rbdr->dmem.q_len - 1); q_len 415 drivers/net/ethernet/cavium/thunder/nicvf_queues.c tail &= (rbdr->dmem.q_len - 1); q_len 476 drivers/net/ethernet/cavium/thunder/nicvf_queues.c struct cmp_queue *cq, int q_len) q_len 480 drivers/net/ethernet/cavium/thunder/nicvf_queues.c err = nicvf_alloc_q_desc_mem(nic, &cq->dmem, q_len, CMP_QUEUE_DESC_SIZE, q_len 504 drivers/net/ethernet/cavium/thunder/nicvf_queues.c struct snd_queue *sq, int q_len, int qidx) q_len 508 drivers/net/ethernet/cavium/thunder/nicvf_queues.c err = nicvf_alloc_q_desc_mem(nic, &sq->dmem, q_len, SND_QUEUE_DESC_SIZE, q_len 514 drivers/net/ethernet/cavium/thunder/nicvf_queues.c sq->skbuff = kcalloc(q_len, sizeof(u64), GFP_KERNEL); q_len 527 drivers/net/ethernet/cavium/thunder/nicvf_queues.c sq->xdp_page = kcalloc(q_len, sizeof(u64), GFP_KERNEL); q_len 531 drivers/net/ethernet/cavium/thunder/nicvf_queues.c sq->xdp_free_cnt = q_len - 1; q_len 539 drivers/net/ethernet/cavium/thunder/nicvf_queues.c atomic_set(&sq->free_cnt, q_len - 1); q_len 543 drivers/net/ethernet/cavium/thunder/nicvf_queues.c q_len * TSO_HEADER_SIZE, q_len 562 drivers/net/ethernet/cavium/thunder/nicvf_queues.c hdr_sqe &= (sq->dmem.q_len - 1); q_len 585 drivers/net/ethernet/cavium/thunder/nicvf_queues.c sq->dmem.q_len * TSO_HEADER_SIZE, q_len 619 drivers/net/ethernet/cavium/thunder/nicvf_queues.c sq->head &= (sq->dmem.q_len - 1); q_len 1128 drivers/net/ethernet/cavium/thunder/nicvf_queues.c sq->tail &= (sq->dmem.q_len - 1); q_len 1149 drivers/net/ethernet/cavium/thunder/nicvf_queues.c sq->head &= (sq->dmem.q_len - 1); q_len 1155 drivers/net/ethernet/cavium/thunder/nicvf_queues.c qentry &= (sq->dmem.q_len - 1); q_len 1424 drivers/net/ethernet/cavium/thunder/nicvf_queues.c qentry &= (sq->dmem.q_len - 1); q_len 209 drivers/net/ethernet/cavium/thunder/nicvf_queues.h u32 q_len; q_len 1224 drivers/net/ethernet/emulex/benet/be_cmds.c static u32 be_encoded_q_len(int q_len) q_len 1226 drivers/net/ethernet/emulex/benet/be_cmds.c u32 len_encoded = fls(q_len); /* log2(len) + 1 */ q_len 27 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c (ALIGN((eq)->q_len * (eq)->elem_size, pg_size) / (pg_size)) q_len 228 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c for (i = 0; i < eq->q_len; i++) { q_len 268 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c if (eq->cons_idx == eq->q_len) { q_len 318 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c for (i = 0; i < eq->q_len; i++) { q_len 332 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c if (eq->cons_idx == eq->q_len) { q_len 489 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c ctrl1 = HINIC_AEQ_CTRL_1_SET(eq->q_len, LEN) | q_len 507 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c ctrl1 = HINIC_CEQ_CTRL_1_SET(eq->q_len, LEN) | q_len 536 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c for (i = 0; i < eq->q_len; i++) { q_len 554 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c for (i = 0; i < eq->q_len; i++) { q_len 663 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c enum hinic_eq_type type, int q_id, u32 q_len, u32 page_size, q_len 672 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c eq->q_len = q_len; q_len 794 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c int num_aeqs, u32 q_len, u32 page_size, q_len 808 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c err = init_eq(&aeqs->aeq[q_id], hwif, HINIC_AEQ, q_id, q_len, q_len 852 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c int num_ceqs, u32 q_len, u32 page_size, q_len 862 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c err = init_eq(&ceqs->ceq[q_id], hwif, HINIC_CEQ, q_id, q_len, q_len 177 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h u32 q_len; q_len 245 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h int num_aeqs, u32 q_len, u32 page_size, q_len 251 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h int num_ceqs, u32 q_len, u32 page_size, q_len 32 drivers/net/wireless/rsi/rsi_91x_core.c u32 q_len = 0; q_len 36 drivers/net/wireless/rsi/rsi_91x_core.c q_len = skb_queue_len(&common->tx_queue[ii]); q_len 37 drivers/net/wireless/rsi/rsi_91x_core.c if ((tx_qinfo[ii].pkt_contended) && q_len) { q_len 57 drivers/net/wireless/rsi/rsi_91x_core.c u32 q_len = 0; q_len 60 drivers/net/wireless/rsi/rsi_91x_core.c q_len = skb_queue_len(&common->tx_queue[ii]); q_len 62 drivers/net/wireless/rsi/rsi_91x_core.c if (q_len) { q_len 141 drivers/net/wireless/rsi/rsi_91x_core.c u32 q_len = 0; q_len 172 drivers/net/wireless/rsi/rsi_91x_core.c q_len = skb_queue_len(&common->tx_queue[ii]); q_len 175 drivers/net/wireless/rsi/rsi_91x_core.c q_len) { q_len 187 drivers/net/wireless/rsi/rsi_91x_core.c q_len = skb_queue_len(&common->tx_queue[q_num]); q_len 188 drivers/net/wireless/rsi/rsi_91x_core.c if (!q_len) { q_len 201 drivers/net/wireless/rsi/rsi_91x_core.c q_len = skb_queue_len(&common->tx_queue[q_num]); q_len 77 drivers/s390/crypto/zcrypt_cca_key.h unsigned short q_len; q_len 219 drivers/s390/crypto/zcrypt_cca_key.h key->pvt.q_len = key->pvt.dq_len = short_len; q_len 842 drivers/scsi/be2iscsi/be_cmds.c static u32 be_encoded_q_len(int q_len) q_len 844 drivers/scsi/be2iscsi/be_cmds.c u32 len_encoded = fls(q_len); /* log2(len) + 1 */ q_len 88 drivers/usb/gadget/function/f_printer.c unsigned q_len; q_len 1064 drivers/usb/gadget/function/f_printer.c for (i = 0; i < dev->q_len; i++) { q_len 1071 drivers/usb/gadget/function/f_printer.c for (i = 0; i < dev->q_len; i++) { q_len 1222 drivers/usb/gadget/function/f_printer.c result = sprintf(page, "%d\n", opts->q_len); q_len 1245 drivers/usb/gadget/function/f_printer.c opts->q_len = (unsigned)num; q_len 1252 drivers/usb/gadget/function/f_printer.c CONFIGFS_ATTR(f_printer_opts_, q_len); q_len 1425 drivers/usb/gadget/function/f_printer.c dev->q_len = opts->q_len; q_len 23 drivers/usb/gadget/function/u_printer.h unsigned q_len; q_len 150 drivers/usb/gadget/legacy/printer.c opts->q_len = QLEN; q_len 102 fs/notify/notification.c group->q_len >= group->max_events) { q_len 122 fs/notify/notification.c group->q_len++; q_len 140 fs/notify/notification.c group->q_len--; q_len 162 include/linux/fsnotify_backend.h unsigned int q_len; /* events on the queue */ q_len 300 net/llc/llc_conn.c int q_len = skb_queue_len(&llc->pdu_unack_q); q_len 302 net/llc/llc_conn.c if (!q_len) q_len 311 net/llc/llc_conn.c for (i = 0; i < pdu_pos && i < q_len; i++) {