Searched refs:tail_idx (Results 1 – 13 of 13) sorted by relevance
/linux-6.6.21/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() 100 if (q->tail_idx == q->head_idx) in pdsc_process_adminq() 108 comp = cq->info[cq->tail_idx].comp; in pdsc_process_adminq() 110 q_info = &q->info[q->tail_idx]; in pdsc_process_adminq() 111 q->tail_idx = (q->tail_idx + 1) & (q->num_descs - 1); in pdsc_process_adminq() 118 if (cq->tail_idx == cq->num_descs - 1) in pdsc_process_adminq() 120 cq->tail_idx = (cq->tail_idx + 1) & (cq->num_descs - 1); in pdsc_process_adminq() 121 comp = cq->info[cq->tail_idx].comp; in pdsc_process_adminq() [all …]
|
D | debugfs.c | 136 debugfs_create_u16("tail", 0400, q_dentry, &q->tail_idx); in pdsc_debugfs_add_qcq() 147 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 | 213 qcq->q.tail_idx = 0; in pdsc_qcq_alloc() 231 qcq->cq.tail_idx = 0; in pdsc_qcq_alloc()
|
/linux-6.6.21/drivers/net/ethernet/pensando/ionic/ |
D | ionic_dev.c | 647 cq->tail_idx = 0; in ionic_cq_init() 680 cq_info = &cq->info[cq->tail_idx]; in ionic_cq_service() 682 if (cq->tail_idx == cq->num_descs - 1) in ionic_cq_service() 684 cq->tail_idx = (cq->tail_idx + 1) & (cq->num_descs - 1); in ionic_cq_service() 685 cq_info = &cq->info[cq->tail_idx]; in ionic_cq_service() 717 q->tail_idx = 0; in ionic_q_init() 796 tail = q->tail_idx; in ionic_q_is_posted() 811 if (q->tail_idx == q->head_idx) in ionic_q_service() 818 q->name, stop_index, q->tail_idx, q->head_idx); in ionic_q_service() 821 desc_info = &q->info[q->tail_idx]; in ionic_q_service() [all …]
|
D | ionic_txrx.c | 36 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 …]
|
D | ionic_main.c | 227 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()
|
D | ionic_dev.h | 236 u16 tail_idx; member 285 u16 tail_idx; member 305 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 | 777 qcq->q.tail_idx = 0; in ionic_qcq_sanitize() 779 qcq->cq.tail_idx = 0; in ionic_qcq_sanitize()
|
/linux-6.6.21/mm/ |
D | internal.h | 428 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-6.6.21/drivers/scsi/lpfc/ |
D | lpfc.h | 1600 u32 head_idx, tail_idx; /* index to head/tail of ring */ member
|
D | lpfc_sli.c | 8043 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()
|