/kernel/linux/linux-5.10/drivers/ptp/ |
H A D | ptp_private.h | 52 * The function queue_cnt() is safe for readers to call without 58 static inline int queue_cnt(const struct timestamp_event_queue *q) in queue_cnt() function
|
H A D | ptp_chardev.c | 438 return queue_cnt(&ptp->tsevq) ? EPOLLIN : 0; in ptp_poll() 465 ptp->defunct || queue_cnt(queue))) { in ptp_read() 483 qcnt = queue_cnt(queue); in ptp_read() 490 /* Paired with READ_ONCE() in queue_cnt() */ in ptp_read()
|
H A D | ptp_sysfs.c | 78 qcnt = queue_cnt(queue); in extts_fifo_show() 81 /* Paired with READ_ONCE() in queue_cnt() */ in extts_fifo_show()
|
H A D | ptp_clock.c | 38 return PTP_MAX_TIMESTAMPS - queue_cnt(q) - 1; in queue_free() 58 /* Both WRITE_ONCE() are paired with READ_ONCE() in queue_cnt() */ in enqueue_external_timestamp()
|
/kernel/linux/linux-5.10/drivers/target/ |
H A D | target_core_tmr.c | 126 for (i = 0; i < dev->queue_cnt; i++) { in core_tmr_abort_task() 313 for (i = 0; i < dev->queue_cnt; i++) { in core_tmr_drain_state_list()
|
H A D | target_core_device.c | 739 dev->queue_cnt = nr_cpu_ids; in target_alloc_device() 740 for (i = 0; i < dev->queue_cnt; i++) { in target_alloc_device()
|
/kernel/linux/linux-6.6/drivers/target/ |
H A D | target_core_tmr.c | 117 for (i = 0; i < dev->queue_cnt; i++) { in core_tmr_abort_task() 300 for (i = 0; i < dev->queue_cnt; i++) { in core_tmr_drain_state_list()
|
H A D | target_core_device.c | 699 dev->queue_cnt = nr_cpu_ids; in target_alloc_device() 700 for (i = 0; i < dev->queue_cnt; i++) { in target_alloc_device()
|
/kernel/linux/linux-6.6/drivers/ptp/ |
H A D | ptp_private.h | 73 * The function queue_cnt() is safe for readers to call without 79 static inline int queue_cnt(const struct timestamp_event_queue *q) in queue_cnt() function
|
H A D | ptp_chardev.c | 441 return queue_cnt(&ptp->tsevq) ? EPOLLIN : 0; in ptp_poll() 468 ptp->defunct || queue_cnt(queue))) { in ptp_read() 486 qcnt = queue_cnt(queue); in ptp_read() 493 /* Paired with READ_ONCE() in queue_cnt() */ in ptp_read()
|
H A D | ptp_clock.c | 39 return PTP_MAX_TIMESTAMPS - queue_cnt(q) - 1; in queue_free() 59 /* Both WRITE_ONCE() are paired with READ_ONCE() in queue_cnt() */ in enqueue_external_timestamp()
|
H A D | ptp_sysfs.c | 90 qcnt = queue_cnt(queue); in extts_fifo_show() 93 /* Paired with READ_ONCE() in queue_cnt() */ in extts_fifo_show()
|
/kernel/linux/linux-5.10/drivers/net/team/ |
H A D | team.c | 772 unsigned int queue_cnt = team->dev->num_tx_queues - 1; in team_queue_override_init() local 775 if (!queue_cnt) in team_queue_override_init() 777 listarr = kmalloc_array(queue_cnt, sizeof(struct list_head), in team_queue_override_init() 782 for (i = 0; i < queue_cnt; i++) in team_queue_override_init()
|
/kernel/linux/linux-6.6/drivers/net/team/ |
H A D | team.c | 776 unsigned int queue_cnt = team->dev->num_tx_queues - 1; in team_queue_override_init() local 779 if (!queue_cnt) in team_queue_override_init() 781 listarr = kmalloc_array(queue_cnt, sizeof(struct list_head), in team_queue_override_init() 786 for (i = 0; i < queue_cnt; i++) in team_queue_override_init()
|
/kernel/linux/linux-5.10/include/target/ |
H A D | target_core_base.h | 851 int queue_cnt; member
|
/kernel/linux/linux-6.6/include/target/ |
H A D | target_core_base.h | 869 int queue_cnt; member
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | advansys.c | 316 ushort queue_cnt; member 2521 printk(" entry_cnt %u, queue_cnt %u\n", sgp->entry_cnt, in asc_prt_asc_scsi_q() 2522 sgp->queue_cnt); in asc_prt_asc_scsi_q() 8032 scsiq->q1.sg_queue_cnt = sg_head->queue_cnt; in AscPutReadySgListQueue() 8035 for (i = 0; i < sg_head->queue_cnt; i++) { in AscPutReadySgListQueue() 8112 scsiq->sg_head->queue_cnt = n_q_required - 1; in AscSendScsiQueue()
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | advansys.c | 307 ushort queue_cnt; member 2510 printk(" entry_cnt %u, queue_cnt %u\n", sgp->entry_cnt, in asc_prt_asc_scsi_q() 2511 sgp->queue_cnt); in asc_prt_asc_scsi_q() 7946 scsiq->q1.sg_queue_cnt = sg_head->queue_cnt; in AscPutReadySgListQueue() 7949 for (i = 0; i < sg_head->queue_cnt; i++) { in AscPutReadySgListQueue() 8026 scsiq->sg_head->queue_cnt = n_q_required - 1; in AscSendScsiQueue()
|