Searched refs:pos (Results 1 – 10 of 10) sorted by relevance
| /hypervisor/include/lib/ |
| A D | list.h | 123 #define list_for_each(pos, head) \ argument 124 for ((pos) = (head)->next; (pos) != (head); (pos) = (pos)->next) 126 #define list_for_each_safe(pos, n, head) \ argument 127 for ((pos) = (head)->next, (n) = (pos)->next; (pos) != (head); \ 128 (pos) = (n), (n) = (pos)->next) 157 #define hlist_for_each(pos, head) \ argument 158 for ((pos) = (head)->first; (pos) != NULL; (pos) = (pos)->next)
|
| /hypervisor/common/ |
| A D | sbuf.c | 22 uint32_t pos = pos_arg; in sbuf_next_ptr() local 23 pos += span; in sbuf_next_ptr() 24 pos = (pos >= scope) ? (pos - scope) : pos; in sbuf_next_ptr() 25 return pos; in sbuf_next_ptr()
|
| A D | sched_prio.c | 58 struct list_head *pos; in prio_queue_add() local 63 list_for_each(pos, &prio_ctl->prio_queue) { in prio_queue_add() 64 iter_data = container_of(pos, struct sched_prio_data, list); in prio_queue_add() 66 list_add_node(&data->list, pos->prev, pos); in prio_queue_add()
|
| A D | timer.c | 75 struct list_head *pos, *prev; in local_add_timer() local 80 list_for_each(pos, &cpu_timer->timer_list) { in local_add_timer() 81 tmp = container_of(pos, struct hv_timer, node); in local_add_timer() 184 const struct list_head *pos, *n; in timer_softirq() local 197 list_for_each_safe(pos, n, &cpu_timer->timer_list) { in timer_softirq() 198 timer = container_of(pos, struct hv_timer, node); in timer_softirq()
|
| A D | sched_bvt.c | 100 struct list_head *pos; in runqueue_add() local 112 list_for_each(pos, &bvt_ctl->runqueue) { in runqueue_add() 113 iter_obj = container_of(pos, struct thread_object, data); in runqueue_add() 116 list_add_node(&data->list, pos->prev, pos); in runqueue_add()
|
| /hypervisor/hw/ |
| A D | pci.c | 708 pos = PCI_ECAP_BASE_PTR; in pci_enumerate_ext_cap() 717 pdev->sriov.capoff = pos; in pci_enumerate_ext_cap() 749 pre_pos = pos; in pci_enumerate_ext_cap() 750 pos = PCI_ECAP_NEXT(hdr); in pci_enumerate_ext_cap() 751 if (pos == 0U) { in pci_enumerate_ext_cap() 775 uint8_t pos, cap; in pci_enumerate_cap() local 784 while ((pos != 0U) && (pos != 0xFFU)) { in pci_enumerate_cap() 788 pdev->msi_capoff = pos; in pci_enumerate_cap() 790 pdev->msix.capoff = pos; in pci_enumerate_cap() 816 pdev->pcie_capoff = pos; in pci_enumerate_cap() [all …]
|
| /hypervisor/lib/ |
| A D | sprintf.c | 260 char *pos = digitbuff + sizeof(digitbuff); in print_pow2() local 292 pos--; in print_pow2() 293 *pos = (*digits)[(v & mask)]; in print_pow2() 298 param->vars.value = pos; in print_pow2() 299 param->vars.valuelen = (digitbuff + sizeof(digitbuff)) - pos; in print_pow2() 313 char *pos = digitbuff + sizeof(digitbuff); in print_decimal() local 348 pos--; in print_decimal() 349 *pos = (char)(v.qword % 10UL) + '0'; in print_decimal() 360 pos--; in print_decimal() 361 *pos = (char)(nv.dwords.low % 10U) + '0'; in print_decimal() [all …]
|
| /hypervisor/include/common/ |
| A D | sbuf.h | 24 uint32_t sbuf_next_ptr(uint32_t pos, uint32_t span, uint32_t scope);
|
| /hypervisor/dm/ |
| A D | io_req.c | 72 struct list_head *pos; in asyncio_is_conflict() local 78 list_for_each(pos, &vm->aiodesc_queue) { in asyncio_is_conflict() 79 p = container_of(pos, struct asyncio_desc, list); in asyncio_is_conflict() 172 struct list_head *pos; in get_asyncio_desc() local 199 list_for_each(pos, &vm->aiodesc_queue) { in get_asyncio_desc() 200 iter_desc = container_of(pos, struct asyncio_desc, list); in get_asyncio_desc()
|
| /hypervisor/arch/x86/ |
| A D | vtd.c | 61 static inline uint64_t dmar_get_bitslice(uint64_t var, uint64_t mask, uint32_t pos) in dmar_get_bitslice() argument 63 return ((var & mask) >> pos); in dmar_get_bitslice() 66 static inline uint64_t dmar_set_bitslice(uint64_t var, uint64_t mask, uint32_t pos, uint64_t val) in dmar_set_bitslice() argument 68 return ((var & ~mask) | ((val << pos) & mask)); in dmar_set_bitslice()
|
Completed in 24 milliseconds