Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/ptp/
H A Dptp_private.h52 * 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 Dptp_chardev.c438 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 Dptp_sysfs.c78 qcnt = queue_cnt(queue); in extts_fifo_show()
81 /* Paired with READ_ONCE() in queue_cnt() */ in extts_fifo_show()
H A Dptp_clock.c38 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 Dtarget_core_tmr.c126 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 Dtarget_core_device.c739 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 Dtarget_core_tmr.c117 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 Dtarget_core_device.c699 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 Dptp_private.h73 * 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 Dptp_chardev.c441 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 Dptp_clock.c39 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 Dptp_sysfs.c90 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 Dteam.c772 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 Dteam.c776 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 Dtarget_core_base.h851 int queue_cnt; member
/kernel/linux/linux-6.6/include/target/
H A Dtarget_core_base.h869 int queue_cnt; member
/kernel/linux/linux-5.10/drivers/scsi/
H A Dadvansys.c316 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 Dadvansys.c307 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()

Completed in 53 milliseconds