Searched refs:new_tail (Results 1 – 5 of 5) sorted by relevance
/linux/kernel/bpf/ |
H A D | rqspinlock.h | 18 * @new_tail: The new queue tail code word 28 static __always_inline bool try_cmpxchg_tail(struct qspinlock *lock, u32 tail, u32 new_tail) in try_cmpxchg_tail() argument 42 new = (old & _Q_LOCKED_PENDING_MASK) | new_tail; in try_cmpxchg_tail()
|
/linux/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()
|
/linux/fs/gfs2/ |
H A D | log.c | 407 static void ail2_empty(struct gfs2_sbd *sdp, unsigned int new_tail) in ail2_empty() argument 414 if (old_tail <= new_tail) { in ail2_empty() 416 if (old_tail <= tr->tr_first && tr->tr_first < new_tail) in ail2_empty() 421 if (old_tail <= tr->tr_first || tr->tr_first < new_tail) in ail2_empty() 671 unsigned int new_tail = sdp->sd_log_flush_tail; in log_pull_tail() local 674 if (new_tail == sdp->sd_log_tail) in log_pull_tail() 676 dist = log_distance(sdp, new_tail, sdp->sd_log_tail); in log_pull_tail() 677 ail2_empty(sdp, new_tail); in log_pull_tail() 679 sdp->sd_log_tail = new_tail; in log_pull_tail()
|
/linux/fs/ufs/ |
H A D | inode.c | 891 unsigned int old_tail, new_tail; in ufs_trunc_direct() local 906 new_tail = ufs_fragnum(new_frags); in ufs_trunc_direct() 914 if (!new_tail) { in ufs_trunc_direct() 919 ufs_free_fragments(inode, tmp + new_tail, old_tail - new_tail); in ufs_trunc_direct() 923 if (new_tail) { in ufs_trunc_direct() 929 ufs_free_fragments(inode, tmp + new_tail, in ufs_trunc_direct() 930 uspi->s_fpb - new_tail); in ufs_trunc_direct()
|
/linux/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...] |