Home
last modified time | relevance | path

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

/Linux-v4.19/lib/
Dllist.c93 struct llist_node *new_head = NULL; in llist_reverse_order() local
98 tmp->next = new_head; in llist_reverse_order()
99 new_head = tmp; in llist_reverse_order()
102 return new_head; in llist_reverse_order()
/Linux-v4.19/arch/x86/kernel/cpu/mcheck/
Dmce-genpool.c59 LLIST_HEAD(new_head); in mce_gen_pool_prepare_records()
69 llist_add(&node->llnode, &new_head); in mce_gen_pool_prepare_records()
72 return new_head.first; in mce_gen_pool_prepare_records()
/Linux-v4.19/drivers/net/ethernet/qualcomm/
Dqca_spi.c278 u16 new_head; in qcaspi_transmit() local
313 new_head = qca->txr.head + 1; in qcaspi_transmit()
314 if (new_head >= qca->txr.count) in qcaspi_transmit()
315 new_head = 0; in qcaspi_transmit()
316 qca->txr.head = new_head; in qcaspi_transmit()
/Linux-v4.19/drivers/hid/
Dhidraw.c494 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()
/Linux-v4.19/drivers/crypto/
Dn2_core.c101 unsigned long old_head, unsigned long new_head) in job_finished() argument
103 if (old_head <= new_head) { in job_finished()
104 if (offset > old_head && offset <= new_head) in job_finished()
107 if (offset > old_head || offset <= new_head) in job_finished()
120 unsigned long off, new_head, hv_ret; in cwq_intr() local
128 hv_ret = sun4v_ncs_gethead(q->qhandle, &new_head); in cwq_intr()
131 smp_processor_id(), new_head, hv_ret); in cwq_intr()
133 for (off = q->head; off != new_head; off = spu_next_offset(q, off)) { in cwq_intr()
137 hv_ret = sun4v_ncs_sethead_marker(q->qhandle, new_head); in cwq_intr()
139 q->head = new_head; in cwq_intr()
/Linux-v4.19/drivers/input/
Dmousedev.c269 unsigned int new_head; in mousedev_notify_readers() local
280 new_head = (client->head + 1) % PACKET_QUEUE_LEN; in mousedev_notify_readers()
281 if (new_head != client->tail) { in mousedev_notify_readers()
282 p = &client->packets[client->head = new_head]; in mousedev_notify_readers()
/Linux-v4.19/kernel/trace/
Dring_buffer.c1954 struct buffer_page *new_head; in rb_handle_head_page() local
2037 new_head = next_page; in rb_handle_head_page()
2038 rb_inc_page(cpu_buffer, &new_head); in rb_handle_head_page()
2040 ret = rb_head_page_set_head(cpu_buffer, new_head, next_page, in rb_handle_head_page()
2081 rb_head_page_set_normal(cpu_buffer, new_head, in rb_handle_head_page()