Home
last modified time | relevance | path

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

/xen/tools/xenstore/
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()
66 char **vec, int num) in do_control_memreport() argument
78 char **vec, int num) in do_control_logfile() argument
93 char **vec, int num) in do_control_memreport() argument
119 fp = fopen(vec[0], "a"); in do_control_memreport()
133 char **vec, int num) in do_control_print() argument
160 char **vec, int num) in do_control_help() argument
199 char **vec; in do_control() local
[all …]
A Dxenstored_watch.c202 char *vec[2]; in do_watch() local
205 if (get_strings(in, vec, ARRAY_SIZE(vec)) != ARRAY_SIZE(vec)) in do_watch()
208 if (strstarts(vec[0], "@")) { in do_watch()
214 relative = !strstarts(vec[0], "/"); in do_watch()
215 vec[0] = canonicalize(conn, in, vec[0]); in do_watch()
216 if (!vec[0]) in do_watch()
218 if (!is_valid_nodename(vec[0])) in do_watch()
224 if (streq(watch->node, vec[0]) && in do_watch()
225 streq(watch->token, vec[1])) in do_watch()
263 char *node, *vec[2]; in do_unwatch() local
[all …]
A Dxenstored_domain.c425 char *vec[3]; in do_introduce() local
431 if (get_strings(in, vec, ARRAY_SIZE(vec)) < ARRAY_SIZE(vec)) in do_introduce()
437 domid = atoi(vec[0]); in do_introduce()
439 port = atoi(vec[2]); in do_introduce()
500 char *vec[2]; in do_set_target() local
503 if (get_strings(in, vec, ARRAY_SIZE(vec)) < ARRAY_SIZE(vec)) in do_set_target()
509 domid = atoi(vec[0]); in do_set_target()
510 tdomid = atoi(vec[1]); in do_set_target()
A Dxenstore_client.c299 char **vec = NULL; in do_watch() local
304 vec = xs_read_watch(xsh, &num); in do_watch()
305 if (vec == NULL) in do_watch()
308 printf("%s\n", vec[XS_WATCH_PATH]); in do_watch()
310 free(vec); in do_watch()
A Dxenstored_core.h147 char *vec[], unsigned int num);
A Dxenstored_core.c643 char *vec[], unsigned int num) in get_strings() argument
650 vec[i] = data->buffer + off; in get_strings()
1048 char *vec[1] = { NULL }; /* gcc4 + -W + -Werror fucks code. */ in do_write() local
1052 if (get_strings(in, vec, ARRAY_SIZE(vec)) < ARRAY_SIZE(vec)) in do_write()
1055 offset = strlen(vec[0]) + 1; in do_write()
1058 node = get_node_canonicalized(conn, in, vec[0], &name, XS_PERM_WRITE); in do_write()
/xen/xen/include/asm-x86/hvm/
A Dvlapic.h65 #define vlapic_test_vector(vec, bitmap) \ argument
66 test_bit(VEC_POS(vec), (const uint32_t *)((bitmap) + REG_POS(vec)))
67 #define vlapic_test_and_set_vector(vec, bitmap) \ argument
68 test_and_set_bit(VEC_POS(vec), (uint32_t *)((bitmap) + REG_POS(vec)))
69 #define vlapic_test_and_clear_vector(vec, bitmap) \ argument
70 test_and_clear_bit(VEC_POS(vec), (uint32_t *)((bitmap) + REG_POS(vec)))
71 #define vlapic_set_vector(vec, bitmap) \ argument
72 set_bit(VEC_POS(vec), (uint32_t *)((bitmap) + REG_POS(vec)))
74 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.h49 #define hvm_intack(src, vec) ((struct hvm_intack) { hvm_intsrc_##src, vec }) argument
51 #define hvm_intack_pic(vec) hvm_intack(pic, vec) argument
52 #define hvm_intack_lapic(vec) hvm_intack(lapic, vec) argument
55 #define hvm_intack_vector(vec) hvm_intack(vector, vec) argument
/xen/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/xen/common/
A Dvm_event.c41 struct xen_domctl_vm_event_op *vec, in vm_event_enable() argument
89 ved->xen_port = vec->u.enable.port = rc; in vm_event_enable()
574 int vm_event_domctl(struct domain *d, struct xen_domctl_vm_event_op *vec) in vm_event_domctl() argument
578 if ( vec->op == XEN_VM_EVENT_GET_VERSION ) in vm_event_domctl()
580 vec->u.version = VM_EVENT_INTERFACE_VERSION; in vm_event_domctl()
584 rc = xsm_vm_event_control(XSM_PRIV, d, vec->mode, vec->op); in vm_event_domctl()
611 switch ( vec->mode ) in vm_event_domctl()
618 switch( vec->op ) in vm_event_domctl()
643 rc = vm_event_enable(d, vec, &d->vm_event_paging, _VPF_mem_paging, in vm_event_domctl()
674 switch( vec->op ) in vm_event_domctl()
[all …]
/xen/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/tools/tests/x86_emulator/
A DMakefile136 $(foreach vec,$($(1)-vecs), \
147 $(foreach vec,$($(1)-vecs), \
155 $(1)-cflags := $(foreach vec,$($(patsubst %-aes,sse,$(1))-vecs) $($(patsubst %-vaes,%,$(1))-vecs), \
159 $(1)-cflags := $(foreach vec,$($(patsubst %-pclmul,sse,$(1))-vecs) $($(patsubst %-vpclmulqdq,%,$(1)…
163 $(1)-cflags := $(foreach vec,$(sse-vecs), \
167 $(1)-cflags := $(foreach vec,$($(1:-gf=)-vecs), \
171 $(1)-opmask-cflags := $(foreach vec,$($(1)-opmask-vecs), "-D_$(vec) -m$(1) -Os -DSIZE=$(vec)")
/xen/xen/arch/x86/x86_64/
A Dentry.S981 vec = 0 define
986 .if vec >= FIRST_IRQ_VECTOR && vec != HYPERCALL_VECTOR && vec != LEGACY_SYSCALL_VECTOR
988 .if vec >= FIRST_IRQ_VECTOR
993 movb $vec,4(%rsp)
999 .elseif vec == X86_EXC_CSO || vec == X86_EXC_SPV || \
1000 vec == X86_EXC_VE || (vec > X86_EXC_CP && vec < TRAP_nr)
1005 2: movb $vec,4(%rsp)
1015 vec = vec + 1 define
/xen/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/xen/arch/x86/hvm/
A Dvlapic.c135 bool vlapic_test_irq(const struct vlapic *vlapic, uint8_t vec) in vlapic_test_irq() argument
137 if ( unlikely(vec < 16) ) in vlapic_test_irq()
141 alternative_call(hvm_funcs.test_pir, const_vlapic_vcpu(vlapic), vec) ) in vlapic_test_irq()
144 return vlapic_test_vector(vec, &vlapic->regs->data[APIC_IRR]); in vlapic_test_irq()
147 void vlapic_set_irq(struct vlapic *vlapic, uint8_t vec, uint8_t trig) in vlapic_set_irq() argument
151 if ( unlikely(vec < 16) ) in vlapic_set_irq()
158 vlapic_set_vector(vec, &vlapic->regs->data[APIC_TMR]); in vlapic_set_irq()
160 vlapic_clear_vector(vec, &vlapic->regs->data[APIC_TMR]); in vlapic_set_irq()
163 alternative_vcall(hvm_funcs.update_eoi_exit_bitmap, target, vec, trig); in vlapic_set_irq()
166 alternative_vcall(hvm_funcs.deliver_posted_intr, target, vec); in vlapic_set_irq()
[all …]
/xen/xen/include/xen/
A Dvm_event.h90 int vm_event_domctl(struct domain *d, struct xen_domctl_vm_event_op *vec);
/xen/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()
8434 int irq, vec; in irq_process() member
8479 int irq, vec; in irq_process() member
8531 int vec; in irq_process() member
[all …]
/xen/tools/console/daemon/
A Dio.c1136 char **vec; in handle_xs() local
1141 vec = xs_read_watch(xs, &num); in handle_xs()
1142 if (!vec) in handle_xs()
1145 if (!strcmp(vec[XS_WATCH_TOKEN], "domlist")) in handle_xs()
1147 else if (sscanf(vec[XS_WATCH_TOKEN], "dom%u", &domid) == 1) { in handle_xs()
1155 free(vec); in handle_xs()
/xen/xen/arch/x86/
A Dtraps.c688 static const char *vec_name(unsigned int vec) in vec_name() argument
701 return (vec < ARRAY_SIZE(names) && names[vec][0]) ? names[vec] : "???"; in vec_name()
A Dirq.c129 unsigned int irq:16, vec:16; in _trace_irq_mask() member
133 .vec = vector, in _trace_irq_mask()
/xen/xen/arch/x86/hvm/vmx/
A Dvmx.c2078 static bool vmx_test_pir(const struct vcpu *v, uint8_t vec) in vmx_test_pir() argument
2080 return pi_test_pir(vec, &v->arch.hvm.vmx.pi_desc); in vmx_test_pir()

Completed in 71 milliseconds