Home
last modified time | relevance | path

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

/linux-4.4.14/arch/sparc/kernel/
Dldc.c228 unsigned long *new_tail) in handshake_get_tx_packet() argument
237 *new_tail = t; in handshake_get_tx_packet()
259 unsigned long limit, tail, new_tail, diff; in tx_has_space_for() local
264 new_tail = tx_advance(lp, tail); in tx_has_space_for()
265 if (new_tail == limit) in tx_has_space_for()
268 if (limit > new_tail) in tx_has_space_for()
269 diff = limit - new_tail; in tx_has_space_for()
272 ((lp->tx_num_entries * LDC_PACKET_SIZE) - new_tail)); in tx_has_space_for()
283 unsigned long *new_tail) in data_get_tx_packet() argument
293 *new_tail = t; in data_get_tx_packet()
[all …]
/linux-4.4.14/fs/gfs2/
Dlog.c277 static void ail2_empty(struct gfs2_sbd *sdp, unsigned int new_tail) in ail2_empty() argument
281 int wrap = (new_tail < old_tail); in ail2_empty()
288 b = (tr->tr_first < new_tail); in ail2_empty()
486 static void log_pull_tail(struct gfs2_sbd *sdp, unsigned int new_tail) in log_pull_tail() argument
488 unsigned int dist = log_distance(sdp, new_tail, sdp->sd_log_tail); in log_pull_tail()
490 ail2_empty(sdp, new_tail); in log_pull_tail()
497 sdp->sd_log_tail = new_tail; in log_pull_tail()
/linux-4.4.14/drivers/net/ethernet/qualcomm/
Dqca_spi.c665 u16 new_tail; in qcaspi_netdev_xmit() local
710 new_tail = qca->txr.tail + 1; in qcaspi_netdev_xmit()
711 if (new_tail >= qca->txr.count) in qcaspi_netdev_xmit()
712 new_tail = 0; in qcaspi_netdev_xmit()
715 qca->txr.tail = new_tail; in qcaspi_netdev_xmit()
/linux-4.4.14/drivers/atm/
Dhe.c1882 struct he_rbp *new_tail; in he_service_rbpl() local
1893 new_tail = (struct he_rbp *) ((unsigned long)he_dev->rbpl_base | in he_service_rbpl()
1897 if (new_tail == rbpl_head) in he_service_rbpl()
1915 new_tail->idx = i << RBP_IDX_OFFSET; in he_service_rbpl()
1916 new_tail->phys = mapping + offsetof(struct he_buff, data); in he_service_rbpl()
1918 he_dev->rbpl_tail = new_tail; in he_service_rbpl()
2054 struct he_tpdrq *new_tail; in __enqueue_tpd() local
2060 new_tail = (struct he_tpdrq *) ((unsigned long) he_dev->tpdrq_base | in __enqueue_tpd()
2070 if (new_tail == he_dev->tpdrq_head) { in __enqueue_tpd()
2075 if (new_tail == he_dev->tpdrq_head) { in __enqueue_tpd()
[all …]
/linux-4.4.14/drivers/crypto/
Dn2_core.c195 unsigned long hv_ret, new_tail; in spu_queue_submit() local
197 new_tail = spu_next_offset(q, last - q->q); in spu_queue_submit()
199 hv_ret = sun4v_ncs_settail(q->qhandle, new_tail); in spu_queue_submit()
201 q->tail = new_tail; in spu_queue_submit()