Home
last modified time | relevance | path

Searched refs:vec (Results 1 – 22 of 22) sorted by relevance

/xen-4.10.0-shim-comet/tools/xenstore/
A Dxenstored_watch.c156 char *vec[2]; in do_watch() local
159 if (get_strings(in, vec, ARRAY_SIZE(vec)) != ARRAY_SIZE(vec)) in do_watch()
162 if (strstarts(vec[0], "@")) { in do_watch()
168 relative = !strstarts(vec[0], "/"); in do_watch()
169 vec[0] = canonicalize(conn, in, vec[0]); in do_watch()
170 if (!vec[0]) in do_watch()
172 if (!is_valid_nodename(vec[0])) in do_watch()
178 if (streq(watch->node, vec[0]) && in do_watch()
179 streq(watch->token, vec[1])) in do_watch()
217 char *node, *vec[2]; in do_unwatch() local
[all …]
A Dxenstored_control.c36 char **vec, int num) in do_control_check() argument
48 char **vec, int num) in do_control_log() argument
53 if (!strcmp(vec[0], "on")) in do_control_log()
55 else if (!strcmp(vec[0], "off")) in do_control_log()
65 char **vec, int num) in do_control_logfile() argument
80 char **vec, int num) in do_control_memreport() argument
106 fp = fopen(vec[0], "a"); in do_control_memreport()
119 char **vec, int num) in do_control_print() argument
142 char **vec, int num) in do_control_help() argument
181 char **vec; in do_control() local
[all …]
A Dxenstored_domain.c375 char *vec[3]; in do_introduce() local
382 if (get_strings(in, vec, ARRAY_SIZE(vec)) < ARRAY_SIZE(vec)) in do_introduce()
388 domid = atoi(vec[0]); in do_introduce()
389 mfn = atol(vec[1]); in do_introduce()
390 port = atoi(vec[2]); in do_introduce()
447 char *vec[2]; in do_set_target() local
450 if (get_strings(in, vec, ARRAY_SIZE(vec)) < ARRAY_SIZE(vec)) in do_set_target()
456 domid = atoi(vec[0]); in do_set_target()
457 tdomid = atoi(vec[1]); in do_set_target()
A Dxenstore_client.c279 char **vec = NULL; in do_watch() local
284 vec = xs_read_watch(xsh, &num); in do_watch()
285 if (vec == NULL) in do_watch()
288 printf("%s\n", vec[XS_WATCH_PATH]); in do_watch()
290 free(vec); in do_watch()
A Dxenstored_core.h142 char *vec[], unsigned int num);
A Dxenstored_core.c630 char *vec[], unsigned int num) in get_strings() argument
637 vec[i] = data->buffer + off; in get_strings()
1020 char *vec[1] = { NULL }; /* gcc4 + -W + -Werror fucks code. */ in do_write() local
1024 if (get_strings(in, vec, ARRAY_SIZE(vec)) < ARRAY_SIZE(vec)) in do_write()
1027 offset = strlen(vec[0]) + 1; in do_write()
1030 node = get_node_canonicalized(conn, in, vec[0], &name, XS_PERM_WRITE); in do_write()
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/
A Dvlapic.h67 #define vlapic_test_vector(vec, bitmap) \ argument
68 test_bit(VEC_POS(vec), (const uint32_t *)((bitmap) + REG_POS(vec)))
69 #define vlapic_test_and_set_vector(vec, bitmap) \ argument
70 test_and_set_bit(VEC_POS(vec), (uint32_t *)((bitmap) + REG_POS(vec)))
71 #define vlapic_test_and_clear_vector(vec, bitmap) \ argument
72 test_and_clear_bit(VEC_POS(vec), (uint32_t *)((bitmap) + REG_POS(vec)))
73 #define vlapic_set_vector(vec, bitmap) \ argument
74 set_bit(VEC_POS(vec), (uint32_t *)((bitmap) + REG_POS(vec)))
76 clear_bit(VEC_POS(vec), (uint32_t *)((bitmap) + REG_POS(vec)))
113 bool vlapic_test_irq(const struct vlapic *vlapic, uint8_t vec);
[all …]
A Dhvm.h50 #define hvm_intack(src, vec) ((struct hvm_intack) { hvm_intsrc_##src, vec }) argument
52 #define hvm_intack_pic(vec) hvm_intack(pic, vec) argument
53 #define hvm_intack_lapic(vec) hvm_intack(lapic, vec) argument
56 #define hvm_intack_vector(vec) hvm_intack(vector, vec) argument
/xen-4.10.0-shim-comet/tools/xenbackendd/
A Dxenbackendd.c150 char **vec; in main() local
243 vec = xs_read_watch(xs, &num); in main()
244 dodebug("read from xen watch: %s", *vec); in main()
245 if (!vec) { in main()
258 p = &vec[XS_WATCH_PATH][ in main()
277 vec[XS_WATCH_PATH]); in main()
283 if (strncmp(vec[XS_WATCH_PATH], in main()
288 if (strncmp(vec[XS_WATCH_PATH], in main()
297 vec[XS_WATCH_PATH]); in main()
305 doexec(s, vec[XS_WATCH_PATH], sstate); in main()
[all …]
/xen-4.10.0-shim-comet/tools/ocaml/libs/xs/
A Dxst.ml34 readv = (fun dir vec -> Xsraw.readv tid dir vec xsh);
36 writev = (fun dir vec -> Xsraw.writev tid dir vec xsh);
41 setpermsv = (fun dir vec perms -> Xsraw.setpermsv tid dir vec perms xsh);
A Dxs.ml48 readv = (fun dir vec -> Xsraw.readv 0 dir vec con);
50 writev = (fun dir vec -> Xsraw.writev 0 dir vec con);
55 setpermsv = (fun dir vec perms -> Xsraw.setpermsv 0 dir vec perms con);
A Dxsraw.ml195 let readv tid dir vec con =
198 (List.map (fun v -> dir ^ "/" ^ v) vec) else vec)
242 let writev tid dir vec con =
246 write tid path value con) vec
263 let setpermsv tid dir vec perms con =
267 setperms tid path perms con) vec
/xen-4.10.0-shim-comet/xen/common/
A Dvm_event.c44 struct xen_domctl_vm_event_op *vec, in vm_event_enable() argument
91 (*ved)->xen_port = vec->port = rc; in vm_event_enable()
590 int vm_event_domctl(struct domain *d, struct xen_domctl_vm_event_op *vec, in vm_event_domctl() argument
595 rc = xsm_vm_event_control(XSM_PRIV, d, vec->mode, vec->op); in vm_event_domctl()
622 switch ( vec->mode ) in vm_event_domctl()
629 switch( vec->op ) in vm_event_domctl()
656 rc = vm_event_enable(d, vec, &d->vm_event_paging, _VPF_mem_paging, in vm_event_domctl()
690 switch( vec->op ) in vm_event_domctl()
697 rc = vm_event_enable(d, vec, &d->vm_event_monitor, _VPF_mem_access, in vm_event_domctl()
731 switch( vec->op ) in vm_event_domctl()
[all …]
/xen-4.10.0-shim-comet/xen/arch/x86/x86_64/
A Dentry.S707 vec = 0 define
712 .if vec >= FIRST_DYNAMIC_VECTOR && vec != HYPERCALL_VECTOR && vec != LEGACY_SYSCALL_VECTOR
714 .if vec >= FIRST_DYNAMIC_VECTOR
719 movb $vec,4(%rsp)
725 ….elseif vec == TRAP_copro_seg || vec == TRAP_spurious_int || (vec > TRAP_simd_error && vec < TRAP_…
730 2: movb $vec,4(%rsp)
740 vec = vec + 1 define
/xen-4.10.0-shim-comet/tools/xenpaging/
A Dxenpaging.c76 char **vec, *val; in xenpaging_wait_for_event_or_timeout() local
105 vec = xs_read_watch(paging->xs_handle, &num); in xenpaging_wait_for_event_or_timeout()
106 if ( vec ) in xenpaging_wait_for_event_or_timeout()
108 DPRINTF("path '%s' token '%s'\n", vec[XS_WATCH_PATH], vec[XS_WATCH_TOKEN]); in xenpaging_wait_for_event_or_timeout()
109 if ( strcmp(vec[XS_WATCH_TOKEN], watch_token) == 0 ) in xenpaging_wait_for_event_or_timeout()
120 else if ( strcmp(vec[XS_WATCH_PATH], watch_target_tot_pages) == 0 ) in xenpaging_wait_for_event_or_timeout()
123 val = xs_read(paging->xs_handle, XBT_NULL, vec[XS_WATCH_PATH], NULL); in xenpaging_wait_for_event_or_timeout()
141 free(vec); in xenpaging_wait_for_event_or_timeout()
/xen-4.10.0-shim-comet/tools/tests/x86_emulator/
A DMakefile46 $(foreach vec,$($(1)-vecs), \
55 $(foreach vec,$($(1)-vecs), \
/xen-4.10.0-shim-comet/xen/include/xen/
A Dvm_event.h72 int vm_event_domctl(struct domain *d, struct xen_domctl_vm_event_op *vec,
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Dvlapic.c140 bool vlapic_test_irq(const struct vlapic *vlapic, uint8_t vec) in vlapic_test_irq() argument
142 if ( unlikely(vec < 16) ) in vlapic_test_irq()
146 hvm_funcs.test_pir(const_vlapic_vcpu(vlapic), vec) ) in vlapic_test_irq()
149 return vlapic_test_vector(vec, &vlapic->regs->data[APIC_IRR]); in vlapic_test_irq()
152 void vlapic_set_irq(struct vlapic *vlapic, uint8_t vec, uint8_t trig) in vlapic_set_irq() argument
156 if ( unlikely(vec < 16) ) in vlapic_set_irq()
163 vlapic_set_vector(vec, &vlapic->regs->data[APIC_TMR]); in vlapic_set_irq()
166 hvm_funcs.update_eoi_exit_bitmap(target, vec, trig); in vlapic_set_irq()
169 hvm_funcs.deliver_posted_intr(target, vec); in vlapic_set_irq()
170 else if ( !vlapic_test_and_set_irr(vec, vlapic) ) in vlapic_set_irq()
/xen-4.10.0-shim-comet/tools/xentrace/
A Dxenalyze.c3414 if(vla->outstanding.list[i].valid && vla->outstanding.list[i].vec == vec) in find_vec()
3423 o->vec = vec; in find_vec()
3469 o->vec, in ipi_send()
4356 unsigned vec, ec; in hvm_inj_exc_process() member
4402 vec = 0; in hvm_intr_process()
4413 h->inflight.intr.vec = vec; in hvm_intr_process()
4422 vec); in hvm_intr_process()
8437 int irq, vec; in irq_process() member
8482 int irq, vec; in irq_process() member
8534 int vec; in irq_process() member
[all …]
/xen-4.10.0-shim-comet/tools/console/daemon/
A Dio.c1111 char **vec; in handle_xs() local
1116 vec = xs_read_watch(xs, &num); in handle_xs()
1117 if (!vec) in handle_xs()
1120 if (!strcmp(vec[XS_WATCH_TOKEN], "domlist")) in handle_xs()
1122 else if (sscanf(vec[XS_WATCH_TOKEN], "dom%u", &domid) == 1) { in handle_xs()
1130 free(vec); in handle_xs()
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dirq.c105 unsigned int irq:16, vec:16; in trace_irq_mask() member
109 d.vec = vector; in trace_irq_mask()
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/vmx/
A Dvmx.c2123 static bool vmx_test_pir(const struct vcpu *v, uint8_t vec) in vmx_test_pir() argument
2125 return pi_test_pir(vec, &v->arch.hvm_vmx.pi_desc); in vmx_test_pir()

Completed in 81 milliseconds