Searched refs:queue_cnt (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/ptp/
H A Dptp_private.h60 * The function queue_cnt() is safe for readers to call without
66 static inline int queue_cnt(struct timestamp_event_queue *q) queue_cnt() function
H A Dptp_chardev.c265 return queue_cnt(&ptp->tsevq) ? POLLIN : 0; ptp_poll()
292 ptp->defunct || queue_cnt(queue))) { ptp_read()
310 qcnt = queue_cnt(queue); ptp_read()
H A Dptp_clock.c50 return PTP_MAX_TIMESTAMPS - queue_cnt(q) - 1; queue_free()
H A Dptp_sysfs.c111 qcnt = queue_cnt(queue); extts_fifo_show()
/linux-4.4.14/drivers/net/team/
H A Dteam.c762 unsigned int queue_cnt = team->dev->num_tx_queues - 1; team_queue_override_init() local
765 if (!queue_cnt) team_queue_override_init()
767 listarr = kmalloc(sizeof(struct list_head) * queue_cnt, GFP_KERNEL); team_queue_override_init()
771 for (i = 0; i < queue_cnt; i++) team_queue_override_init()
/linux-4.4.14/drivers/scsi/
H A Dadvansys.c320 ushort queue_cnt; member in struct:asc_sg_head
2525 printk(" entry_cnt %u, queue_cnt %u\n", sgp->entry_cnt, asc_prt_asc_scsi_q()
2526 sgp->queue_cnt); asc_prt_asc_scsi_q()
8039 scsiq->q1.sg_queue_cnt = sg_head->queue_cnt; AscPutReadySgListQueue()
8042 for (i = 0; i < sg_head->queue_cnt; i++) { AscPutReadySgListQueue()
8119 scsiq->sg_head->queue_cnt = n_q_required - 1; AscSendScsiQueue()

Completed in 264 milliseconds