Home
last modified time | relevance | path

Searched refs:new_tail (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/arch/sparc/kernel/
Dldc.c221 unsigned long *new_tail) in handshake_get_tx_packet() argument
230 *new_tail = t; in handshake_get_tx_packet()
252 unsigned long limit, tail, new_tail, diff; in tx_has_space_for() local
257 new_tail = tx_advance(lp, tail); in tx_has_space_for()
258 if (new_tail == limit) in tx_has_space_for()
261 if (limit > new_tail) in tx_has_space_for()
262 diff = limit - new_tail; in tx_has_space_for()
265 ((lp->tx_num_entries * LDC_PACKET_SIZE) - new_tail)); in tx_has_space_for()
276 unsigned long *new_tail) in data_get_tx_packet() argument
286 *new_tail = t; in data_get_tx_packet()
[all …]
/linux-6.6.21/mm/kasan/
Dquarantine.c229 int new_tail; in kasan_quarantine_put() local
231 new_tail = quarantine_tail + 1; in kasan_quarantine_put()
232 if (new_tail == QUARANTINE_BATCHES) in kasan_quarantine_put()
233 new_tail = 0; in kasan_quarantine_put()
234 if (new_tail != quarantine_head) in kasan_quarantine_put()
235 quarantine_tail = new_tail; in kasan_quarantine_put()
/linux-6.6.21/drivers/crypto/intel/keembay/
Docs-hcu.c532 struct ocs_hcu_dma_entry *new_tail; in ocs_hcu_dma_list_add_tail() local
547 new_tail = old_tail ? old_tail + 1 : dma_list->head; in ocs_hcu_dma_list_add_tail()
550 if (new_tail - dma_list->head >= dma_list->max_nents) in ocs_hcu_dma_list_add_tail()
564 sizeof(*dma_list->tail) * (new_tail - in ocs_hcu_dma_list_add_tail()
568 new_tail->src_addr = (u32)addr; in ocs_hcu_dma_list_add_tail()
569 new_tail->src_len = (u32)len; in ocs_hcu_dma_list_add_tail()
570 new_tail->ll_flags = OCS_LL_DMA_FLAG_TERMINATE; in ocs_hcu_dma_list_add_tail()
571 new_tail->nxt_desc = 0; in ocs_hcu_dma_list_add_tail()
574 dma_list->tail = new_tail; in ocs_hcu_dma_list_add_tail()
/linux-6.6.21/fs/gfs2/
Dlog.c414 static void ail2_empty(struct gfs2_sbd *sdp, unsigned int new_tail) in ail2_empty() argument
421 if (old_tail <= new_tail) { in ail2_empty()
423 if (old_tail <= tr->tr_first && tr->tr_first < new_tail) in ail2_empty()
428 if (old_tail <= tr->tr_first || tr->tr_first < new_tail) in ail2_empty()
678 unsigned int new_tail = sdp->sd_log_flush_tail; in log_pull_tail() local
681 if (new_tail == sdp->sd_log_tail) in log_pull_tail()
683 dist = log_distance(sdp, new_tail, sdp->sd_log_tail); in log_pull_tail()
684 ail2_empty(sdp, new_tail); in log_pull_tail()
686 sdp->sd_log_tail = new_tail; in log_pull_tail()
/linux-6.6.21/drivers/net/ethernet/qualcomm/
Dqca_spi.c746 u16 new_tail; in qcaspi_netdev_xmit() local
789 new_tail = qca->txr.tail + 1; in qcaspi_netdev_xmit()
790 if (new_tail >= qca->txr.count) in qcaspi_netdev_xmit()
791 new_tail = 0; in qcaspi_netdev_xmit()
794 qca->txr.tail = new_tail; in qcaspi_netdev_xmit()
/linux-6.6.21/drivers/atm/
Dhe.c1880 struct he_rbp *new_tail; in he_service_rbpl() local
1891 new_tail = (struct he_rbp *) ((unsigned long)he_dev->rbpl_base | in he_service_rbpl()
1895 if (new_tail == rbpl_head) in he_service_rbpl()
1913 new_tail->idx = i << RBP_IDX_OFFSET; in he_service_rbpl()
1914 new_tail->phys = mapping + offsetof(struct he_buff, data); in he_service_rbpl()
1916 he_dev->rbpl_tail = new_tail; in he_service_rbpl()
2052 struct he_tpdrq *new_tail; in __enqueue_tpd() local
2058 new_tail = (struct he_tpdrq *) ((unsigned long) he_dev->tpdrq_base | in __enqueue_tpd()
2068 if (new_tail == he_dev->tpdrq_head) { in __enqueue_tpd()
2073 if (new_tail == he_dev->tpdrq_head) { in __enqueue_tpd()
[all …]
/linux-6.6.21/drivers/crypto/
Dn2_core.c204 unsigned long hv_ret, new_tail; in spu_queue_submit() local
206 new_tail = spu_next_offset(q, last - q->q); in spu_queue_submit()
208 hv_ret = sun4v_ncs_settail(q->qhandle, new_tail); in spu_queue_submit()
210 q->tail = new_tail; in spu_queue_submit()