Home
last modified time | relevance | path

Searched refs:new_head (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/lib/
Dllist.c105 struct llist_node *new_head = NULL; in llist_reverse_order() local
110 tmp->next = new_head; in llist_reverse_order()
111 new_head = tmp; in llist_reverse_order()
114 return new_head; in llist_reverse_order()
Dmaple_tree.c1160 goto new_head; in mas_pop_node()
1167 new_head: in mas_pop_node()
/linux-6.12.1/drivers/net/wwan/iosm/
Diosm_ipc_protocol_ops.c14 u32 new_head = (head + 1) % IPC_MEM_MSG_ENTRIES; in ipc_protocol_free_msg_get() local
17 if (new_head == le32_to_cpu(ipc_protocol->p_ap_shm->msg_tail)) { in ipc_protocol_free_msg_get()
39 u32 new_head = (head + 1) % IPC_MEM_MSG_ENTRIES; in ipc_protocol_msg_hp_update() local
42 ipc_protocol->p_ap_shm->msg_head = cpu_to_le32(new_head); in ipc_protocol_msg_hp_update()
328 u32 head, new_head; in ipc_protocol_dl_td_prepare() local
338 new_head = head + 1; in ipc_protocol_dl_td_prepare()
339 if (new_head >= pipe->nr_of_entries) in ipc_protocol_dl_td_prepare()
340 new_head = 0; in ipc_protocol_dl_td_prepare()
342 if (new_head == tail) in ipc_protocol_dl_td_prepare()
361 cpu_to_le32(new_head); in ipc_protocol_dl_td_prepare()
/linux-6.12.1/arch/x86/kernel/cpu/mce/
Dgenpool.c58 LLIST_HEAD(new_head); in mce_gen_pool_prepare_records()
68 llist_add(&node->llnode, &new_head); in mce_gen_pool_prepare_records()
71 return new_head.first; in mce_gen_pool_prepare_records()
/linux-6.12.1/drivers/crypto/
Dn2_core.c105 unsigned long old_head, unsigned long new_head) in job_finished() argument
107 if (old_head <= new_head) { in job_finished()
108 if (offset > old_head && offset <= new_head) in job_finished()
111 if (offset > old_head || offset <= new_head) in job_finished()
124 unsigned long off, new_head, hv_ret; in cwq_intr() local
132 hv_ret = sun4v_ncs_gethead(q->qhandle, &new_head); in cwq_intr()
135 smp_processor_id(), new_head, hv_ret); in cwq_intr()
137 for (off = q->head; off != new_head; off = spu_next_offset(q, off)) { in cwq_intr()
141 hv_ret = sun4v_ncs_sethead_marker(q->qhandle, new_head); in cwq_intr()
143 q->head = new_head; in cwq_intr()
/linux-6.12.1/drivers/net/ethernet/qualcomm/
Dqca_spi.c272 u16 new_head; in qcaspi_transmit() local
315 new_head = qca->txr.head + 1; in qcaspi_transmit()
316 if (new_head >= qca->txr.count) in qcaspi_transmit()
317 new_head = 0; in qcaspi_transmit()
318 qca->txr.head = new_head; in qcaspi_transmit()
/linux-6.12.1/drivers/hid/
Dhidraw.c559 int new_head = (list->head + 1) & (HIDRAW_BUFFER_SIZE - 1); in hidraw_report_event() local
561 if (hidraw_is_revoked(list) || new_head == list->tail) in hidraw_report_event()
569 list->head = new_head; in hidraw_report_event()
/linux-6.12.1/drivers/input/
Dmousedev.c266 unsigned int new_head; in mousedev_notify_readers() local
277 new_head = (client->head + 1) % PACKET_QUEUE_LEN; in mousedev_notify_readers()
278 if (new_head != client->tail) { in mousedev_notify_readers()
279 p = &client->packets[client->head = new_head]; in mousedev_notify_readers()
/linux-6.12.1/drivers/bluetooth/
Dhci_bcm4377.c877 u16 head, tail, new_head; in bcm4377_enqueue() local
900 new_head = (head + 1) % ring->n_entries; in bcm4377_enqueue()
902 if (new_head == tail) { in bcm4377_enqueue()
953 new_head); in bcm4377_enqueue()
955 cpu_to_le16(new_head); in bcm4377_enqueue()
958 bcm4377_ring_doorbell(bcm4377, ring->doorbell, new_head); in bcm4377_enqueue()
/linux-6.12.1/fs/gfs2/
Dlog.c264 unsigned int new_head = sdp->sd_log_flush_head; in gfs2_log_update_head() local
267 sdp->sd_log_flush_tail = new_head; in gfs2_log_update_head()
268 sdp->sd_log_head = new_head; in gfs2_log_update_head()
/linux-6.12.1/fs/xfs/
Dxfs_log_priv.h613 xfs_lsn_t new_head);
Dxfs_log.c161 xfs_lsn_t new_head) in xlog_grant_return_space() argument
163 int64_t diff = xlog_lsn_sub(log, new_head, old_head); in xlog_grant_return_space()
/linux-6.12.1/kernel/trace/
Dring_buffer.c3052 unsigned long new_head; in rb_update_meta_head() local
3055 new_head = (unsigned long)next_page->page; in rb_update_meta_head()
3061 (void)cmpxchg(&meta->head_buffer, old_head, new_head); in rb_update_meta_head()
3095 struct buffer_page *new_head; in rb_handle_head_page() local
3181 new_head = next_page; in rb_handle_head_page()
3182 rb_inc_page(&new_head); in rb_handle_head_page()
3184 ret = rb_head_page_set_head(cpu_buffer, new_head, next_page, in rb_handle_head_page()
3225 rb_head_page_set_normal(cpu_buffer, new_head, in rb_handle_head_page()