/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | ldc.c | 221 unsigned long *new_tail) in handshake_get_tx_packet() 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() 286 *new_tail in data_get_tx_packet() 220 handshake_get_tx_packet(struct ldc_channel *lp, unsigned long *new_tail) handshake_get_tx_packet() argument 275 data_get_tx_packet(struct ldc_channel *lp, unsigned long *new_tail) data_get_tx_packet() argument 340 send_tx_packet(struct ldc_channel *lp, struct ldc_packet *p, unsigned long new_tail) send_tx_packet() argument 349 handshake_compose_ctrl(struct ldc_channel *lp, u8 stype, u8 ctrl, void *data, int dlen, unsigned long *new_tail) handshake_compose_ctrl() argument 371 unsigned long new_tail; start_handshake() local 394 unsigned long new_tail; send_version_nack() local 414 unsigned long new_tail; send_version_ack() local 430 unsigned long new_tail; send_rts() local 450 unsigned long new_tail; send_rtr() local 469 unsigned long new_tail; send_rdx() local 489 unsigned long new_tail; send_data_nack() local 629 unsigned long new_tail; process_ver_nack() local 1503 unsigned long new_tail, hv_err; write_raw() local 1719 unsigned long new_tail; send_data_ack() local [all...] |
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | ldc.c | 221 unsigned long *new_tail) in handshake_get_tx_packet() 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() 286 *new_tail in data_get_tx_packet() 220 handshake_get_tx_packet(struct ldc_channel *lp, unsigned long *new_tail) handshake_get_tx_packet() argument 275 data_get_tx_packet(struct ldc_channel *lp, unsigned long *new_tail) data_get_tx_packet() argument 340 send_tx_packet(struct ldc_channel *lp, struct ldc_packet *p, unsigned long new_tail) send_tx_packet() argument 349 handshake_compose_ctrl(struct ldc_channel *lp, u8 stype, u8 ctrl, void *data, int dlen, unsigned long *new_tail) handshake_compose_ctrl() argument 371 unsigned long new_tail; start_handshake() local 394 unsigned long new_tail; send_version_nack() local 414 unsigned long new_tail; send_version_ack() local 430 unsigned long new_tail; send_rts() local 450 unsigned long new_tail; send_rtr() local 469 unsigned long new_tail; send_rdx() local 489 unsigned long new_tail; send_data_nack() local 629 unsigned long new_tail; process_ver_nack() local 1503 unsigned long new_tail, hv_err; write_raw() local 1719 unsigned long new_tail; send_data_ack() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/intel/keembay/ |
H A 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()
|
/kernel/linux/linux-5.10/mm/kasan/ |
H A D | quarantine.c | 206 int new_tail; in quarantine_put() local 208 new_tail = quarantine_tail + 1; in quarantine_put() 209 if (new_tail == QUARANTINE_BATCHES) in quarantine_put() 210 new_tail = 0; in quarantine_put() 211 if (new_tail != quarantine_head) in quarantine_put() 212 quarantine_tail = new_tail; in quarantine_put()
|
/kernel/linux/linux-6.6/mm/kasan/ |
H A D | quarantine.c | 229 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()
|
/kernel/linux/linux-6.6/fs/gfs2/ |
H A D | log.c | 414 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()
|
/kernel/linux/linux-5.10/fs/gfs2/ |
H A D | log.c | 368 static void ail2_empty(struct gfs2_sbd *sdp, unsigned int new_tail) in ail2_empty() argument 372 int wrap = (new_tail < old_tail); in ail2_empty() 379 b = (tr->tr_first < new_tail); in ail2_empty() 578 static void log_pull_tail(struct gfs2_sbd *sdp, unsigned int new_tail) in log_pull_tail() argument 580 unsigned int dist = log_distance(sdp, new_tail, sdp->sd_log_tail); in log_pull_tail() 582 ail2_empty(sdp, new_tail); in log_pull_tail() 589 sdp->sd_log_tail = new_tail; in log_pull_tail()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/ |
H A D | qca_spi.c | 740 u16 new_tail; in qcaspi_netdev_xmit() local 783 new_tail = qca->txr.tail + 1; in qcaspi_netdev_xmit() 784 if (new_tail >= qca->txr.count) in qcaspi_netdev_xmit() 785 new_tail = 0; in qcaspi_netdev_xmit() 788 qca->txr.tail = new_tail; in qcaspi_netdev_xmit()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/qualcomm/ |
H A D | qca_spi.c | 746 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()
|
/kernel/linux/linux-5.10/drivers/atm/ |
H A 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 2060 /* new_tail = he_dev->tpdrq_tail; */ in __enqueue_tpd() 2061 new_tail = (struct he_tpdrq *) ((unsigned long) he_dev->tpdrq_base | in __enqueue_tpd() 2071 if (new_tail in __enqueue_tpd() [all...] |
/kernel/linux/linux-6.6/drivers/atm/ |
H A D | he.c | 1880 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 2057 /* new_tail = he_dev->tpdrq_tail; */ in __enqueue_tpd() 2058 new_tail = (struct he_tpdrq *) ((unsigned long) he_dev->tpdrq_base | in __enqueue_tpd() 2068 if (new_tail in __enqueue_tpd() [all...] |
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | n2_core.c | 202 unsigned long hv_ret, new_tail; in spu_queue_submit() local 204 new_tail = spu_next_offset(q, last - q->q); in spu_queue_submit() 206 hv_ret = sun4v_ncs_settail(q->qhandle, new_tail); in spu_queue_submit() 208 q->tail = new_tail; in spu_queue_submit()
|
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | n2_core.c | 204 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()
|