Home
last modified time | relevance | path

Searched refs:w (Results 1 – 25 of 79) sorted by relevance

1234

/xen-4.10.0-shim-comet/xen/include/xen/
A Dbitops.h154 static inline unsigned int generic_hweight32(unsigned int w) in generic_hweight32() argument
156 unsigned int res = (w & 0x55555555) + ((w >> 1) & 0x55555555); in generic_hweight32()
165 unsigned int res = (w & 0x5555) + ((w >> 1) & 0x5555); in generic_hweight16()
171 static inline unsigned int generic_hweight8(unsigned int w) in generic_hweight8() argument
173 unsigned int res = (w & 0x55) + ((w >> 1) & 0x55); in generic_hweight8()
178 static inline unsigned long generic_hweight64(__u64 w) in generic_hweight64() argument
181 return generic_hweight32((unsigned int)(w >> 32)) + in generic_hweight64()
182 generic_hweight32((unsigned int)w); in generic_hweight64()
185 res = (w & 0x5555555555555555ul) + ((w >> 1) & 0x5555555555555555ul); in generic_hweight64()
194 static inline unsigned long hweight_long(unsigned long w) in hweight_long() argument
[all …]
A Dcpumask.h280 unsigned int w = cpumask_weight(srcp); in cpumask_any() local
282 if ( w > 1 && cpu < nr_cpu_ids ) in cpumask_any()
283 for ( w = get_random() % w; w--; ) in cpumask_any()
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Dvm_event.c63 struct monitor_write_data *w; in hvm_vm_event_do_resume() local
69 w = &v->arch.vm_event->write_data; in hvm_vm_event_do_resume()
95 if ( unlikely(w->do_write.cr0) ) in hvm_vm_event_do_resume()
100 w->do_write.cr0 = 0; in hvm_vm_event_do_resume()
103 if ( unlikely(w->do_write.cr4) ) in hvm_vm_event_do_resume()
108 w->do_write.cr4 = 0; in hvm_vm_event_do_resume()
111 if ( unlikely(w->do_write.cr3) ) in hvm_vm_event_do_resume()
116 w->do_write.cr3 = 0; in hvm_vm_event_do_resume()
119 if ( unlikely(w->do_write.msr) ) in hvm_vm_event_do_resume()
121 if ( hvm_msr_write_intercept(w->msr, w->value, 0) == in hvm_vm_event_do_resume()
[all …]
/xen-4.10.0-shim-comet/xen/common/
A Dinflate.c167 #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 Devent_fifo.c25 unsigned int p, w; in evtchn_fifo_word_from_port() local
39 return d->evtchn_fifo->event_array[p] + w; in evtchn_fifo_word_from_port()
92 if ( !(*w & (1 << EVTCHN_FIFO_LINKED)) ) in try_set_link()
95 old = *w; in try_set_link()
97 *w = cmpxchg(word, old, new); in try_set_link()
98 if ( *w == old ) in try_set_link()
121 event_word_t w; in evtchn_fifo_set_link() local
125 w = read_atomic(word); in evtchn_fifo_set_link()
127 ret = try_set_link(word, &w, link); in evtchn_fifo_set_link()
134 w = read_atomic(word); in evtchn_fifo_set_link()
[all …]
A Dbitmap.c277 int k, w = 0, lim = bits/BITS_PER_LONG; in __bitmap_weight() local
280 w += hweight32(bitmap[k]); in __bitmap_weight()
283 w += hweight32(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()
285 return w; in __bitmap_weight()
290 int k, w = 0, lim = bits/BITS_PER_LONG; in __bitmap_weight() local
293 w += hweight64(bitmap[k]); in __bitmap_weight()
296 w += hweight64(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()
298 return w; in __bitmap_weight()
/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl_event.c541 if (!w) { in watchfd_callback()
548 w, epath, token, w->counterval); in watchfd_callback()
567 w, w->path, token, epath); in watchfd_callback()
573 w, w->path, token, epath); in watchfd_callback()
574 w->callback(egc, w, w->path, epath); in watchfd_callback()
646 w->callback = func; in libxl__ev_xswatch_register()
670 const char *token = watch_token(gc, w->slotnum, w->counterval); in libxl__ev_xswatch_deregister()
673 w, w->path, token, w->slotnum); in libxl__ev_xswatch_deregister()
689 free(w->path); in libxl__ev_xswatch_deregister()
690 w->path = NULL; in libxl__ev_xswatch_deregister()
[all …]
A Dcheck-xl-disk-parse66 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 Dgentypes.py103 def libxl_C_type_copy(ty, v, w, indent = " ", vparent = None, wparent = None): argument
116 (wnparent,wfexpr) = ty.member(w, f, wparent is None)
133 s += libxl_C_type_copy(ty.elem_type, v+"[i]", w+"[i]",
139 (wnparent,wfexpr) = ty.member(w, f, wparent is None)
149 ty.pass_arg(w, wparent is None, passby=idl.PASS_BY_VALUE))
470 s += " if (!libxl__json_object_is_string(%s)) {\n" % w
474 s += " enum_str = libxl__json_object_get_string(%s);\n" % w
489 s += libxl_C_type_parse_json(f.type, w, fexpr, indent + " ", nparent)
500 (f.type.keyvar.name + "." + x.name, w)
519 s += "rc = %s(gc, %s, &%s);\n" % (ty.json_parse_fn, w, v)
[all …]
/xen-4.10.0-shim-comet/xen/arch/arm/arm64/
A Ddebug-pl011.inc28 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 Ddebug-8250.inc28 ldrb w\c, [\xb, #UART_LSR << EARLY_UART_REG_SHIFT]
29 and w\c, w\c, #UART_LSR_THRE
30 cmp w\c, #UART_LSR_THRE
A Ddebug-cadence.inc30 ldrh w\c, [\xb, #R_UART_SR]
31 tst w\c, #UART_SR_INTR_TFUL
A Ddebug-scif.inc31 ldrh w\c, [\xb, #SCIF_SCFSR] /* <- SCFSR (status register) */
32 tst w\c, #SCFSR_TDFE /* Check TDFE bit */
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dvm_event.c79 struct monitor_write_data *w; in vm_event_register_write_resume() local
87 w = &v->arch.vm_event->write_data; in vm_event_register_write_resume()
92 w->do_write.msr = 0; in vm_event_register_write_resume()
98 w->do_write.cr0 = 0; in vm_event_register_write_resume()
101 w->do_write.cr3 = 0; in vm_event_register_write_resume()
104 w->do_write.cr4 = 0; in vm_event_register_write_resume()
/xen-4.10.0-shim-comet/docs/misc/
A Dvtpm-platforms.txt31 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 Dxenstore-paths.markdown404 #### ~/control/shutdown = (""|COMMAND) [w]
414 #### ~/control/feature-reboot = (""|"0"|"1") [w]
439 #### ~/control/feature-s3 = (""|"0"|"1") [w,HVM]
477 #### ~/data/* [w]
481 #### ~/drivers/$INDEX = DISTRIBUTION [w]
486 #### ~/feature/hotplug/vif = ("0"|"1") [w]
487 #### ~/feature/hotplug/vbd = ("0"|"1") [w]
498 #### ~/attr/vif/$DEVID/name = STRING [w]
527 #### ~/device-model/$DOMID/state [w]
531 #### ~/device-model/$DOMID/backends/* [w]
[all …]
/xen-4.10.0-shim-comet/tools/firmware/rombios/32bit/tcgbios/
A Dtcgbios.c1305 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-4.10.0-shim-comet/tools/ocaml/
A Dcommon.make15 OCAMLOPTFLAGS = $(OCAMLOPTFLAG_G) -ccopt "$(LDFLAGS)" -dtypes $(OCAMLINCLUDE) -cc $(CC) -w F -warn-…
16 OCAMLCFLAGS += -g $(OCAMLINCLUDE) -w F -warn-error F
/xen-4.10.0-shim-comet/tools/ocaml/xenstored/
A Dconnections.ml66 match List.filter (fun w -> Connection.get_con w != con) watches with
143 | Some watches -> List.iter (fun w -> Connection.fire_watch w path) watches
148 List.iter (fun w -> Connection.fire_single_watch w) watches
156 List.iter (fun w -> Connection.fire_single_watch w) (Connection.get_watches con specpath))
A Dconnection.ml73 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
A Dselect.ml60 (fun (fd, event) (r, w, x) ->
62 (if event.write then fd :: w else w),
/xen-4.10.0-shim-comet/xen/arch/x86/mm/
A Dp2m-ept.c128 entry->r = entry->w = entry->x = 0; in ept_p2m_type_to_flags()
131 entry->r = entry->w = entry->x = 1; in ept_p2m_type_to_flags()
139 entry->d = entry->w && entry->a; in ept_p2m_type_to_flags()
159 entry->w = 1; in ept_p2m_type_to_flags()
161 entry->w = 0; in ept_p2m_type_to_flags()
169 entry->w = 0; in ept_p2m_type_to_flags()
175 entry->r = entry->w = 1; in ept_p2m_type_to_flags()
181 entry->w = entry->x = 0; in ept_p2m_type_to_flags()
196 entry->w = entry->x = 0; in ept_p2m_type_to_flags()
202 entry->r = entry->w = 0; in ept_p2m_type_to_flags()
[all …]
/xen-4.10.0-shim-comet/tools/blktap2/drivers/
A Dmd5.c189 #define MD5STEP(f, w, x, y, z, data, s) \ argument
190 ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x )
/xen-4.10.0-shim-comet/xen/common/efi/
A Dboot.c92 CHAR16 *w; member
281 CHAR16 *w; in s2w() local
288 w = str->w = ptr; in s2w()
290 *w = *s++; in s2w()
291 } while ( *w++ ); in s2w()
293 return str->w; in s2w()
298 const CHAR16 *w = str->w; in w2s() local
302 if ( *w > 0x007f ) in w2s()
304 *s = *w++; in w2s()
1143 section.w = ptr; in efi_start()
[all …]
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Dio.h41 __IN(w,"")
48 __OUT(w,"w",short)

Completed in 43 milliseconds

1234