Searched refs:new_tail (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.15/arch/sparc/kernel/ |
| D | ldc.c | 221 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-v5.15/mm/kasan/ |
| D | quarantine.c | 209 int new_tail; in kasan_quarantine_put() local 211 new_tail = quarantine_tail + 1; in kasan_quarantine_put() 212 if (new_tail == QUARANTINE_BATCHES) in kasan_quarantine_put() 213 new_tail = 0; in kasan_quarantine_put() 214 if (new_tail != quarantine_head) in kasan_quarantine_put() 215 quarantine_tail = new_tail; in kasan_quarantine_put()
|
| /Linux-v5.15/drivers/crypto/keembay/ |
| D | ocs-hcu.c | 532 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-v5.15/fs/gfs2/ |
| D | log.c | 406 static void ail2_empty(struct gfs2_sbd *sdp, unsigned int new_tail) in ail2_empty() argument 413 if (old_tail <= new_tail) { in ail2_empty() 415 if (old_tail <= tr->tr_first && tr->tr_first < new_tail) in ail2_empty() 420 if (old_tail <= tr->tr_first || tr->tr_first < new_tail) in ail2_empty() 670 unsigned int new_tail = sdp->sd_log_flush_tail; in log_pull_tail() local 673 if (new_tail == sdp->sd_log_tail) in log_pull_tail() 675 dist = log_distance(sdp, new_tail, sdp->sd_log_tail); in log_pull_tail() 676 ail2_empty(sdp, new_tail); in log_pull_tail() 678 sdp->sd_log_tail = new_tail; in log_pull_tail()
|
| /Linux-v5.15/drivers/net/ethernet/qualcomm/ |
| D | qca_spi.c | 730 u16 new_tail; in qcaspi_netdev_xmit() local 773 new_tail = qca->txr.tail + 1; in qcaspi_netdev_xmit() 774 if (new_tail >= qca->txr.count) in qcaspi_netdev_xmit() 775 new_tail = 0; in qcaspi_netdev_xmit() 778 qca->txr.tail = new_tail; in qcaspi_netdev_xmit()
|
| /Linux-v5.15/drivers/atm/ |
| D | he.c | 1883 struct he_rbp *new_tail; in he_service_rbpl() local 1894 new_tail = (struct he_rbp *) ((unsigned long)he_dev->rbpl_base | in he_service_rbpl() 1898 if (new_tail == rbpl_head) in he_service_rbpl() 1916 new_tail->idx = i << RBP_IDX_OFFSET; in he_service_rbpl() 1917 new_tail->phys = mapping + offsetof(struct he_buff, data); in he_service_rbpl() 1919 he_dev->rbpl_tail = new_tail; in he_service_rbpl() 2055 struct he_tpdrq *new_tail; in __enqueue_tpd() local 2061 new_tail = (struct he_tpdrq *) ((unsigned long) he_dev->tpdrq_base | in __enqueue_tpd() 2071 if (new_tail == he_dev->tpdrq_head) { in __enqueue_tpd() 2076 if (new_tail == he_dev->tpdrq_head) { in __enqueue_tpd() [all …]
|
| /Linux-v5.15/drivers/crypto/ |
| D | n2_core.c | 203 unsigned long hv_ret, new_tail; in spu_queue_submit() local 205 new_tail = spu_next_offset(q, last - q->q); in spu_queue_submit() 207 hv_ret = sun4v_ncs_settail(q->qhandle, new_tail); in spu_queue_submit() 209 q->tail = new_tail; in spu_queue_submit()
|