/xen/xen/include/xen/ |
A D | list.h | 386 #define list_entry(ptr, type, member) \ macro 398 list_entry((ptr)->next, type, member) 409 list_entry((ptr)->prev, type, member) 439 list_entry((pos)->member.next, typeof(*(pos)), member) 447 list_entry((pos)->member.prev, typeof(*(pos)), member) 495 pos = list_entry(pos->member.next, typeof(*pos), member)) 506 pos = list_entry(pos->member.prev, typeof(*pos), member)) 519 ((pos) ? : list_entry(head, typeof(*pos), member)) 533 pos = list_entry(pos->member.next, typeof(*pos), member)) 546 pos = list_entry(pos->member.next, typeof(*pos), member)) [all …]
|
A D | mm.h | 506 return list_entry(page->list.next, struct page_info, list); in page_list_next() 512 return list_entry(page->list.prev, struct page_info, list); in page_list_prev()
|
/xen/xen/tools/kconfig/ |
A D | list.h | 40 #define list_entry(ptr, type, member) \ macro 50 for (pos = list_entry((head)->next, typeof(*pos), member); \ 52 pos = list_entry(pos->member.next, typeof(*pos), member)) 62 for (pos = list_entry((head)->next, typeof(*pos), member), \ 63 n = list_entry(pos->member.next, typeof(*pos), member); \ 65 pos = n, n = list_entry(n->member.next, typeof(*n), member))
|
A D | menu.c | 734 jump->index = list_entry(head->prev, struct jump_key, in get_prompt_str()
|
/xen/tools/xenstore/ |
A D | list.h | 48 list_empty(_head) ? NULL : list_entry(_head->next, type, member); \ 267 #define list_entry(ptr, type, member) \ macro 303 for (pos = list_entry((head)->next, typeof(*pos), member); \ 305 pos = list_entry(pos->member.next, typeof(*pos), member)) 314 for (pos = list_entry((head)->prev, typeof(*pos), member); \ 316 pos = list_entry(pos->member.prev, typeof(*pos), member)) 327 for (pos = list_entry(pos->member.next, typeof(*pos), member); \ 329 pos = list_entry(pos->member.next, typeof(*pos), member)) 339 for (pos = list_entry((head)->next, typeof(*pos), member), \ 340 n = list_entry(pos->member.next, typeof(*pos), member); \ [all …]
|
A D | xenstored_core.c | 2175 next = list_entry(connections.next, typeof(*conn), list); in main() 2181 next = list_entry(conn->list.next, in main()
|
/xen/xen/common/ |
A D | notifier.c | 29 nb = list_entry(chain->next, struct notifier_block, chain); in notifier_chain_register() 83 nb = list_entry(cursor, struct notifier_block, chain); in notifier_call_chain()
|
A D | tasklet.c | 85 t = list_entry(list->next, struct tasklet, list); in do_tasklet_work() 192 t = list_entry(list->next, struct tasklet, list); in migrate_tasklets_from_cpu()
|
A D | rangeset.c | 66 return list_entry(r->range_list.next, struct range, list); in first_range() 75 return list_entry(x->list.next, struct range, list); in next_range() 502 r = list_entry(d->rangesets.next, struct rangeset, rangeset_list); in rangeset_domain_destroy()
|
A D | wait.c | 101 wqv = list_entry(wq->list.next, struct waitqueue_vcpu, list); in wake_up_nr()
|
A D | timer.c | 606 t = list_entry(old_ts->inactive.next, struct timer, inactive); in migrate_timers_from_cpu()
|
/xen/xen/arch/x86/hvm/ |
A D | ioreq.c | 96 list_entry ) in hvm_io_pending() 192 list_entry ) in handle_hvm_io_completion() 529 list_add(&sv->list_entry, &s->ioreq_vcpu_list); in hvm_ioreq_server_add_vcpu() 557 list_entry ) in hvm_ioreq_server_remove_vcpu() 562 list_del(&sv->list_entry); in hvm_ioreq_server_remove_vcpu() 585 list_entry ) in hvm_ioreq_server_remove_all_vcpus() 589 list_del(&sv->list_entry); in hvm_ioreq_server_remove_all_vcpus() 706 list_entry ) in hvm_ioreq_server_enable() 1458 list_entry ) in hvm_send_ioreq()
|
A D | mtrr.c | 550 range = list_entry(head->next, in hvm_destroy_cacheattr_region_list()
|
/xen/xen/include/asm-x86/hvm/ |
A D | domain.h | 40 struct list_head list_entry; member
|
/xen/xen/drivers/cpufreq/ |
A D | cpufreq.c | 188 cpufreq_dom = list_entry(pos, struct cpufreq_dom, node); in cpufreq_add_cpu() 344 cpufreq_dom = list_entry(pos, struct cpufreq_dom, node); in cpufreq_del_cpu()
|
/xen/xen/common/sched/ |
A D | credit2.c | 840 return list_entry(elem, struct csched2_unit, runq_elem); in runq_elem() 1070 const struct csched2_unit * svc = list_entry(iter, struct csched2_unit, rqd_elem); in update_max_weight() 1798 svc = list_entry(iter, struct csched2_unit, rqd_elem); in reset_credit() 2821 struct csched2_unit * push_svc = list_entry(push_iter, struct csched2_unit, rqd_elem); in balance_load() 2830 struct csched2_unit * pull_svc = list_entry(pull_iter, struct csched2_unit, rqd_elem); in balance_load() 2849 struct csched2_unit * pull_svc = list_entry(pull_iter, struct csched2_unit, rqd_elem); in balance_load() 3452 struct csched2_unit * svc = list_entry(iter, struct csched2_unit, runq_elem); in runq_candidate() 3826 sdom = list_entry(iter_sdom, struct csched2_dom, sdom_elem); in csched2_dump()
|
A D | credit.c | 245 return list_entry(elem, struct csched_unit, runq_elem); in __runq_elem() 1408 sdom = list_entry(iter_sdom, struct csched_dom, active_sdom_elem); in csched_acct() 1489 svc = list_entry(iter_unit, struct csched_unit, active_unit_elem); in csched_acct() 2128 sdom = list_entry(iter_sdom, struct csched_dom, active_sdom_elem); in csched_dump() 2135 svc = list_entry(iter_svc, struct csched_unit, active_unit_elem); in csched_dump()
|
A D | rt.c | 275 return list_entry(elem, struct rt_unit, q_elem); in q_elem() 281 return list_entry(elem, struct rt_unit, replq_elem); in replq_elem() 413 sdom = list_entry(iter, struct rt_dom, sdom_elem); in rt_dump()
|
A D | null.c | 989 ndom = list_entry(iter, struct null_dom, ndom_elem); in null_dump() 1012 struct null_unit *nvc = list_entry(iter, struct null_unit, waitq_elem); in null_dump()
|
/xen/xen/arch/x86/mm/ |
A D | mem_sharing.c | 249 gfn_info_t *gfn_info = list_entry(pos, gfn_info_t, list); in rmap_list_to_hash_table() 344 gfn_info = list_entry(le, gfn_info_t, list); in rmap_retrieve() 401 return list_entry(ri->curr, gfn_info_t, list); in rmap_iterate() 480 pg_shared_info = list_entry(ae, struct page_sharing_info, entry); in audit()
|
A D | p2m.c | 1517 p2m = list_entry(lru_list->prev, struct p2m_domain, np2m_list); in p2m_getlru_nestedp2m()
|
/xen/xen/drivers/vpci/ |
A D | vpci.c | 155 list_entry(prev, const struct vpci_register, node); in vpci_add_register()
|
/xen/xen/drivers/passthrough/ |
A D | io.c | 1057 pirq_dpci = list_entry(our_list.next, struct hvm_pirq_dpci, softirq_list); in dpci_softirq()
|
/xen/xen/arch/x86/hvm/vmx/ |
A D | vvmx.c | 1613 vvmcs = list_entry(pos, struct vvmcs_list, node); in vvmcs_launched() 1650 vvmcs = list_entry(pos, struct vvmcs_list, node); in clear_vvmcs_launched()
|
A D | vmcs.c | 780 __vmx_clear_vmcs(list_entry(active_vmcs_list->next, in vmx_cpu_down()
|