/xen/xen/include/xen/ |
A D | bitops.h | 157 w = (w & 0x33333333) + ((w >> 2) & 0x33333333); in generic_hweight32() 158 w = (w + (w >> 4)) & 0x0f0f0f0f; in generic_hweight32() 163 w += w >> 8; in generic_hweight32() 170 w -= ((w >> 1) & 0x5555); in generic_hweight16() 171 w = (w & 0x3333) + ((w >> 2) & 0x3333); in generic_hweight16() 172 w = (w + (w >> 4)) & 0x0f0f; in generic_hweight16() 179 w -= ((w >> 1) & 0x55); in generic_hweight8() 180 w = (w & 0x33) + ((w >> 2) & 0x33); in generic_hweight8() 192 w = (w + (w >> 4)) & 0x0f0f0f0f0f0f0f0ful; in generic_hweight64() 197 w += w >> 8; in generic_hweight64() [all …]
|
A D | cpumask.h | 255 unsigned int w = cpumask_weight(srcp); in cpumask_any() local 257 if ( w > 1 && cpu < nr_cpu_ids ) in cpumask_any() 258 for ( w = get_random() % w; w--; ) in cpumask_any()
|
/xen/xen/arch/x86/hvm/ |
A D | vm_event.c | 64 struct monitor_write_data *w; in hvm_vm_event_do_resume() local 96 if ( unlikely(w->do_write.cr0) ) in hvm_vm_event_do_resume() 101 w->do_write.cr0 = 0; in hvm_vm_event_do_resume() 104 if ( unlikely(w->do_write.cr4) ) in hvm_vm_event_do_resume() 109 w->do_write.cr4 = 0; in hvm_vm_event_do_resume() 112 if ( unlikely(w->do_write.cr3) ) in hvm_vm_event_do_resume() 114 if ( hvm_set_cr3(w->cr3, w->cr3_noflush, false) == X86EMUL_EXCEPTION ) in hvm_vm_event_do_resume() 117 w->do_write.cr3 = 0; in hvm_vm_event_do_resume() 120 if ( unlikely(w->do_write.msr) ) in hvm_vm_event_do_resume() 122 if ( hvm_msr_write_intercept(w->msr, w->value, false) == in hvm_vm_event_do_resume() [all …]
|
/xen/xen/common/ |
A D | inflate.c | 167 #define flush_output(w) (wp=(w),flush_window()) argument 459 while (k > w + l) in huft_build() 514 r.b = (uch)(k - w); in huft_build() 531 f = 1 << (k - w); in huft_build() 544 w -= l; in huft_build() 627 if (w == WSIZE) in inflate_codes() 630 w = 0; in inflate_codes() 662 n -= (e = (e = WSIZE - ((d &= WSIZE-1) > w ? d : w)) > n ? n : e); in inflate_codes() 679 w = 0; in inflate_codes() 736 if (w == WSIZE) in inflate_stored() [all …]
|
A D | event_fifo.c | 35 unsigned int p, w; in evtchn_fifo_word_from_port() local 57 return d->evtchn_fifo->event_array[p] + w; in evtchn_fifo_word_from_port() 80 if ( !(*w & (1 << EVTCHN_FIFO_LINKED)) ) in try_set_link() 83 old = *w; in try_set_link() 85 *w = cmpxchg(word, old, new); in try_set_link() 86 if ( *w == old ) in try_set_link() 109 event_word_t w; in evtchn_fifo_set_link() local 113 w = read_atomic(word); in evtchn_fifo_set_link() 115 ret = try_set_link(word, &w, link); in evtchn_fifo_set_link() 122 w = read_atomic(word); in evtchn_fifo_set_link() [all …]
|
A D | bitmap.c | 189 int k, w = 0, lim = bits/BITS_PER_LONG; in __bitmap_weight() local 192 w += hweight32(bitmap[k]); in __bitmap_weight() 195 w += hweight32(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight() 197 return w; in __bitmap_weight() 202 int k, w = 0, lim = bits/BITS_PER_LONG; in __bitmap_weight() local 205 w += hweight64(bitmap[k]); in __bitmap_weight() 208 w += hweight64(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight() 210 return w; in __bitmap_weight()
|
/xen/tools/tests/x86_emulator/ |
A D | simd-sha.c | 96 touch(w); in sha256_sigma0() 97 res = ror_c(w, 7); in sha256_sigma0() 98 touch(w); in sha256_sigma0() 99 res ^= rol_c(w, 14); in sha256_sigma0() 100 touch(w); in sha256_sigma0() 101 res ^= shr_c(w, 3); in sha256_sigma0() 102 touch(w); in sha256_sigma0() 111 return ror_s(w, _17) ^ ror_s(w, _19) ^ shr_s(w, _10); in sha256_sigma1() 119 res = ror_v(w, n1); in sha256_Sigma0() 121 res ^= ror_v(w, n2); in sha256_Sigma0() [all …]
|
A D | simd.h | 126 # define DECL_PAIR(w) \ argument 127 typedef w ## _t pair_t; \ 128 typedef vsi_ ## w ## _t vsi_pair_t; \ 129 typedef vdi_ ## w ## _t vdi_pair_t 130 # define DECL_QUARTET(w) \ argument 131 typedef w ## _t quartet_t; \ 133 typedef vdi_ ## w ## _t vdi_quartet_t 134 # define DECL_OCTET(w) \ argument 135 typedef w ## _t octet_t; \ 137 typedef vdi_ ## w ## _t vdi_octet_t [all …]
|
A D | evex-disp8.c | 371 INSN(movdqu16, f2, 0f, 6f, vl, w, vl), 456 INSN(pextrw, 66, 0f3a, 15, el, w, el), 458 INSN(pinsrw, 66, 0f, c4, el, w, el), 581 INSN(pshldvw, 66, 0f38, 70, vl, w, vl), 582 INSN(pshldw, 66, 0f3a, 70, vl, w, vl), 585 INSN(pshrdvw, 66, 0f38, 72, vl, w, vl), 586 INSN(pshrdw, 66, 0f3a, 72, vl, w, vl), 707 uint8_t w:1; in test_one() member 728 evex.w = 1; in test_one() 733 evex.w = 1; in test_one() [all …]
|
/xen/xen/include/asm-arm/arm64/ |
A D | cmpxchg.h | 66 #define __CMPXCHG_CASE(w, sz, name) \ argument 78 " ldxr" #sz " %" #w "1, %2\n" \ 80 " cmp %" #w "1, %" #w "3\n" \ 82 " stxr" #sz " %w0, %" #w "4, %2\n" \ 98 __CMPXCHG_CASE(w, b, 1) 99 __CMPXCHG_CASE(w, h, 2) 100 __CMPXCHG_CASE(w, , 4)
|
/xen/tools/libxl/ |
A D | libxl_event.c | 719 if (!w) { in watchfd_callback() 726 w, epath, token, w->counterval); in watchfd_callback() 745 w, w->path, token, epath); in watchfd_callback() 751 w, w->path, token, epath); in watchfd_callback() 752 w->callback(egc, w, w->path, epath); in watchfd_callback() 824 w->callback = func; in libxl__ev_xswatch_register() 848 const char *token = watch_token(gc, w->slotnum, w->counterval); in libxl__ev_xswatch_deregister() 851 w, w->path, token, w->slotnum); in libxl__ev_xswatch_deregister() 867 free(w->path); in libxl__ev_xswatch_deregister() 868 w->path = NULL; in libxl__ev_xswatch_deregister() [all …]
|
A D | check-xl-disk-parse | 66 one 0 raw:/dev/vg/guest-volume,hda,w 95 one 0 backendtype=phy,vdev=xvdb,access=w,target=/dev/vg/guest-volume 137 one 0 iscsi:iqn.2001-05.com.equallogic:0-8a0906-23fe93404-c82797962054a96d-examplehost,xvda,w 138 one 0 vdev=xvda,access=w,script=block-iscsi,target=iqn.2001-05.com.equallogic:0-8a0906-23fe93404-c8… 153 one 0 drbd:app01,hda,w
|
A D | gentypes.py | 105 def libxl_C_type_copy(ty, v, w, indent = " ", vparent = None, wparent = None): argument 118 (wnparent,wfexpr) = ty.member(w, f, wparent is None) 135 s += libxl_C_type_copy(ty.elem_type, v+"[i]", w+"[i]", 141 (wnparent,wfexpr) = ty.member(w, f, wparent is None) 151 ty.pass_arg(w, wparent is None, passby=idl.PASS_BY_VALUE)) 481 s += " if (!libxl__json_object_is_string(%s)) {\n" % w 485 s += " enum_str = libxl__json_object_get_string(%s);\n" % w 500 s += libxl_C_type_parse_json(f.type, w, fexpr, indent + " ", nparent) 511 (f.type.keyvar.name + "." + x.name, w) 530 s += "rc = %s(gc, %s, &%s);\n" % (ty.json_parse_fn, w, v) [all …]
|
/xen/xen/arch/arm/arm64/ |
A D | debug-pl011.inc | 28 strh w\c, [\xb, #0x28] /* -> UARTFBRD (Baud divisor fraction) */ 30 strh w\c, [\xb, #0x24] /* -> UARTIBRD (Baud divisor integer) */ 32 str w\c, [\xb, #0x2C] /* -> UARTLCR_H (Line control) */ 34 str w\c, [\xb, #0x30] /* -> UARTCR (Control Register) */ 44 ldrh w\c, [\xb, #0x18] /* <- UARTFR (Flag register) */ 45 tst w\c, #0x8 /* Check BUSY bit */
|
A D | debug-8250.inc | 28 ldrb w\c, [\xb, #UART_LSR << CONFIG_EARLY_UART_8250_REG_SHIFT] 29 and w\c, w\c, #UART_LSR_THRE 30 cmp w\c, #UART_LSR_THRE
|
/xen/docs/misc/ |
A D | vtpm-platforms.txt | 31 disk=["file:/images/vtpmmgr-stubdom.img,hda,w"] 40 disk=["file:/images/vtpm-guest1.img,hda,w"] 47 disk=["file:/images/vtpm-guest2.img,hda,w"] 55 disk=["file:/images/guest1.img,xvda,w"] 62 disk=["file:/images/guest2.img,xvda,w"] 100 # xl block-attach vtpmmgr 'backendtype=phy,backend=hardware,vdev=hda,access=w,target=/dev/lvm/vtpmm… 101 # xl block-attach vtpm-hw 'backendtype=phy,backend=hardware,vdev=hda,access=w,target=/dev/lvm/vtpm-… 102 # xl block-attach vtpm-g1 'backendtype=phy,backend=hardware,vdev=hda,access=w,target=/dev/lvm/vtpm-… 103 # xl block-attach vtpm-g2 'backendtype=phy,backend=hardware,vdev=hda,access=w,target=/dev/lvm/vtpm-… 104 # xl block-attach guest1 'backendtype=phy,backend=hardware,vdev=xvda,access=w,target=/dev/lvm/guest… [all …]
|
A D | xenstore-paths.pandoc | 422 #### ~/control/sysrq = (""|COMMAND) [w] 430 #### ~/control/shutdown = (""|COMMAND) [w] 503 #### ~/data/* [w] 507 #### ~/drivers/$INDEX = DISTRIBUTION [w] 512 #### ~/feature/hotplug/vif = ("0"|"1") [w] 513 #### ~/feature/hotplug/vbd = ("0"|"1") [w] 524 #### ~/attr/vif/$DEVID/name = STRING [w] 551 #### ~/error [w] 558 #### ~/device-model/$DOMID/state [w] 562 #### ~/device-model/$DOMID/backends/* [w] [all …]
|
/xen/tools/firmware/rombios/32bit/tcgbios/ |
A D | tcgbios.c | 1305 w[i] = bswap(w[i]); in sha1_block() 1309 tmp = w[i-3] ^ w[i-8] ^ w[i-14] ^ w[i-16]; in sha1_block() 1310 w[i] = rol(tmp,1); in sha1_block() 1338 w[i]; in sha1_block() 1359 uint32_t w[80]; in sha1_do() local 1364 memcpy(w, data32 + offset, 64); in sha1_do() 1373 memset(w, 0x0, 64); in sha1_do() 1375 ((uint8_t *)w)[num] = 0x80; in sha1_do() 1380 memset(w, 0x0, 60); in sha1_do() 1385 memcpy(&w[15], &tmp, 4); in sha1_do() [all …]
|
/xen/tools/ocaml/ |
A D | common.make | 15 OCAMLOPTFLAGS = $(OCAMLOPTFLAG_G) -ccopt "$(LDFLAGS)" -dtypes $(OCAMLINCLUDE) -cc $(CC) -w F -warn-… 16 OCAMLCFLAGS += -g $(OCAMLINCLUDE) -w F -warn-error F
|
/xen/xen/arch/x86/mm/ |
A D | p2m-ept.c | 100 entry->r = entry->w = entry->x = 0; in ept_p2m_type_to_flags() 103 entry->r = entry->w = entry->x = 1; in ept_p2m_type_to_flags() 111 entry->d = entry->w && entry->a; in ept_p2m_type_to_flags() 131 entry->w = 1; in ept_p2m_type_to_flags() 133 entry->w = 0; in ept_p2m_type_to_flags() 141 entry->w = 0; in ept_p2m_type_to_flags() 147 entry->r = entry->w = 1; in ept_p2m_type_to_flags() 153 entry->w = entry->x = 0; in ept_p2m_type_to_flags() 167 entry->w = entry->x = 0; in ept_p2m_type_to_flags() 173 entry->r = entry->w = 0; in ept_p2m_type_to_flags() [all …]
|
/xen/xen/arch/x86/x86_emulate/ |
A D | x86_emulate.c | 6979 if ( !vex.w ) in x86_emulate() 6995 if ( vex.w ) in x86_emulate() 7135 if ( evex.w ) in x86_emulate() 7814 vex.w = 0; in x86_emulate() 7942 if ( vex.w ) in x86_emulate() 8048 if ( !vex.w ) in x86_emulate() 8057 if ( vex.w ) in x86_emulate() 9250 if ( evex.w ) in x86_emulate() 9436 if ( evex.w ) in x86_emulate() 10559 evex.w = vex.w = 0; in x86_emulate() [all …]
|
/xen/tools/ocaml/xenstored/ |
A D | connection.ml | 73 let get_con w = w.con 155 List.concat (Hashtbl.fold (fun p w l -> 156 if String.startswith path p then w :: l else l) con.watches []) 167 if List.exists (fun w -> w.token = token) l then 177 let w = List.find (fun w -> w.token = token) ws in 178 let filtered = Utils.list_remove w ws in 184 apath, w
|
/xen/xen/arch/x86/ |
A D | vm_event.c | 83 struct monitor_write_data *w; in vm_event_register_write_resume() local 91 w = &v->arch.vm_event->write_data; in vm_event_register_write_resume() 96 w->do_write.msr = 0; in vm_event_register_write_resume() 102 w->do_write.cr0 = 0; in vm_event_register_write_resume() 105 w->do_write.cr3 = 0; in vm_event_register_write_resume() 108 w->do_write.cr4 = 0; in vm_event_register_write_resume()
|
/xen/xen/common/efi/ |
A D | boot.c | 98 CHAR16 *w; member 287 CHAR16 *w; in s2w() local 294 w = str->w = ptr; in s2w() 296 *w = *s++; in s2w() 297 } while ( *w++ ); in s2w() 299 return str->w; in s2w() 304 const CHAR16 *w = str->w; in w2s() local 308 if ( *w > 0x007f ) in w2s() 310 *s = *w++; in w2s() 1224 section.w = ptr; in efi_start() [all …]
|
/xen/xen/include/asm-x86/ |
A D | io.h | 41 __IN(w,"") 48 __OUT(w,"w",short)
|