/linux-6.1.9/lib/ |
D | llist.c | 77 struct llist_node *new_head = NULL; in llist_reverse_order() local 82 tmp->next = new_head; in llist_reverse_order() 83 new_head = tmp; in llist_reverse_order() 86 return new_head; in llist_reverse_order()
|
D | maple_tree.c | 1143 goto new_head; in mas_pop_node() 1151 new_head: in mas_pop_node()
|
/linux-6.1.9/drivers/net/wwan/iosm/ |
D | iosm_ipc_protocol_ops.c | 14 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.1.9/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd-tef.c | 126 unsigned int new_head; in mcp251xfd_tef_ring_update() local 137 new_head = round_down(priv->tef->head, tx_ring->obj_num) + chip_tx_tail; in mcp251xfd_tef_ring_update() 138 if (new_head <= priv->tef->head) in mcp251xfd_tef_ring_update() 139 new_head += tx_ring->obj_num; in mcp251xfd_tef_ring_update() 142 priv->tef->head = min(new_head, tx_ring->head); in mcp251xfd_tef_ring_update()
|
D | mcp251xfd-rx.c | 86 u32 new_head; in mcp251xfd_rx_ring_update() local 99 new_head = round_down(ring->head, ring->obj_num) + chip_rx_head; in mcp251xfd_rx_ring_update() 100 if (new_head <= ring->head) in mcp251xfd_rx_ring_update() 101 new_head += ring->obj_num; in mcp251xfd_rx_ring_update() 103 ring->head = new_head; in mcp251xfd_rx_ring_update()
|
/linux-6.1.9/arch/x86/kernel/cpu/mce/ |
D | genpool.c | 58 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.1.9/drivers/net/ethernet/qualcomm/ |
D | qca_spi.c | 284 u16 new_head; in qcaspi_transmit() local 327 new_head = qca->txr.head + 1; in qcaspi_transmit() 328 if (new_head >= qca->txr.count) in qcaspi_transmit() 329 new_head = 0; in qcaspi_transmit() 330 qca->txr.head = new_head; in qcaspi_transmit()
|
/linux-6.1.9/drivers/crypto/ |
D | n2_core.c | 104 unsigned long old_head, unsigned long new_head) in job_finished() argument 106 if (old_head <= new_head) { in job_finished() 107 if (offset > old_head && offset <= new_head) in job_finished() 110 if (offset > old_head || offset <= new_head) in job_finished() 123 unsigned long off, new_head, hv_ret; in cwq_intr() local 131 hv_ret = sun4v_ncs_gethead(q->qhandle, &new_head); in cwq_intr() 134 smp_processor_id(), new_head, hv_ret); in cwq_intr() 136 for (off = q->head; off != new_head; off = spu_next_offset(q, off)) { in cwq_intr() 140 hv_ret = sun4v_ncs_sethead_marker(q->qhandle, new_head); in cwq_intr() 142 q->head = new_head; in cwq_intr()
|
/linux-6.1.9/drivers/hid/ |
D | hidraw.c | 518 int new_head = (list->head + 1) & (HIDRAW_BUFFER_SIZE - 1); in hidraw_report_event() local 520 if (new_head == list->tail) in hidraw_report_event() 528 list->head = new_head; in hidraw_report_event()
|
/linux-6.1.9/drivers/input/ |
D | mousedev.c | 266 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.1.9/fs/gfs2/ |
D | log.c | 263 unsigned int new_head = sdp->sd_log_flush_head; in gfs2_log_update_head() local 266 sdp->sd_log_flush_tail = new_head; in gfs2_log_update_head() 267 sdp->sd_log_head = new_head; in gfs2_log_update_head()
|
/linux-6.1.9/fs/ceph/ |
D | mds_client.c | 2610 struct ceph_mds_request_head *new_head = msg->front.iov_base; in create_request_message() local 2613 new_head->version = cpu_to_le16(CEPH_MDS_REQUEST_HEAD_VERSION); in create_request_message() 2614 head = (struct ceph_mds_request_head_old *)&new_head->oldest_client_tid; in create_request_message() 2615 p = msg->front.iov_base + sizeof(*new_head); in create_request_message() 2712 struct ceph_mds_request_head *new_head; in find_old_request_head() local 2716 new_head = (struct ceph_mds_request_head *)p; in find_old_request_head() 2717 return (struct ceph_mds_request_head_old *)&new_head->oldest_client_tid; in find_old_request_head()
|
/linux-6.1.9/kernel/trace/ |
D | ring_buffer.c | 2493 struct buffer_page *new_head; in rb_handle_head_page() local 2577 new_head = next_page; in rb_handle_head_page() 2578 rb_inc_page(&new_head); in rb_handle_head_page() 2580 ret = rb_head_page_set_head(cpu_buffer, new_head, next_page, in rb_handle_head_page() 2621 rb_head_page_set_normal(cpu_buffer, new_head, in rb_handle_head_page()
|