Searched refs:new_head (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/lib/ |
D | llist.c | 81 struct llist_node *new_head = NULL; in llist_reverse_order() local 86 tmp->next = new_head; in llist_reverse_order() 87 new_head = tmp; in llist_reverse_order() 90 return new_head; in llist_reverse_order()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | walt.c | 1439 struct list_head new_head; in sort_clusters() local 1442 INIT_LIST_HEAD(&new_head); in sort_clusters() 1455 move_list(&new_head, &cluster_head, true); in sort_clusters() 1457 list_sort(NULL, &new_head, compare_clusters); in sort_clusters() 1458 assign_cluster_ids(&new_head); in sort_clusters() 1464 move_list(&cluster_head, &new_head, false); in sort_clusters() 1505 struct list_head new_head; in update_cluster_topology() local 1508 INIT_LIST_HEAD(&new_head); in update_cluster_topology() 1514 add_cluster(cluster_cpus, &new_head); in update_cluster_topology() 1517 assign_cluster_ids(&new_head); in update_cluster_topology() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/crypto/ |
D | n2_core.c | 103 unsigned long old_head, unsigned long new_head) in job_finished() argument 105 if (old_head <= new_head) { in job_finished() 106 if (offset > old_head && offset <= new_head) in job_finished() 109 if (offset > old_head || offset <= new_head) in job_finished() 122 unsigned long off, new_head, hv_ret; in cwq_intr() local 130 hv_ret = sun4v_ncs_gethead(q->qhandle, &new_head); in cwq_intr() 133 smp_processor_id(), new_head, hv_ret); in cwq_intr() 135 for (off = q->head; off != new_head; off = spu_next_offset(q, off)) { in cwq_intr() 139 hv_ret = sun4v_ncs_sethead_marker(q->qhandle, new_head); in cwq_intr() 141 q->head = new_head; in cwq_intr()
|
/kernel/linux/linux-5.10/drivers/hid/ |
D | hidraw.c | 494 int new_head = (list->head + 1) & (HIDRAW_BUFFER_SIZE - 1); in hidraw_report_event() local 496 if (new_head == list->tail) in hidraw_report_event() 504 list->head = new_head; in hidraw_report_event()
|
/kernel/linux/linux-5.10/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd-core.c | 1258 unsigned int new_head; in mcp251xfd_tef_ring_update() local 1269 new_head = round_down(priv->tef.head, tx_ring->obj_num) + chip_tx_tail; in mcp251xfd_tef_ring_update() 1270 if (new_head <= priv->tef.head) in mcp251xfd_tef_ring_update() 1271 new_head += tx_ring->obj_num; in mcp251xfd_tef_ring_update() 1274 priv->tef.head = min(new_head, tx_ring->head); in mcp251xfd_tef_ring_update() 1356 u32 new_head; in mcp251xfd_rx_ring_update() local 1367 new_head = round_down(ring->head, ring->obj_num) + chip_rx_head; in mcp251xfd_rx_ring_update() 1368 if (new_head <= ring->head) in mcp251xfd_rx_ring_update() 1369 new_head += ring->obj_num; in mcp251xfd_rx_ring_update() 1371 ring->head = new_head; in mcp251xfd_rx_ring_update()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/kernel/trace/ |
D | ring_buffer.c | 2291 struct buffer_page *new_head; in rb_handle_head_page() local 2374 new_head = next_page; in rb_handle_head_page() 2375 rb_inc_page(cpu_buffer, &new_head); in rb_handle_head_page() 2377 ret = rb_head_page_set_head(cpu_buffer, new_head, next_page, in rb_handle_head_page() 2418 rb_head_page_set_normal(cpu_buffer, new_head, in rb_handle_head_page()
|