/openbmc/linux/lib/ |
H A 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()
|
H A D | maple_tree.c | 1185 goto new_head; in mas_pop_node() 1192 new_head: in mas_pop_node()
|
/openbmc/linux/drivers/net/wwan/iosm/ |
H A 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()
|
/openbmc/linux/arch/x86/kernel/cpu/mce/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/qualcomm/ |
H A D | qca_spi.c | 285 u16 new_head; in qcaspi_transmit() local 328 new_head = qca->txr.head + 1; in qcaspi_transmit() 329 if (new_head >= qca->txr.count) in qcaspi_transmit() 330 new_head = 0; in qcaspi_transmit() 331 qca->txr.head = new_head; in qcaspi_transmit()
|
/openbmc/linux/drivers/crypto/ |
H A D | n2_core.c | 105 unsigned long old_head, unsigned long new_head) in job_finished() argument 107 if (old_head <= new_head) { in job_finished() 108 if (offset > old_head && offset <= new_head) in job_finished() 111 if (offset > old_head || offset <= new_head) in job_finished() 124 unsigned long off, new_head, hv_ret; in cwq_intr() local 132 hv_ret = sun4v_ncs_gethead(q->qhandle, &new_head); in cwq_intr() 135 smp_processor_id(), new_head, hv_ret); in cwq_intr() 137 for (off = q->head; off != new_head; off = spu_next_offset(q, off)) { in cwq_intr() 141 hv_ret = sun4v_ncs_sethead_marker(q->qhandle, new_head); in cwq_intr() 143 q->head = new_head; in cwq_intr()
|
/openbmc/qemu/hw/nvme/ |
H A D | trace-events | 91 pci_nvme_mmio_doorbell_cq(uint16_t cqid, uint16_t new_head) "cqid %"PRIu16" new_head %"PRIu16"" 105 pci_nvme_update_cq_head(uint16_t cqid, uint16_t new_head) "cqid %"PRIu16" new_head %"PRIu16"" 214 …cqhead(uint32_t qid, uint16_t new_head) "completion queue doorbell write value beyond queue size, … 216 …ubmission queue doorbell write value beyond queue size, sqid=%"PRIu32", new_head=%"PRIu16", ignori…
|
H A D | ctrl.c | 7815 uint16_t new_head = val & 0xffff; in nvme_process_db() local 7848 if (unlikely(new_head >= cq->size)) { in nvme_process_db() 7853 qid, new_head); in nvme_process_db() 7864 trace_pci_nvme_mmio_doorbell_cq(cq->cqid, new_head); in nvme_process_db() 7871 cq->head = new_head; in nvme_process_db()
|
/openbmc/linux/drivers/hid/ |
H A D | hidraw.c | 528 int new_head = (list->head + 1) & (HIDRAW_BUFFER_SIZE - 1); in hidraw_report_event() local 530 if (new_head == list->tail) in hidraw_report_event() 538 list->head = new_head; in hidraw_report_event()
|
/openbmc/linux/drivers/input/ |
H A 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()
|
/openbmc/linux/drivers/bluetooth/ |
H A D | hci_bcm4377.c | 867 u16 head, tail, new_head; in bcm4377_enqueue() local 890 new_head = (head + 1) % ring->n_entries; in bcm4377_enqueue() 892 if (new_head == tail) { in bcm4377_enqueue() 943 new_head); in bcm4377_enqueue() 945 cpu_to_le16(new_head); in bcm4377_enqueue() 948 bcm4377_ring_doorbell(bcm4377, ring->doorbell, new_head); in bcm4377_enqueue()
|
/openbmc/qemu/hw/block/ |
H A D | fdc.c | 1391 uint8_t new_head = cur_drv->head; in fdctrl_seek_to_next_sect() local 1401 if (new_head == 0 && in fdctrl_seek_to_next_sect() 1403 new_head = 1; in fdctrl_seek_to_next_sect() 1405 new_head = 0; in fdctrl_seek_to_next_sect() 1419 new_head, new_track, new_sect, fd_sector(cur_drv)); in fdctrl_seek_to_next_sect() 1424 fd_seek(cur_drv, new_head, new_track, new_sect, 1); in fdctrl_seek_to_next_sect()
|
/openbmc/linux/fs/gfs2/ |
H A D | log.c | 272 unsigned int new_head = sdp->sd_log_flush_head; in gfs2_log_update_head() local 275 sdp->sd_log_flush_tail = new_head; in gfs2_log_update_head() 276 sdp->sd_log_head = new_head; in gfs2_log_update_head()
|
/openbmc/linux/kernel/trace/ |
H A D | ring_buffer.c | 2510 struct buffer_page *new_head; in rb_handle_head_page() local 2594 new_head = next_page; in rb_handle_head_page() 2595 rb_inc_page(&new_head); in rb_handle_head_page() 2597 ret = rb_head_page_set_head(cpu_buffer, new_head, next_page, in rb_handle_head_page() 2638 rb_head_page_set_normal(cpu_buffer, new_head, in rb_handle_head_page()
|