Home
last modified time | relevance | path

Searched refs:old_head (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_imem_ops.c224 if (channel->ul_pipe.old_tail != channel->ul_pipe.old_head) { in ipc_imem_sys_port_close()
237 channel->ul_pipe.old_head, in ipc_imem_sys_port_close()
263 channel->dl_pipe.old_head, in ipc_imem_sys_port_close()
423 if (channel->ul_pipe.old_tail != channel->ul_pipe.old_head) { in ipc_imem_sys_devlink_close()
431 channel->ul_pipe.old_head, in ipc_imem_sys_devlink_close()
447 channel->dl_pipe.old_head, in ipc_imem_sys_devlink_close()
H A Diosm_ipc_protocol_ops.c282 if (pipe->old_head != head) { in ipc_protocol_ul_td_send()
285 pipe->old_head = head; in ipc_protocol_ul_td_send()
H A Diosm_ipc_imem.h206 u32 old_head; member
/linux/io_uring/
H A Dregister.c495 unsigned i, tail, old_head; in io_register_resize_rings() local
590 old_head = READ_ONCE(o.rings->sq.head); in io_register_resize_rings()
591 if (tail - old_head > p->sq_entries) in io_register_resize_rings()
593 for (i = old_head; i < tail; i++) { in io_register_resize_rings()
599 WRITE_ONCE(n.rings->sq.head, old_head); in io_register_resize_rings()
603 old_head = READ_ONCE(o.rings->cq.head); in io_register_resize_rings()
604 if (tail - old_head > p->cq_entries) { in io_register_resize_rings()
613 for (i = old_head; i < tail; i++) { in io_register_resize_rings()
619 WRITE_ONCE(n.rings->cq.head, old_head); in io_register_resize_rings()
/linux/drivers/net/ethernet/google/gve/
H A Dgve_tx_dqo.c87 s16 old_head = atomic_read_acquire(&tx->dqo_compl.free_tx_qpl_buf_head); in gve_free_tx_qpl_bufs() local
89 tx->dqo.tx_qpl_buf_next[index] = old_head; in gve_free_tx_qpl_bufs()
91 old_head, in gve_free_tx_qpl_bufs()
92 pkt->tx_qpl_buf_ids[0]) == old_head) { in gve_free_tx_qpl_bufs()
160 s16 old_head = atomic_read_acquire(&tx->dqo_compl.free_pending_packets); in gve_free_pending_packet() local
162 pending_packet->next = old_head; in gve_free_pending_packet()
164 old_head, index) == old_head) { in gve_free_pending_packet()
/linux/arch/x86/events/intel/
H A Dbts.c467 s64 old_head; in intel_bts_interrupt() local
501 old_head = local_read(&bb->head); in intel_bts_interrupt()
505 if (old_head == local_read(&bb->head)) in intel_bts_interrupt()
/linux/fs/xfs/
H A Dxfs_log_cil.c850 xfs_lsn_t old_head; in xlog_cil_ail_insert() local
867 old_head = ailp->ail_head_lsn; in xlog_cil_ail_insert()
880 xlog_grant_return_space(ailp->ail_log, old_head, ailp->ail_head_lsn); in xlog_cil_ail_insert()
H A Dxfs_log.c111 xfs_lsn_t old_head, in xlog_grant_return_space() argument
114 int64_t diff = xlog_lsn_sub(log, new_head, old_head); in xlog_grant_return_space()
/linux/fs/nfs/
H A Dwrite.c328 struct nfs_page *old_head, in nfs_destroy_unlinked_subrequests() argument
334 destroy_list = (subreq->wb_this_page == old_head) ? in nfs_destroy_unlinked_subrequests()
339 WARN_ON_ONCE(old_head != subreq->wb_head); in nfs_destroy_unlinked_subrequests()
359 nfs_release_request(old_head); in nfs_destroy_unlinked_subrequests()
/linux/drivers/net/ethernet/spacemit/
H A Dk1_emac.c738 u32 head, old_head, frag_num, f; in emac_tx_mem_map() local
743 old_head = head; in emac_tx_mem_map()
763 if (head != old_head) in emac_tx_mem_map()
794 tx_desc_addr = &((struct emac_desc *)tx_ring->desc_addr)[old_head]; in emac_tx_mem_map()
/linux/drivers/md/dm-vdo/
H A Drecovery-journal.c465 sequence_number_t old_head = get_recovery_journal_head(journal); in finish_reaping() local
469 blocks_reaped = get_recovery_journal_head(journal) - old_head; in finish_reaping()
/linux/kernel/trace/
H A Dring_buffer.c3295 unsigned long old_head = (unsigned long)next_page->page; in rb_update_meta_head() local
3305 (void)cmpxchg(&meta->head_buffer, old_head, new_head); in rb_update_meta_head()