Home
last modified time | relevance | path

Searched refs:head (Results 1 – 25 of 71) sorted by relevance

123

/xen/tools/include/xen-external/
A Dbsd-sys-queue.h119 (head)->trace.prevline = (head)->trace.lastline; \
120 (head)->trace.prevfile = (head)->trace.lastfile; \
159 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) argument
161 #define SLIST_FIRST(head) ((head)->slh_first) argument
253 #define STAILQ_FIRST(head) ((head)->stqh_first) argument
268 (head)->stqh_last = &STAILQ_FIRST((head)); \
320 (head)->stqh_last = &STAILQ_FIRST((head)); \
383 #define LIST_EMPTY(head) ((head)->lh_first == NULL) argument
385 #define LIST_FIRST(head) ((head)->lh_first) argument
518 #define TAILQ_FIRST(head) ((head)->tqh_first) argument
[all …]
A DREADME12 svn co -r 221843 svn://svn.freebsd.org/base/head/sys/sys/
13 svn co -r 221843 svn://svn.freebsd.org/base/head/share/man/man3
14 svn cat -r 221843 http://svn.freebsd.org/base/head/COPYRIGHT >tools/libxl/external/bsd-COPYRIGHT
/xen/xen/include/xen/
A Dlist.h82 __list_add(new, head, head->next); in list_add()
95 __list_add(new, head->prev, head); in list_add_tail()
133 __list_add_rcu(new, head, head->next); in list_add_rcu()
155 __list_add_rcu(new, head->prev, head); in list_add_tail_rcu()
308 return head->next == head; in list_empty()
317 return !list_empty(head) && (head->next == head->prev); in list_is_singular()
336 return (next == head) && (next == head->prev); in list_empty_careful()
455 for (pos = (head)->next; pos != (head); pos = pos->next)
463 for (pos = (head)->prev; pos != (head); pos = pos->prev)
472 for (pos = (head)->next, n = pos->next; pos != (head); \
[all …]
A Dmm.h311 # define INIT_PAGE_LIST_HEAD(head) ((head)->tail = (head)->next = NULL) argument
317 return !head->next; in page_list_empty()
322 return head->next; in page_list_first()
327 return head->tail; in page_list_last()
344 if ( head->next ) in page_list_add()
355 head->next = page; in page_list_add()
361 if ( head->next ) in page_list_add_tail()
371 head->tail = page; in page_list_add_tail()
385 head->tail = head->next = NULL; in __page_list_del_head()
460 at = head->next; in page_list_splice()
[all …]
A Drcupdate.h71 void (*func)(struct rcu_head *head);
75 #define RCU_HEAD(head) struct rcu_head head = RCU_HEAD_INIT argument
175 void call_rcu(struct rcu_head *head,
176 void (*func)(struct rcu_head *head));
A Dnotifier.h32 struct list_head head; member
36 struct notifier_head name = { .head = LIST_HEAD_INIT(name.head) }
/xen/tools/xenstore/
A Dlist.h77 __list_add(new, head, head->next); in list_add()
90 __list_add(new, head->prev, head); in list_add_tail()
119 __list_add_rcu(new, head, head->next); in list_add_rcu()
132 __list_add_rcu(new, head->prev, head); in list_add_tail_rcu()
217 return head->next == head; in list_empty()
221 struct list_head *head) in __list_splice() argument
227 first->prev = head; in __list_splice()
228 head->next = first; in __list_splice()
276 for (pos = (head)->next; pos != (head); pos = pos->next)
284 for (pos = (head)->prev; pos != (head); pos = pos->prev)
[all …]
/xen/xen/arch/x86/oprofile/
A Dbacktrace.c36 if (!xenoprof_add_trace(vcpu, head->ret, mode)) in dump_hypervisor_backtrace()
41 if (head >= head->ebp) in dump_hypervisor_backtrace()
44 return head->ebp; in dump_hypervisor_backtrace()
64 { .c = (unsigned long)head }; in dump_guest_backtrace()
78 const_guest_handle_from_ptr(head, frame_head_t); in dump_guest_backtrace()
92 if (head >= bufhead.ebp) in dump_guest_backtrace()
132 unsigned long headaddr = (unsigned long)head; in valid_hypervisor_stack()
150 const struct frame_head *head = (void *)regs->rbp; in xenoprof_backtrace() local
154 head = dump_hypervisor_backtrace(vcpu, head, mode); in xenoprof_backtrace()
158 while (depth-- && head) in xenoprof_backtrace()
[all …]
/xen/xen/tools/kconfig/
A Dlist.h49 #define list_for_each_entry(pos, head, member) \ argument
50 for (pos = list_entry((head)->next, typeof(*pos), member); \
51 &pos->member != (head); \
61 #define list_for_each_entry_safe(pos, n, head, member) \ argument
62 for (pos = list_entry((head)->next, typeof(*pos), member), \
64 &pos->member != (head); \
71 static inline int list_empty(const struct list_head *head) in list_empty() argument
73 return head->next == head; in list_empty()
100 static inline void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail() argument
102 __list_add(_new, head->prev, head); in list_add_tail()
/xen/xen/common/
A Dlist_sort.c33 struct list_head head, *tail = &head; in merge() local
47 return head.next; in merge()
60 struct list_head *head, in merge_and_restore_back_links() argument
63 struct list_head *tail = head; in merge_and_restore_back_links()
95 tail->next = head; in merge_and_restore_back_links()
96 head->prev = tail; in merge_and_restore_back_links()
113 void list_sort(void *priv, struct list_head *head, in list_sort() argument
123 if (list_empty(head)) in list_sort()
128 head->prev->next = NULL; in list_sort()
129 list = head->next; in list_sort()
[all …]
A Dnotifier.c24 struct list_head *chain = &nh->head; in notifier_chain_register()
27 while ( chain->next != &nh->head ) in notifier_chain_register()
77 cursor = pcursor && *pcursor ? &(*pcursor)->chain : &nh->head; in notifier_call_chain()
81 if ( cursor == &nh->head ) in notifier_call_chain()
A Dxenoprof.c524 return ((tail > head) ? 0 : size) + tail - head - 1; in xenoprof_buf_space()
533 int head, tail, size; in xenoprof_add_sample() local
535 head = xenoprof_buf(d, buf, event_head); in xenoprof_add_sample()
540 if ( (head < 0) || (head >= size) || (tail < 0) || (tail >= size) ) in xenoprof_add_sample()
546 if ( xenoprof_buf_space(head, tail, size) > 0 ) in xenoprof_add_sample()
548 xenoprof_buf(d, buf, event_log[head].eip) = eip; in xenoprof_add_sample()
549 xenoprof_buf(d, buf, event_log[head].mode) = mode; in xenoprof_add_sample()
551 head++; in xenoprof_add_sample()
552 if ( head >= size ) in xenoprof_add_sample()
553 head = 0; in xenoprof_add_sample()
[all …]
A Drcupdate.c170 static void rcu_barrier_callback(struct rcu_head *head) in rcu_barrier_callback() argument
187 struct rcu_head head; in rcu_barrier_action() local
194 call_rcu(&head, rcu_barrier_callback); in rcu_barrier_action()
275 void call_rcu(struct rcu_head *head, in call_rcu() argument
281 head->func = func; in call_rcu()
282 head->next = NULL; in call_rcu()
285 *rdp->nxttail = head; in call_rcu()
286 rdp->nxttail = &head->next; in call_rcu()
A Dspinlock.c154 return read_atomic(&t->head); in observe_head()
204 add_sized(&lock->tickets.head, 1); in _spin_unlock()
231 ? lock->tickets.head != lock->tickets.tail in _spin_is_locked()
241 if ( old.head != old.tail ) in _spin_trylock()
274 if ( sample.head != sample.tail ) in _spin_barrier()
276 while ( observe_head(&lock->tickets) == sample.head ) in _spin_barrier()
A Dpage_alloc.c794 typeof(head->u.free) pgfree; in check_and_stop_scrub()
1072 int zone = page_to_zone(head), i, head_order = PFN_ORDER(head), count = 0; in reserve_offlined_page()
1078 cur_head = head; in reserve_offlined_page()
1080 check_and_stop_scrub(head); in reserve_offlined_page()
1086 first_dirty = head->u.free.first_dirty; in reserve_offlined_page()
1087 head->u.free.first_dirty = INVALID_DIRTY_IDX; in reserve_offlined_page()
1091 while ( cur_head < (head + (1 << head_order)) ) in reserve_offlined_page()
1146 for ( cur_head = head; cur_head < head + ( 1UL << head_order); cur_head++ ) in reserve_offlined_page()
1550 struct page_info *head = NULL; in reserve_heap_page() local
1563 if ( (head <= pg) && in reserve_heap_page()
[all …]
/xen/xen/xsm/flask/
A Davc.c247 struct hlist_head *head; in avc_get_hash_stats() local
255 head = &avc_cache.slots[i]; in avc_get_hash_stats()
256 if ( !hlist_empty(head) ) in avc_get_hash_stats()
312 struct hlist_head *head; in avc_reclaim_node() local
377 struct hlist_head *head; in avc_search_node() local
381 head = &avc_cache.slots[hvalue]; in avc_search_node()
481 struct hlist_head *head; in avc_insert() local
622 struct hlist_head *head; in avc_update_node() local
635 head = &avc_cache.slots[hvalue]; in avc_update_node()
682 struct hlist_head *head; in avc_ss_reset() local
[all …]
/xen/xen/xsm/flask/ss/
A Dmls.c32 int i, l, len, head, prev; in mls_compute_context_len() local
47 head = -2; in mls_compute_context_len()
55 if ( head != prev ) in mls_compute_context_len()
62 head = i; in mls_compute_context_len()
66 if ( prev != head ) in mls_compute_context_len()
92 int i, l, head, prev; in mls_sid_to_context() local
112 head = -2; in mls_sid_to_context()
120 if ( prev != head ) in mls_sid_to_context()
137 head = i; in mls_sid_to_context()
142 if ( prev != head ) in mls_sid_to_context()
[all …]
A Dconditional.c267 struct cond_av_list *head; member
350 if ( !data->head ) in cond_insertf()
351 data->head = list; in cond_insertf()
358 cond_av_list_destroy(data->head); in cond_insertf()
359 data->head = NULL; in cond_insertf()
386 data.head = NULL; in cond_read_av_list()
395 *ret_list = data.head; in cond_read_av_list()
/xen/xen/tools/
A Dscmversion41 if test -d .git && head=`git rev-parse --verify --short HEAD 2>/dev/null`; then
44 printf '%s %s%s' "$date" git: $head
48 printf -- 'svn:%s' "`git svn find-rev $head`"
/xen/xen/drivers/passthrough/amd/
A Diommu_guest.c141 unsigned long mfn, tail, head; in guest_iommu_add_ppr_log() local
153 head = iommu->ppr_log.reg_head.lo; in guest_iommu_add_ppr_log()
191 unsigned long mfn, tail, head; in guest_iommu_add_event_log() local
203 head = iommu->event_log.reg_head.lo; in guest_iommu_add_event_log()
431 unsigned long opcode, tail, head, cmd_mfn; in guest_iommu_process_command() local
441 head = iommu->cmd_buffer.reg_head.lo; in guest_iommu_process_command()
455 while ( head != tail ) in guest_iommu_process_command()
498 head += sizeof(cmd_entry_t); in guest_iommu_process_command()
499 if ( head >= iommu->cmd_buffer.size ) in guest_iommu_process_command()
500 head = 0; in guest_iommu_process_command()
[all …]
/xen/xen/arch/x86/boot/
A DMakefile1 obj-bin-y += head.o
14 head.o: cmdline.S reloc.S
/xen/xen/arch/x86/hvm/
A Dvpt.c225 struct list_head *head = &v->arch.hvm.tm_list; in pt_save_timer() local
233 list_for_each_entry ( pt, head, list ) in pt_save_timer()
244 struct list_head *head = &v->arch.hvm.tm_list; in pt_restore_timer() local
249 list_for_each_entry ( pt, head, list ) in pt_restore_timer()
315 struct list_head *head = &v->arch.hvm.tm_list; in pt_update_irq() local
325 list_for_each_entry_safe ( pt, temp, head, list ) in pt_update_irq()
431 struct list_head *head = &v->arch.hvm.tm_list; in is_pt_irq() local
434 list_for_each_entry ( pt, head, list ) in is_pt_irq()
475 struct list_head *head = &v->arch.hvm.tm_list; in pt_migrate() local
480 list_for_each_entry ( pt, head, list ) in pt_migrate()
/xen/xen/arch/arm/
A Dpercpu.c36 static void _free_percpu_area(struct rcu_head *head) in _free_percpu_area() argument
38 struct free_info *info = container_of(head, struct free_info, rcu); in _free_percpu_area()
/xen/xen/arch/x86/
A Dpercpu.c48 static void _free_percpu_area(struct rcu_head *head) in _free_percpu_area() argument
50 struct free_info *info = container_of(head, struct free_info, rcu); in _free_percpu_area()
/xen/stubdom/vtpmmgr/
A Dmanage-vtpmmgr.pl23 my $head = pack 'nN', $type, 6 + length $msg;
24 my $rsp = tpm_cmd_raw $head, $msg;

Completed in 59 milliseconds

123