/xen/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() 167 qinval_entry->q.inv_wait_dsc.lo.sw = sw; in queue_invalidate_wait() 168 qinval_entry->q.inv_wait_dsc.lo.fn = fn; in queue_invalidate_wait() 291 qinval_entry->q.iec_inv_dsc.lo.im = im; in queue_invalidate_iec_sync() [all …]
|
A D | quirks.c | 251 const char *q = NULL; in parse_snb_timeout() local 261 t = strtoul(s, &q, 0); in parse_snb_timeout() 267 return (q && *q) ? -EINVAL : 0; in parse_snb_timeout()
|
/xen/xen/common/ |
A D | event_fifo.c | 183 if ( q == old_q ) in evtchn_fifo_set_pending() 185 else if ( q < old_q ) in evtchn_fifo_set_pending() 193 spin_lock(&q->lock); in evtchn_fifo_set_pending() 202 if ( q != old_q ) in evtchn_fifo_set_pending() 254 if ( old_q != q ) in evtchn_fifo_set_pending() 263 old_q = q; in evtchn_fifo_set_pending() 277 if ( q->tail ) in evtchn_fifo_set_pending() 284 q->tail = port; in evtchn_fifo_set_pending() 288 if ( q != old_q ) in evtchn_fifo_set_pending() 443 spin_lock_init(&q->lock); in init_queue() [all …]
|
A D | spinlock.c | 489 struct lock_profile_qhead **q; in _lock_profile_deregister_struct() local 492 for ( q = &lock_profile_ancs[type].head_q; *q; q = &(*q)->head_q ) in _lock_profile_deregister_struct() 494 if ( *q == qhead ) in _lock_profile_deregister_struct() 496 *q = qhead->head_q; in _lock_profile_deregister_struct() 505 struct lock_profile **q; in lock_prof_init() local 507 for ( q = &__lock_profile_start; q < &__lock_profile_end; q++ ) in lock_prof_init() 509 (*q)->next = lock_profile_glb_q.elem_q; in lock_prof_init() 510 lock_profile_glb_q.elem_q = *q; in lock_prof_init() 511 (*q)->lock->profile = *q; in lock_prof_init()
|
A D | kernel.c | 60 char opt[MAX_PARAM_SIZE], *optval, *optkey, *q; in parse_params() local 75 q = optkey = opt; in parse_params() 78 if ( (q-opt) < (sizeof(opt)-1) ) /* avoid overflow */ in parse_params() 79 *q++ = *p; in parse_params() 82 *q = '\0'; in parse_params() 89 q = strpbrk(opt, "([{<"); in parse_params() 94 q = NULL; in parse_params() 112 if ( param->type == OPT_CUSTOM && q && in parse_params() 113 strlen(param->name) == q + 1 - opt && in parse_params() 114 !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/tools/tests/x86_emulator/ |
A D | evex-disp8.c | 93 INSN(m##pd, 66, sp, o, vl, q, vl), \ 99 INSN(m##sd, f2, sp, o, el, q, el), \ 327 INSN(movhpd, 66, 0f, 16, el, q, vl), 328 INSN(movhpd, 66, 0f, 17, el, q, vl), 332 INSN(movlpd, 66, 0f, 12, el, q, vl), 333 INSN(movlpd, 66, 0f, 13, el, q, vl), 336 INSN(movq, f3, 0f, 7e, el, q, el), 337 INSN(movq, 66, 0f, d6, el, q, el), 565 INSN(pmadd52huq, 66, 0f38, b5, vl, q, vl), 566 INSN(pmadd52luq, 66, 0f38, b4, vl, q, vl), [all …]
|
A D | simd.h | 239 # define OVR_DQ(n) OVR(p ## n ## d); OVR(p ## n ## q) 323 REN(pand, , q); 324 REN(pandn, , q); 325 REN(por, , q); 326 REN(pxor, , q);
|
/xen/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 …]
|
/xen/xen/common/sched/ |
A D | cpupool.c | 192 struct cpupool **q; in __cpupool_find_by_id() local 196 for_each_cpupool(q) in __cpupool_find_by_id() 200 return (!exact || (*q == NULL) || ((*q)->cpupool_id == id)) ? *q : NULL; in __cpupool_find_by_id() 249 struct cpupool **q; in cpupool_create() local 263 for_each_cpupool(q) in cpupool_create() 269 if ( *q != NULL ) in cpupool_create() 276 c->next = *q; in cpupool_create() 293 *q = c; in cpupool_create() 322 if ( *q == c ) in cpupool_destroy() 324 if ( *q != c ) in cpupool_destroy() [all …]
|
/xen/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/xen/tools/kconfig/ |
A D | preprocess.c | 456 const char *q; in expand_dollar_with_args() local 470 q = p; in expand_dollar_with_args() 471 while (*q) { in expand_dollar_with_args() 472 if (*q == '(') { in expand_dollar_with_args() 474 } else if (*q == ')') { in expand_dollar_with_args() 478 q++; in expand_dollar_with_args() 481 if (!*q) in expand_dollar_with_args() 485 *str = q + 1; in expand_dollar_with_args() 487 return eval_clause(p, q - p, argc, argv); in expand_dollar_with_args()
|
/xen/xen/include/asm-x86/ |
A D | p2m.h | 251 p2m_query_t q, 423 p2m_access_t *a, p2m_query_t q, unsigned int *page_order, bool_t locked); 434 p2m_access_t *a, p2m_query_t q, unsigned int *page_order) in get_gfn_type_access() argument 436 return __get_gfn_type_access(p2m, gfn, t, a, q, page_order, true); in get_gfn_type_access() 441 struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) in get_gfn_type() argument 444 return get_gfn_type_access(p2m_get_hostp2m(d), gfn, t, &a, q, NULL); in get_gfn_type() 487 p2m_query_t q); 490 struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) in get_page_from_gfn() argument 495 return p2m_get_page_from_gfn(p2m_get_hostp2m(d), _gfn(gfn), t, NULL, q); in get_page_from_gfn() 538 p2m_query_t q, struct two_gfns *rval, bool lock) in get_two_gfns() argument [all …]
|
/xen/tools/libxl/ |
A D | libxlu_cfg.c | 602 char *q; in xlu__cfgl_dequote() local 613 q= result; in xlu__cfgl_dequote() 623 *q++= nc; in xlu__cfgl_dequote() 624 } else if (nc=='a') { *q++= '\007'; in xlu__cfgl_dequote() 625 } else if (nc=='b') { *q++= '\010'; in xlu__cfgl_dequote() 626 } else if (nc=='f') { *q++= '\014'; in xlu__cfgl_dequote() 627 } else if (nc=='n') { *q++= '\n'; in xlu__cfgl_dequote() 628 } else if (nc=='r') { *q++= '\r'; in xlu__cfgl_dequote() 629 } else if (nc=='t') { *q++= '\t'; in xlu__cfgl_dequote() 662 *q++= c; in xlu__cfgl_dequote() [all …]
|
/xen/tools/ocaml/xenstored/ |
A D | domains.ml | 60 let rec is_empty_queue q = 61 Queue.is_empty q || 62 if !(Queue.peek q) = None 64 ignore (Queue.pop q); 65 is_empty_queue q 186 let process_queue q requeue_test = 187 let d = pop q in 192 push d q (* Make it queue up again for its next point of credit. *)
|
/xen/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/xen/ |
A D | Kconfig | 13 def_bool $(success,$(CC) --version | head -n 1 | grep -q gcc) 20 def_bool $(success,$(CC) --version | head -n 1 | grep -q clang)
|
/xen/xen/drivers/char/ |
A D | console.c | 890 char *p, *q; in vprintk_common() local 902 while ( (q = strchr(p, '\n')) != NULL ) in vprintk_common() 904 *q = '\0'; in vprintk_common() 915 p = q + 1; in vprintk_common() 984 char *q = strchr(p, ','); in console_init_preirq() local 985 if ( q != NULL ) in console_init_preirq() 986 *q = '\0'; in console_init_preirq() 988 if ( q != NULL ) in console_init_preirq() 989 *q = ','; in console_init_preirq()
|
/xen/xen/arch/x86/mm/ |
A D | p2m-pod.c | 150 struct page_info *q; in p2m_pod_cache_get() local 163 q = mfn_to_page(_mfn(mfn+i)); in p2m_pod_cache_get() 164 page_list_add_tail(q, &p2m->pod.single); in p2m_pod_cache_get() 422 struct page_info *q, *tmp; in p2m_pod_offline_or_broken_hit() local 430 page_list_for_each_safe(q, tmp, &p2m->pod.super) in p2m_pod_offline_or_broken_hit() 432 mfn = mfn_x(page_to_mfn(q)); in p2m_pod_offline_or_broken_hit() 436 page_list_del(q, &p2m->pod.super); in p2m_pod_offline_or_broken_hit() 439 q = mfn_to_page(_mfn(mfn + i)); in p2m_pod_offline_or_broken_hit() 440 page_list_add_tail(q, &p2m->pod.single); in p2m_pod_offline_or_broken_hit() 448 page_list_for_each_safe(q, tmp, &p2m->pod.single) in p2m_pod_offline_or_broken_hit() [all …]
|
/xen/xen/arch/x86/cpu/ |
A D | common.c | 214 char *p, *q; in get_model_name() local 227 p = q = &c->x86_model_id[0]; in get_model_name() 230 if ( p != q ) { in get_model_name() 232 *q++ = *p++; in get_model_name() 233 while ( q <= &c->x86_model_id[48] ) in get_model_name() 234 *q++ = '\0'; /* Zero-pad the rest */ in get_model_name()
|
/xen/tools/hotplug/Linux/systemd/ |
A D | xen-init-dom0.service.in | 11 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/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/stubdom/grub.patches/ |
A D | 99minios | 504 + "q" 524 + "q" 834 + "q" 865 + "q" 923 *q++ = '0'; 944 q += etherboot_sprintf (q, "%d.", *r); 953 q += etherboot_sprintf (q, "%hhX:", *p); 955 --q; 961 *q++ = *fmt; 1024 long q; [all …]
|