/xen-4.10.0-shim-comet/xen/drivers/passthrough/vtd/ |
A D | qinval.c | 94 qinval_entry->q.cc_inv_dsc.lo.res_1 = 0; in queue_invalidate_context_sync() 95 qinval_entry->q.cc_inv_dsc.lo.did = did; in queue_invalidate_context_sync() 98 qinval_entry->q.cc_inv_dsc.lo.res_2 = 0; in queue_invalidate_context_sync() 99 qinval_entry->q.cc_inv_dsc.hi.res = 0; in queue_invalidate_context_sync() 128 qinval_entry->q.iotlb_inv_dsc.lo.dr = dr; in queue_invalidate_iotlb_sync() 129 qinval_entry->q.iotlb_inv_dsc.lo.dw = dw; in queue_invalidate_iotlb_sync() 134 qinval_entry->q.iotlb_inv_dsc.hi.am = am; in queue_invalidate_iotlb_sync() 165 qinval_entry->q.inv_wait_dsc.lo.sw = sw; in queue_invalidate_wait() 166 qinval_entry->q.inv_wait_dsc.lo.fn = fn; in queue_invalidate_wait() 293 qinval_entry->q.iec_inv_dsc.lo.im = im; in queue_invalidate_iec_sync() [all …]
|
A D | quirks.c | 253 const char *q = NULL; in parse_snb_timeout() local 263 t = strtoul(s, &q, 0); in parse_snb_timeout() 269 return (q && *q) ? -EINVAL : 0; in parse_snb_timeout()
|
/xen-4.10.0-shim-comet/tools/blktap2/drivers/ |
A D | tapdisk-queue.h | 110 #define tapdisk_queue_count(q) ((q)->queued) argument 111 #define tapdisk_queue_empty(q) ((q)->queued == 0) argument 112 #define tapdisk_queue_full(q) \ argument 113 (((q)->tiocbs_pending + (q)->queued) >= (q)->size)
|
A D | io-optimize.c | 221 struct iocb *io, **q; in io_merge() local 228 q = ctx->iocb_queue; in io_merge() 229 memcpy(q, queue, num * sizeof(struct iocb *)); in io_merge() 232 io = q[i]; in io_merge() 267 struct iocb *io, **q; in io_expand_iocbs() local 273 q = ctx->iocb_queue; in io_expand_iocbs() 274 memcpy(q, queue, num * sizeof(struct iocb *)); in io_expand_iocbs() 277 io = q[i]; in io_expand_iocbs() 325 struct io_event *ep, *q; in io_split() local 331 q = ctx->event_queue; in io_split() [all …]
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | spinlock.c | 460 struct lock_profile_qhead **q; in _lock_profile_deregister_struct() local 463 for ( q = &lock_profile_ancs[type].head_q; *q; q = &(*q)->head_q ) in _lock_profile_deregister_struct() 465 if ( *q == qhead ) in _lock_profile_deregister_struct() 467 *q = qhead->head_q; in _lock_profile_deregister_struct() 476 struct lock_profile **q; in lock_prof_init() local 478 for ( q = &__lock_profile_start; q < &__lock_profile_end; q++ ) in lock_prof_init() 480 (*q)->next = lock_profile_glb_q.elem_q; in lock_prof_init() 481 lock_profile_glb_q.elem_q = *q; in lock_prof_init() 482 (*q)->lock->profile = *q; in lock_prof_init()
|
A D | event_fifo.c | 63 struct evtchn_fifo_queue *q, *old_q; in lock_old_queue() local 76 if ( old_q == q ) in lock_old_queue() 181 struct evtchn_fifo_queue *q, *old_q; in evtchn_fifo_set_pending() local 223 if ( old_q != q ) in evtchn_fifo_set_pending() 229 spin_lock_irqsave(&q->lock, flags); in evtchn_fifo_set_pending() 242 if ( q->tail ) in evtchn_fifo_set_pending() 248 write_atomic(q->head, port); in evtchn_fifo_set_pending() 249 q->tail = port; in evtchn_fifo_set_pending() 254 && !test_and_set_bit(q->priority, in evtchn_fifo_set_pending() 401 spin_lock_init(&q->lock); in init_queue() [all …]
|
A D | cpupool.c | 78 struct cpupool **q; in __cpupool_find_by_id() local 82 for_each_cpupool(q) in __cpupool_find_by_id() 86 return (!exact || (*q == NULL) || ((*q)->cpupool_id == id)) ? *q : NULL; in __cpupool_find_by_id() 135 struct cpupool **q; in cpupool_create() local 149 for_each_cpupool(q) in cpupool_create() 155 if ( *q != NULL ) in cpupool_create() 164 c->next = *q; in cpupool_create() 183 *q = c; in cpupool_create() 207 if ( *q == c ) in cpupool_destroy() 209 if ( *q != c ) in cpupool_destroy() [all …]
|
A D | kernel.c | 58 char opt[128], *optval, *optkey, *q; in parse_params() local 73 q = optkey = opt; in parse_params() 76 if ( (q-opt) < (sizeof(opt)-1) ) /* avoid overflow */ in parse_params() 77 *q++ = *p; in parse_params() 80 *q = '\0'; in parse_params() 87 q = strpbrk(opt, "([{<"); in parse_params() 92 q = NULL; in parse_params() 110 if ( param->type == OPT_CUSTOM && q && in parse_params() 111 strlen(param->name) == q + 1 - opt && in parse_params() 112 !strncmp(param->name, opt, q + 1 - opt) ) in parse_params() [all …]
|
A D | lib.c | 80 s64 q; /* as a (signed) quad */ member 161 digit *u, *v, *q; in __qdivrem() local 177 return (tmp.q); in __qdivrem() 186 q = &qspace[0]; in __qdivrem() 237 return (tmp.q); in __qdivrem() 249 q[i] = 0; in __qdivrem() 250 q += 4 - m; in __qdivrem() 329 q[j] = qhat; in __qdivrem() 346 *arq = tmp.q; in __qdivrem() 351 return (tmp.q); in __qdivrem()
|
A D | inflate.c | 342 register struct huft *q; /* points to current table */ in huft_build() local 445 q = (struct huft *)NULL; /* ditto */ in huft_build() 484 if ((q = (struct huft *)malloc((z + 1)*sizeof(struct huft))) == in huft_build() 494 *t = q + 1; /* link to list for huft_free() */ in huft_build() 495 *(t = &(q->v.t)) = (struct huft *)NULL; in huft_build() 496 u[h] = ++q; /* table starts after link */ in huft_build() 505 r.v.t = q; /* pointer to this table */ in huft_build() 533 q[j] = r; in huft_build() 570 register struct huft *p, *q; in huft_free() local 577 q = (--p)->v.t; in huft_free() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | dmi_scan.c | 260 char __iomem *p = maddr_to_virt(0xF0000), *q; in dmi_get_table() local 266 for (q = p; q <= p + 0x10000 - sizeof(eps.dmi); q += 16) { in dmi_get_table() 267 memcpy_fromio(&eps, q, sizeof(eps.dmi)); in dmi_get_table() 279 q > p + 0x10000 - sizeof(eps.smbios3)) in dmi_get_table() 286 dmi_checksum(q, eps.smbios3.length)) { in dmi_get_table() 342 char __iomem *p, *q; in dmi_iterate() local 348 for (q = p; q < p + 0x10000; q += 16) { in dmi_iterate() 350 memcpy_fromio(&dmi, q, sizeof(dmi)); in dmi_iterate() 356 q <= p + 0x10000 - sizeof(smbios3)) { in dmi_iterate() 360 q < p + 0x10000 - smbios3.length || in dmi_iterate() [all …]
|
A D | microcode.c | 78 const char *q = NULL; in parse_ucode() local 86 ucode_mod_idx = simple_strtol(s, &q, 0); in parse_ucode() 88 return (q && *q) ? -EINVAL : 0; in parse_ucode()
|
/xen-4.10.0-shim-comet/xen/common/libfdt/ |
A D | fdt_ro.c | 165 const char *q = strchr(path, '/'); in fdt_path_offset() local 167 if (!q) in fdt_path_offset() 168 q = end; in fdt_path_offset() 170 p = fdt_get_alias_namelen(fdt, p, q - p); in fdt_path_offset() 175 p = q; in fdt_path_offset() 179 const char *q; in fdt_path_offset() local 185 q = strchr(p, '/'); in fdt_path_offset() 186 if (! q) in fdt_path_offset() 187 q = end; in fdt_path_offset() 189 offset = fdt_subnode_offset_namelen(fdt, offset, p, q-p); in fdt_path_offset() [all …]
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/ |
A D | p2m.h | 247 p2m_query_t q, 410 p2m_access_t *a, p2m_query_t q, unsigned int *page_order, bool_t locked); 421 p2m_access_t *a, p2m_query_t q, unsigned int *page_order) in get_gfn_type_access() argument 423 return __get_gfn_type_access(p2m, gfn, t, a, q, page_order, true); in get_gfn_type_access() 428 struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) in get_gfn_type() argument 431 return get_gfn_type_access(p2m_get_hostp2m(d), gfn, t, &a, q, NULL); in get_gfn_type() 477 p2m_query_t q); 480 struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) in get_page_from_gfn() argument 485 return p2m_get_page_from_gfn(p2m_get_hostp2m(d), _gfn(gfn), t, NULL, q); in get_page_from_gfn() 517 p2m_query_t q, struct two_gfns *rval) in get_two_gfns() argument [all …]
|
/xen-4.10.0-shim-comet/tools/libxl/ |
A D | libxlu_cfg.c | 484 char *q; in xlu__cfgl_dequote() local 495 q= result; in xlu__cfgl_dequote() 505 *q++= nc; in xlu__cfgl_dequote() 506 } else if (nc=='a') { *q++= '\007'; in xlu__cfgl_dequote() 507 } else if (nc=='b') { *q++= '\010'; in xlu__cfgl_dequote() 508 } else if (nc=='f') { *q++= '\014'; in xlu__cfgl_dequote() 509 } else if (nc=='n') { *q++= '\n'; in xlu__cfgl_dequote() 510 } else if (nc=='r') { *q++= '\r'; in xlu__cfgl_dequote() 511 } else if (nc=='t') { *q++= '\t'; in xlu__cfgl_dequote() 544 *q++= c; in xlu__cfgl_dequote() [all …]
|
/xen-4.10.0-shim-comet/unmodified_drivers/linux-2.6/platform-pci/ |
A D | platform-pci.c | 291 char protocol, *p, *q, *err; in check_platform_magic() local 297 for (p = dev_unplug; p; p = q) { in check_platform_magic() 298 q = strchr(dev_unplug, ','); in check_platform_magic() 299 if (q) in check_platform_magic() 300 *q++ = '\0'; in check_platform_magic()
|
/xen-4.10.0-shim-comet/tools/ocaml/xenstored/ |
A D | domains.ml | 58 let rec is_empty_queue q = 59 Queue.is_empty q || 60 if !(Queue.peek q) = None 62 ignore (Queue.pop q); 63 is_empty_queue q 184 let process_queue q requeue_test = 185 let d = pop q in 190 push d q (* Make it queue up again for its next point of credit. *)
|
/xen-4.10.0-shim-comet/xen/include/public/ |
A D | arch-arm.h | 173 typedef union { type *p; unsigned long q; } \ 175 typedef union { type *p; uint64_aligned_t q; } \ 195 _sxghr_tmp->q = 0; \
|
/xen-4.10.0-shim-comet/xen/drivers/char/ |
A D | console.c | 740 char *p, *q; in vprintk_common() local 752 while ( (q = strchr(p, '\n')) != NULL ) in vprintk_common() 754 *q = '\0'; in vprintk_common() 765 p = q + 1; in vprintk_common() 834 char *q = strchr(p, ','); in console_init_preirq() local 835 if ( q != NULL ) in console_init_preirq() 836 *q = '\0'; in console_init_preirq() 838 if ( q != NULL ) in console_init_preirq() 839 *q = ','; in console_init_preirq()
|
/xen-4.10.0-shim-comet/xen/arch/x86/mm/ |
A D | p2m-pod.c | 155 struct page_info *q; in p2m_pod_cache_get() local 168 q = mfn_to_page(_mfn(mfn+i)); in p2m_pod_cache_get() 169 page_list_add_tail(q, &p2m->pod.single); in p2m_pod_cache_get() 429 struct page_info *q, *tmp; in p2m_pod_offline_or_broken_hit() local 437 page_list_for_each_safe(q, tmp, &p2m->pod.super) in p2m_pod_offline_or_broken_hit() 439 mfn = mfn_x(page_to_mfn(q)); in p2m_pod_offline_or_broken_hit() 443 page_list_del(q, &p2m->pod.super); in p2m_pod_offline_or_broken_hit() 446 q = mfn_to_page(_mfn(mfn + i)); in p2m_pod_offline_or_broken_hit() 447 page_list_add_tail(q, &p2m->pod.single); in p2m_pod_offline_or_broken_hit() 455 page_list_for_each_safe(q, tmp, &p2m->pod.single) in p2m_pod_offline_or_broken_hit() [all …]
|
/xen-4.10.0-shim-comet/tools/hotplug/Linux/systemd/ |
A D | xen-init-dom0.service.in | 10 ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities
|
A D | xenstored.service.in | 13 ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities
|
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/ |
A D | common.c | 197 char *p, *q; in get_model_name() local 210 p = q = &c->x86_model_id[0]; in get_model_name() 213 if ( p != q ) { in get_model_name() 215 *q++ = *p++; in get_model_name() 216 while ( q <= &c->x86_model_id[48] ) in get_model_name() 217 *q++ = '\0'; /* Zero-pad the rest */ in get_model_name()
|
/xen-4.10.0-shim-comet/xen/crypto/ |
A D | vmac.c | 649 uint64_t p, q, t; in poly_step_func() local 668 q = MUL32(a1, k3); in poly_step_func() 669 q += MUL32(a2, k2); in poly_step_func() 670 q += MUL32(a3, k1); in poly_step_func() 671 q += q; in poly_step_func() 672 p += q; in poly_step_func() 678 q = MUL32(a2, k3); in poly_step_func() 679 q += MUL32(a3, k2); in poly_step_func() 680 q += q; in poly_step_func() 681 p += q; in poly_step_func()
|
/xen-4.10.0-shim-comet/xen/drivers/acpi/ |
A D | tables.c | 461 const char *q; in acpi_parse_apic_instance() local 463 acpi_apic_instance = simple_strtoul(str, &q, 0); in acpi_parse_apic_instance() 468 return *q ? -EINVAL : 0; in acpi_parse_apic_instance()
|