Home
last modified time | relevance | path

Searched refs:list_entry (Results 1 – 25 of 26) sorted by relevance

12

/xen/xen/include/xen/
A Dlist.h386 #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 Dmm.h506 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 Dlist.h40 #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 Dmenu.c734 jump->index = list_entry(head->prev, struct jump_key, in get_prompt_str()
/xen/tools/xenstore/
A Dlist.h48 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 Dxenstored_core.c2175 next = list_entry(connections.next, typeof(*conn), list); in main()
2181 next = list_entry(conn->list.next, in main()
/xen/xen/common/
A Dnotifier.c29 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 Dtasklet.c85 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 Drangeset.c66 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 Dwait.c101 wqv = list_entry(wq->list.next, struct waitqueue_vcpu, list); in wake_up_nr()
A Dtimer.c606 t = list_entry(old_ts->inactive.next, struct timer, inactive); in migrate_timers_from_cpu()
/xen/xen/arch/x86/hvm/
A Dioreq.c96 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 Dmtrr.c550 range = list_entry(head->next, in hvm_destroy_cacheattr_region_list()
/xen/xen/include/asm-x86/hvm/
A Ddomain.h40 struct list_head list_entry; member
/xen/xen/drivers/cpufreq/
A Dcpufreq.c188 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 Dcredit2.c840 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 Dcredit.c245 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 Drt.c275 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 Dnull.c989 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 Dmem_sharing.c249 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 Dp2m.c1517 p2m = list_entry(lru_list->prev, struct p2m_domain, np2m_list); in p2m_getlru_nestedp2m()
/xen/xen/drivers/vpci/
A Dvpci.c155 list_entry(prev, const struct vpci_register, node); in vpci_add_register()
/xen/xen/drivers/passthrough/
A Dio.c1057 pirq_dpci = list_entry(our_list.next, struct hvm_pirq_dpci, softirq_list); in dpci_softirq()
/xen/xen/arch/x86/hvm/vmx/
A Dvvmx.c1613 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 Dvmcs.c780 __vmx_clear_vmcs(list_entry(active_vmcs_list->next, in vmx_cpu_down()

Completed in 64 milliseconds

12