Home
last modified time | relevance | path

Searched refs:tail_idx (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/amd/pds_core/
Dadminq.c22 cq_info = &cq->info[cq->tail_idx]; in pdsc_process_notifyq()
53 cq->tail_idx = (cq->tail_idx + 1) & (cq->num_descs - 1); in pdsc_process_notifyq()
54 cq_info = &cq->info[cq->tail_idx]; in pdsc_process_notifyq()
91 if (q->tail_idx == q->head_idx) in pdsc_process_adminq()
99 comp = cq->info[cq->tail_idx].comp; in pdsc_process_adminq()
101 q_info = &q->info[q->tail_idx]; in pdsc_process_adminq()
102 q->tail_idx = (q->tail_idx + 1) & (q->num_descs - 1); in pdsc_process_adminq()
109 if (cq->tail_idx == cq->num_descs - 1) in pdsc_process_adminq()
111 cq->tail_idx = (cq->tail_idx + 1) & (cq->num_descs - 1); in pdsc_process_adminq()
112 comp = cq->info[cq->tail_idx].comp; in pdsc_process_adminq()
[all …]
Ddebugfs.c132 debugfs_create_u16("tail", 0400, q_dentry, &q->tail_idx); in pdsc_debugfs_add_qcq()
143 debugfs_create_u16("tail", 0400, cq_dentry, &cq->tail_idx); in pdsc_debugfs_add_qcq()
Dcore.h53 u16 tail_idx; member
107 u16 tail_idx; member
Dcore.c213 qcq->q.tail_idx = 0; in pdsc_qcq_alloc()
231 qcq->cq.tail_idx = 0; in pdsc_qcq_alloc()
/Linux-v6.6/drivers/net/ethernet/pensando/ionic/
Dionic_dev.c646 cq->tail_idx = 0; in ionic_cq_init()
679 cq_info = &cq->info[cq->tail_idx]; in ionic_cq_service()
681 if (cq->tail_idx == cq->num_descs - 1) in ionic_cq_service()
683 cq->tail_idx = (cq->tail_idx + 1) & (cq->num_descs - 1); in ionic_cq_service()
684 cq_info = &cq->info[cq->tail_idx]; in ionic_cq_service()
716 q->tail_idx = 0; in ionic_q_init()
795 tail = q->tail_idx; in ionic_q_is_posted()
810 if (q->tail_idx == q->head_idx) in ionic_q_service()
817 q->name, stop_index, q->tail_idx, q->head_idx); in ionic_q_service()
820 desc_info = &q->info[q->tail_idx]; in ionic_q_service()
[all …]
Dionic_txrx.c36 if (q->tail_idx == q->head_idx) { in ionic_txq_poke_doorbell()
63 if (q->tail_idx == q->head_idx) in ionic_rxq_poke_doorbell()
388 if (q->tail_idx == q->head_idx) in ionic_rx_service()
391 if (q->tail_idx != le16_to_cpu(comp->comp_index)) in ionic_rx_service()
394 desc_info = &q->info[q->tail_idx]; in ionic_rx_service()
395 q->tail_idx = (q->tail_idx + 1) & (q->num_descs - 1); in ionic_rx_service()
530 q->tail_idx = 0; in ionic_rx_empty()
860 desc_info = &q->info[q->tail_idx]; in ionic_tx_service()
862 index = q->tail_idx; in ionic_tx_service()
863 q->tail_idx = (q->tail_idx + 1) & (q->num_descs - 1); in ionic_tx_service()
[all …]
Dionic_main.c227 while (q->tail_idx != q->head_idx) { in ionic_adminq_flush()
228 desc_info = &q->info[q->tail_idx]; in ionic_adminq_flush()
232 q->tail_idx = (q->tail_idx + 1) & (q->num_descs - 1); in ionic_adminq_flush()
300 if (q->tail_idx == q->head_idx) { in ionic_adminq_poke_doorbell()
Dionic_dev.h235 u16 tail_idx; member
284 u16 tail_idx; member
304 unsigned int avail = q->tail_idx; in ionic_q_space_avail()
Dionic_debugfs.c79 seq_printf(seq, "%d\n", q->tail_idx); in q_tail_show()
99 seq_printf(seq, "%d\n", cq->tail_idx); in cq_tail_show()
Dionic_lif.c777 qcq->q.tail_idx = 0; in ionic_qcq_sanitize()
779 qcq->cq.tail_idx = 0; in ionic_qcq_sanitize()
/Linux-v6.6/mm/
Dinternal.h428 static inline void prep_compound_tail(struct page *head, int tail_idx) in prep_compound_tail() argument
430 struct page *p = head + tail_idx; in prep_compound_tail()
/Linux-v6.6/drivers/scsi/lpfc/
Dlpfc.h1599 u32 head_idx, tail_idx; /* index to head/tail of ring */ member
Dlpfc_sli.c8043 rx_monitor->tail_idx = 0; in lpfc_rx_monitor_create_ring()
8062 rx_monitor->tail_idx = 0; in lpfc_rx_monitor_destroy_ring()
8082 u32 *tail_idx = &rx_monitor->tail_idx; in lpfc_rx_monitor_record() local
8087 memcpy(&ring[*tail_idx], entry, sizeof(*entry)); in lpfc_rx_monitor_record()
8088 *tail_idx = (*tail_idx + 1) % ring_size; in lpfc_rx_monitor_record()
8091 if (*tail_idx == *head_idx) in lpfc_rx_monitor_record()
8120 u32 *tail_idx = &rx_monitor->tail_idx; in lpfc_rx_monitor_report() local
8143 while (*head_idx != *tail_idx) { in lpfc_rx_monitor_report()