Searched refs:tail_idx (Results 1 – 13 of 13) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/amd/pds_core/ |
D | adminq.c | 22 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() 99 if (q->tail_idx == q->head_idx) in pdsc_process_adminq() 107 comp = cq->info[cq->tail_idx].comp; in pdsc_process_adminq() 109 q_info = &q->info[q->tail_idx]; in pdsc_process_adminq() 110 q->tail_idx = (q->tail_idx + 1) & (q->num_descs - 1); in pdsc_process_adminq() 117 if (cq->tail_idx == cq->num_descs - 1) in pdsc_process_adminq() 119 cq->tail_idx = (cq->tail_idx + 1) & (cq->num_descs - 1); in pdsc_process_adminq() 120 comp = cq->info[cq->tail_idx].comp; in pdsc_process_adminq() [all …]
|
D | debugfs.c | 134 debugfs_create_u16("tail", 0400, q_dentry, &q->tail_idx); in pdsc_debugfs_add_qcq() 145 debugfs_create_u16("tail", 0400, cq_dentry, &cq->tail_idx); in pdsc_debugfs_add_qcq()
|
D | core.h | 53 u16 tail_idx; member 107 u16 tail_idx; member
|
D | core.c | 211 qcq->q.tail_idx = 0; in pdsc_qcq_alloc() 228 qcq->cq.tail_idx = 0; in pdsc_qcq_alloc()
|
/linux-6.12.1/drivers/net/ethernet/pensando/ionic/ |
D | ionic_main.c | 206 while (q->tail_idx != q->head_idx) { in ionic_adminq_flush() 207 desc = &q->adminq[q->tail_idx]; in ionic_adminq_flush() 208 desc_info = &q->admin_info[q->tail_idx]; in ionic_adminq_flush() 211 q->tail_idx = (q->tail_idx + 1) & (q->num_descs - 1); in ionic_adminq_flush() 259 comp = &((union ionic_notifyq_comp *)cq->base)[cq->tail_idx]; in ionic_notifyq_service() 310 comp = &((struct ionic_admin_comp *)cq->base)[cq->tail_idx]; in ionic_adminq_service() 316 if (q->tail_idx == q->head_idx) in ionic_adminq_service() 320 desc_info = &q->admin_info[q->tail_idx]; in ionic_adminq_service() 321 index = q->tail_idx; in ionic_adminq_service() 322 q->tail_idx = (q->tail_idx + 1) & (q->num_descs - 1); in ionic_adminq_service() [all …]
|
D | ionic_txrx.c | 51 if (q->tail_idx == q->head_idx) { in ionic_txq_poke_doorbell() 78 if (q->tail_idx == q->head_idx) in ionic_rxq_poke_doorbell() 728 comp = &((struct ionic_rxq_comp *)cq->base)[cq->tail_idx]; in __ionic_rx_service() 734 if (q->tail_idx == q->head_idx) in __ionic_rx_service() 737 if (q->tail_idx != le16_to_cpu(comp->comp_index)) in __ionic_rx_service() 740 desc_info = &q->rx_info[q->tail_idx]; in __ionic_rx_service() 741 q->tail_idx = (q->tail_idx + 1) & (q->num_descs - 1); in __ionic_rx_service() 897 q->tail_idx = 0; in ionic_rx_empty() 985 if (cq->tail_idx == cq->num_descs - 1) in ionic_rx_cq_service() 988 cq->tail_idx = (cq->tail_idx + 1) & (cq->num_descs - 1); in ionic_rx_cq_service() [all …]
|
D | ionic_dev.c | 747 cq->tail_idx = 0; in ionic_cq_init() 764 if (cq->tail_idx == cq->num_descs - 1) in ionic_cq_service() 767 cq->tail_idx = (cq->tail_idx + 1) & (cq->num_descs - 1); in ionic_cq_service() 798 q->tail_idx = 0; in ionic_q_init() 831 tail = q->tail_idx; in ionic_q_is_posted()
|
D | ionic_dev.h | 234 u16 tail_idx; member 293 u16 tail_idx; member 314 unsigned int avail = q->tail_idx; in ionic_q_space_avail()
|
D | ionic_debugfs.c | 79 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()
|
D | ionic_lif.c | 819 qcq->q.tail_idx = 0; in ionic_qcq_sanitize() 821 qcq->cq.tail_idx = 0; in ionic_qcq_sanitize()
|
/linux-6.12.1/mm/ |
D | internal.h | 726 static inline void prep_compound_tail(struct page *head, int tail_idx) in prep_compound_tail() argument 728 struct page *p = head + tail_idx; in prep_compound_tail()
|
/linux-6.12.1/drivers/scsi/lpfc/ |
D | lpfc.h | 1618 u32 head_idx, tail_idx; /* index to head/tail of ring */ member
|
D | lpfc_sli.c | 8060 rx_monitor->tail_idx = 0; in lpfc_rx_monitor_create_ring() 8079 rx_monitor->tail_idx = 0; in lpfc_rx_monitor_destroy_ring() 8099 u32 *tail_idx = &rx_monitor->tail_idx; in lpfc_rx_monitor_record() local 8104 memcpy(&ring[*tail_idx], entry, sizeof(*entry)); in lpfc_rx_monitor_record() 8105 *tail_idx = (*tail_idx + 1) % ring_size; in lpfc_rx_monitor_record() 8108 if (*tail_idx == *head_idx) in lpfc_rx_monitor_record() 8137 u32 *tail_idx = &rx_monitor->tail_idx; in lpfc_rx_monitor_report() local 8160 while (*head_idx != *tail_idx) { in lpfc_rx_monitor_report()
|