/xen-4.10.0-shim-comet/tools/include/xen-external/ |
A D | bsd-sys-queue.h | 119 (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 D | README | 12 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-4.10.0-shim-comet/xen/include/xen/ |
A D | list.h | 80 __list_add(new, head, head->next); in list_add() 93 __list_add(new, head->prev, head); in list_add_tail() 131 __list_add_rcu(new, head, head->next); in list_add_rcu() 153 __list_add_rcu(new, head->prev, head); in list_add_tail_rcu() 306 return head->next == head; in list_empty() 315 return !list_empty(head) && (head->next == head->prev); in list_is_singular() 334 return (next == head) && (next == head->prev); in list_empty_careful() 453 for (pos = (head)->next; prefetch(pos->next), pos != (head); \ 467 for (pos = (head)->next; pos != (head); pos = pos->next) 485 for (pos = (head)->next, n = pos->next; pos != (head); \ [all …]
|
A D | mm.h | 293 # define INIT_PAGE_LIST_HEAD(head) ((head)->tail = (head)->next = NULL) argument 299 return !head->next; in page_list_empty() 304 return head->next; in page_list_first() 309 return head->tail; in page_list_last() 326 if ( head->next ) in page_list_add() 337 head->next = page; in page_list_add() 343 if ( head->next ) in page_list_add_tail() 353 head->tail = page; in page_list_add_tail() 367 head->tail = head->next = NULL; in __page_list_del_head() 442 at = head->next; in page_list_splice() [all …]
|
A D | rcupdate.h | 49 void (*func)(struct rcu_head *head); 53 #define RCU_HEAD(head) struct rcu_head head = RCU_HEAD_INIT argument 144 void call_rcu(struct rcu_head *head, 145 void (*func)(struct rcu_head *head));
|
A D | notifier.h | 32 struct notifier_block head; member 35 #define NOTIFIER_INIT(name) { .head.chain = LIST_HEAD_INIT(name.head.chain) }
|
/xen-4.10.0-shim-comet/tools/xenstore/ |
A D | list.h | 77 __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-4.10.0-shim-comet/xen/arch/x86/oprofile/ |
A D | backtrace.c | 36 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() 79 const_guest_handle_from_ptr(head, frame_head_t); in dump_guest_backtrace() 95 if (head >= bufhead.ebp) in dump_guest_backtrace() 135 unsigned long headaddr = (unsigned long)head; in valid_hypervisor_stack() 153 const struct frame_head *head = (void *)regs->rbp; in xenoprof_backtrace() local 157 head = dump_hypervisor_backtrace(vcpu, head, mode); in xenoprof_backtrace() 161 while (depth-- && head) in xenoprof_backtrace() [all …]
|
/xen-4.10.0-shim-comet/tools/blktap2/include/ |
A D | list.h | 52 __list_add(new, head, head->next); in list_add() 57 __list_add(new, head->prev, head); in list_add_tail() 79 static inline int list_empty(const struct list_head *head) in list_empty() argument 81 return head->next == head; in list_empty() 85 const struct list_head *head) in list_is_last() argument 87 return list->next == head; in list_is_last() 105 struct list_head *head) in list_splice() argument 108 __list_splice(list, head, head->next); in list_splice() 119 #define list_for_each_entry_safe(pos, n, head, member) \ argument 120 for (pos = list_entry((head)->next, typeof(*pos), member), \ [all …]
|
/xen-4.10.0-shim-comet/xen/tools/kconfig/ |
A D | list.h | 48 #define list_for_each_entry(pos, head, member) \ argument 49 for (pos = list_entry((head)->next, typeof(*pos), member); \ 50 &pos->member != (head); \ 60 #define list_for_each_entry_safe(pos, n, head, member) \ argument 61 for (pos = list_entry((head)->next, typeof(*pos), member), \ 63 &pos->member != (head); \ 70 static inline int list_empty(const struct list_head *head) in list_empty() argument 72 return head->next == head; in list_empty() 99 static inline void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail() argument 101 __list_add(_new, head->prev, head); in list_add_tail()
|
/xen-4.10.0-shim-comet/xen/xsm/flask/ |
A D | avc.c | 247 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-4.10.0-shim-comet/xen/common/ |
A D | notifier.c | 24 struct list_head *chain = &nh->head.chain; in notifier_chain_register() 27 while ( chain->next != &nh->head.chain ) in notifier_chain_register() 77 cursor = &(pcursor && *pcursor ? *pcursor : &nh->head)->chain; in notifier_call_chain() 82 if ( cursor == &nh->head.chain ) in notifier_call_chain()
|
A D | rcupdate.c | 144 struct rcu_head head; member 148 static void rcu_barrier_callback(struct rcu_head *head) in rcu_barrier_callback() argument 151 head, struct rcu_barrier_data, head); in rcu_barrier_callback() 167 call_rcu(&data.head, rcu_barrier_callback); in rcu_barrier_action() 219 void call_rcu(struct rcu_head *head, in call_rcu() argument 225 head->func = func; in call_rcu() 226 head->next = NULL; in call_rcu() 229 *rdp->nxttail = head; in call_rcu() 230 rdp->nxttail = &head->next; in call_rcu()
|
A D | xenoprof.c | 485 int head, tail; in xenoprof_buf_space() local 487 head = xenoprof_buf(d, buf, event_head); in xenoprof_buf_space() 490 return ((tail > head) ? 0 : size) + tail - head - 1; in xenoprof_buf_space() 497 int head, tail, size; in xenoprof_add_sample() local 499 head = xenoprof_buf(d, buf, event_head); in xenoprof_add_sample() 504 if ( (head < 0) || (head >= size) || (tail < 0) || (tail >= size) ) in xenoprof_add_sample() 512 xenoprof_buf(d, buf, event_log[head].eip) = eip; in xenoprof_add_sample() 515 head++; in xenoprof_add_sample() 516 if ( head >= size ) in xenoprof_add_sample() 517 head = 0; in xenoprof_add_sample() [all …]
|
A D | spinlock.c | 135 return read_atomic(&t->head); in observe_head() 184 add_sized(&lock->tickets.head, 1); in _spin_unlock() 210 ? lock->tickets.head != lock->tickets.tail in _spin_is_locked() 220 if ( old.head != old.tail ) in _spin_trylock() 249 if ( sample.head != sample.tail ) in _spin_barrier() 251 while ( observe_head(&lock->tickets) == sample.head ) in _spin_barrier()
|
/xen-4.10.0-shim-comet/xen/xsm/flask/ss/ |
A D | mls.c | 32 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 D | conditional.c | 267 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-4.10.0-shim-comet/xen/tools/ |
A D | scmversion | 41 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-4.10.0-shim-comet/xen/drivers/passthrough/amd/ |
A D | iommu_guest.c | 179 unsigned long mfn, tail, head; in guest_iommu_add_ppr_log() local 191 head = iommu_get_rb_pointer(iommu->ppr_log.reg_head.lo); in guest_iommu_add_ppr_log() 228 unsigned long mfn, tail, head; in guest_iommu_add_event_log() local 240 head = iommu_get_rb_pointer(iommu->event_log.reg_head.lo); in guest_iommu_add_event_log() 481 head = iommu_get_rb_pointer(iommu->cmd_buffer.reg_head.lo); in guest_iommu_process_command() 489 head >= iommu->cmd_buffer.entries ) in guest_iommu_process_command() 498 while ( head != tail ) in guest_iommu_process_command() 508 cmd = cmd_base + head % entries_per_page; in guest_iommu_process_command() 537 "head = %ld\n", opcode, head); in guest_iommu_process_command() 542 if ( ++head >= iommu->cmd_buffer.entries ) in guest_iommu_process_command() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/boot/ |
A D | Makefile | 1 obj-bin-y += head.o 10 head.o: cmdline.S reloc.S
|
/xen-4.10.0-shim-comet/tools/blktap2/drivers/ |
A D | io-optimize.h | 37 struct opio *head; member 48 struct opio *head; member
|
A D | io-optimize.c | 152 op->list.head = op->list.tail = op; in init_opio_list() 186 merge_tail(struct opioctx *ctx, struct iocb *head, struct iocb *io) in merge_tail() argument 190 ophead = opio_get(ctx, head); in merge_tail() 198 opio->head = ophead; in merge_tail() 199 head->u.c.nbytes += io->u.c.nbytes; in merge_tail() 206 merge(struct opioctx *ctx, struct iocb *head, struct iocb *io) in merge() argument 208 if (head->aio_lio_opcode != io->aio_lio_opcode) in merge() 211 if (!contiguous_iocbs(head, io)) in merge() 214 return merge_tail(ctx, head, io); in merge()
|
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/ |
A D | vpt.c | 197 struct list_head *head = &v->arch.hvm_vcpu.tm_list; in pt_save_timer() local 205 list_for_each_entry ( pt, head, list ) in pt_save_timer() 216 struct list_head *head = &v->arch.hvm_vcpu.tm_list; in pt_restore_timer() local 221 list_for_each_entry ( pt, head, list ) in pt_restore_timer() 252 struct list_head *head = &v->arch.hvm_vcpu.tm_list; in pt_update_irq() local 261 list_for_each_entry_safe ( pt, temp, head, list ) in pt_update_irq() 332 struct list_head *head = &v->arch.hvm_vcpu.tm_list; in is_pt_irq() local 335 list_for_each_entry ( pt, head, list ) in is_pt_irq() 406 struct list_head *head = &v->arch.hvm_vcpu.tm_list; in pt_migrate() local 411 list_for_each_entry ( pt, head, list ) in pt_migrate()
|
/xen-4.10.0-shim-comet/xen/arch/arm/ |
A D | percpu.c | 36 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-4.10.0-shim-comet/xen/arch/x86/ |
A D | percpu.c | 48 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()
|