Searched refs:new_head (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/drivers/infiniband/hw/amso1100/ |
D | c2_alloc.c | 43 struct sp_chunk *new_head; in c2_alloc_mqsp_chunk() local 46 new_head = dma_alloc_coherent(&c2dev->pcidev->dev, PAGE_SIZE, in c2_alloc_mqsp_chunk() 48 if (new_head == NULL) in c2_alloc_mqsp_chunk() 51 new_head->dma_addr = dma_addr; in c2_alloc_mqsp_chunk() 52 dma_unmap_addr_set(new_head, mapping, new_head->dma_addr); in c2_alloc_mqsp_chunk() 54 new_head->next = NULL; in c2_alloc_mqsp_chunk() 55 new_head->head = 0; in c2_alloc_mqsp_chunk() 62 new_head->shared_ptr[i] = i + 1; in c2_alloc_mqsp_chunk() 65 new_head->shared_ptr[i] = 0xFFFF; in c2_alloc_mqsp_chunk() 67 *head = new_head; in c2_alloc_mqsp_chunk()
|
/linux-4.1.27/lib/ |
D | llist.c | 93 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-4.1.27/drivers/net/ethernet/qualcomm/ |
D | qca_spi.c | 241 u16 new_head; in qcaspi_transmit() local 276 new_head = qca->txr.head + 1; in qcaspi_transmit() 277 if (new_head >= qca->txr.count) in qcaspi_transmit() 278 new_head = 0; in qcaspi_transmit() 279 qca->txr.head = new_head; in qcaspi_transmit()
|
/linux-4.1.27/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()
|
/linux-4.1.27/drivers/crypto/ |
D | n2_core.c | 96 unsigned long old_head, unsigned long new_head) in job_finished() argument 98 if (old_head <= new_head) { in job_finished() 99 if (offset > old_head && offset <= new_head) in job_finished() 102 if (offset > old_head || offset <= new_head) in job_finished() 115 unsigned long off, new_head, hv_ret; in cwq_intr() local 123 hv_ret = sun4v_ncs_gethead(q->qhandle, &new_head); in cwq_intr() 126 smp_processor_id(), new_head, hv_ret); in cwq_intr() 128 for (off = q->head; off != new_head; off = spu_next_offset(q, off)) { in cwq_intr() 132 hv_ret = sun4v_ncs_sethead_marker(q->qhandle, new_head); in cwq_intr() 134 q->head = new_head; in cwq_intr()
|
/linux-4.1.27/drivers/input/ |
D | mousedev.c | 268 unsigned int new_head; in mousedev_notify_readers() local 279 new_head = (client->head + 1) % PACKET_QUEUE_LEN; in mousedev_notify_readers() 280 if (new_head != client->tail) { in mousedev_notify_readers() 281 p = &client->packets[client->head = new_head]; in mousedev_notify_readers()
|
/linux-4.1.27/kernel/trace/ |
D | ring_buffer.c | 2076 struct buffer_page *new_head; in rb_handle_head_page() local 2159 new_head = next_page; in rb_handle_head_page() 2160 rb_inc_page(cpu_buffer, &new_head); in rb_handle_head_page() 2162 ret = rb_head_page_set_head(cpu_buffer, new_head, next_page, in rb_handle_head_page() 2200 rb_head_page_set_normal(cpu_buffer, new_head, in rb_handle_head_page()
|