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