| /tools/xenstored/ |
| A D | control.c | 50 const char **vec, int num) in do_control_check() argument 62 const char **vec, int num) in do_control_log() argument 89 if (!strcmp(vec[0], "on")) in do_control_log() 137 val = atoi(vec[1]); in quota_set() 168 if (!strcmp(vec[0], "-r")) in quota_max() 183 if (!strcmp(vec[0], "set")) in do_control_quota() 186 if (!strcmp(vec[0], "max")) in do_control_quota() 198 if (!strcmp(vec[0], "set")) in do_control_quota_s() 220 const char **vec, int num) in do_control_memreport() argument 339 const char **vec = NULL; in do_control() local [all …]
|
| A D | watch.c | 206 const char *vec[2]; in do_watch() local 209 if (get_strings(in, vec, ARRAY_SIZE(vec)) != ARRAY_SIZE(vec)) in do_watch() 212 errno = check_watch_path(conn, ctx, &(vec[0]), &relative); in do_watch() 218 if (streq(watch->node, vec[0]) && in do_watch() 219 streq(watch->token, vec[1])) in do_watch() 226 watch = add_watch(conn, vec[0], vec[1], relative, false); in do_watch() 248 const char *vec[2]; in do_unwatch() local 250 if (get_strings(in, vec, ARRAY_SIZE(vec)) != ARRAY_SIZE(vec)) in do_unwatch() 253 node = canonicalize(conn, ctx, vec[0], true); in do_unwatch() 257 if (streq(watch->node, node) && streq(watch->token, vec[1])) { in do_unwatch()
|
| A D | lu_minios.c | 89 const char *lu_arch(const void *ctx, struct connection *conn, const char **vec, in lu_arch() argument 92 if (num == 2 && !strcmp(vec[0], "-b")) in lu_arch() 93 return lu_binary_alloc(ctx, conn, atol(vec[1])); in lu_arch() 94 if (num > 2 && !strcmp(vec[0], "-d")) in lu_arch() 95 return lu_binary_save(ctx, conn, atoi(vec[1]), vec[2]); in lu_arch()
|
| A D | lu_daemon.c | 50 const char *lu_arch(const void *ctx, struct connection *conn, const char **vec, in lu_arch() argument 53 if (num == 2 && !strcmp(vec[0], "-f")) in lu_arch() 54 return lu_binary(ctx, conn, vec[1]); in lu_arch()
|
| A D | lu.c | 472 int do_control_lu(const void *ctx, struct connection *conn, const char **vec, in do_control_lu() argument 484 if (!strcmp(vec[0], "-a")) { in do_control_lu() 489 } else if (!strcmp(vec[0], "-c")) { in do_control_lu() 491 ret = lu_cmdline(ctx, conn, vec[1]); in do_control_lu() 494 } else if (!strcmp(vec[0], "-s")) { in do_control_lu() 496 if (!strcmp(vec[i], "-F")) { in do_control_lu() 498 } else if (!strcmp(vec[i], "-t") && i < num - 1) { in do_control_lu() 500 to = atoi(vec[i]); in do_control_lu() 501 } else if (!strcmp(vec[i], "-v") && i < num - 1) { in do_control_lu() 503 vers = atoi(vec[i]); in do_control_lu() [all …]
|
| A D | lu.h | 42 int do_control_lu(const void *ctx, struct connection *conn, const char **vec, 47 const char *lu_arch(const void *ctx, struct connection *conn, const char **vec,
|
| A D | domain.c | 1073 const char *vec[3]; in do_introduce() local 1077 if (get_strings(in, vec, ARRAY_SIZE(vec)) < ARRAY_SIZE(vec)) in do_introduce() 1080 domid = atoi(vec[0]); in do_introduce() 1082 port = atoi(vec[2]); in do_introduce() 1121 const char *vec[2]; in do_set_target() local 1124 if (get_strings(in, vec, ARRAY_SIZE(vec)) < ARRAY_SIZE(vec)) in do_set_target() 1127 domid = atoi(vec[0]); in do_set_target() 1252 const char *vec[1]; in do_get_feature() local 1259 n_args = get_strings(in, vec, ARRAY_SIZE(vec)); in do_get_feature() 1284 const char *vec[2]; in do_set_feature() local [all …]
|
| A D | core.c | 1035 const char *vec[], unsigned int num) in get_strings() argument 1042 vec[i] = data->buffer + off; in get_strings() 1589 const char *vec[1] = { NULL }; /* gcc4 + -W + -Werror fucks code. */ in do_write() local 1593 if (get_strings(in, vec, ARRAY_SIZE(vec)) < ARRAY_SIZE(vec)) in do_write() 1596 offset = strlen(vec[0]) + 1; in do_write() 1599 node = get_node(conn, ctx, vec[0], &name, XS_PERM_WRITE, false); in do_write()
|
| A D | core.h | 239 const char *vec[], unsigned int num);
|
| /tools/ocaml/libs/xs/ |
| A D | xst.ml | 34 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 D | xs.ml | 48 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 D | xsraw.ml | 189 let readv tid dir vec con = 192 (List.map (fun v -> dir ^ "/" ^ v) vec) else vec) 236 let writev tid dir vec con = 240 write tid path value con) vec 257 let setpermsv tid dir vec perms con = 261 setperms tid path perms con) vec
|
| /tools/tests/x86_emulator/ |
| A D | Makefile | 134 $(foreach vec,$($(1)-vecs), \ 145 $(foreach vec,$($(1)-vecs), \ 153 $(1)-cflags := $(foreach vec,$($(patsubst %-aes,sse,$(1))-vecs) $($(patsubst %-vaes,%,$(1))-vecs), \ 157 $(1)-cflags := $(foreach vec,$($(patsubst %-pclmul,sse,$(1))-vecs) $($(patsubst %-vpclmulqdq,%,$(1)… 161 $(1)-cflags := $(foreach vec,$(sse-vecs), \ 165 $(1)-cflags := $(foreach vec,$($(1:-gf=)-vecs), \ 169 $(1)-opmask-cflags := $(foreach vec,$($(1)-opmask-vecs), "-D_$(vec) -m$(1) -Os -DSIZE=$(vec)")
|
| /tools/xenpaging/ |
| A D | xenpaging.c | 76 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()
|
| /tools/xs-clients/ |
| A D | xenstore_client.c | 430 char **vec = NULL; in do_watch() local 435 vec = xs_read_watch(xsh, &num); in do_watch() 436 if (vec == NULL) in do_watch() 439 printf("%s\n", vec[XS_WATCH_PATH]); in do_watch() 441 free(vec); in do_watch()
|
| /tools/xentrace/ |
| A D | xenalyze.c | 3421 if(vla->outstanding.list[i].valid && vla->outstanding.list[i].vec == vec) in find_vec() 3430 o->vec = vec; in find_vec() 3476 o->vec, in ipi_send() 4363 unsigned vec, ec; in hvm_inj_exc_process() member 4409 vec = 0; in hvm_intr_process() 4420 h->inflight.intr.vec = vec; in hvm_intr_process() 4429 vec); in hvm_intr_process() 8529 int irq, vec; in irq_process() member 8574 int irq, vec; in irq_process() member 8626 int vec; in irq_process() member [all …]
|
| /tools/console/daemon/ |
| A D | io.c | 1139 char **vec; in handle_xs() local 1144 vec = xs_read_watch(xs, &num); in handle_xs() 1145 if (!vec) in handle_xs() 1148 if (!strcmp(vec[XS_WATCH_TOKEN], "domlist")) in handle_xs() 1150 else if (sscanf(vec[XS_WATCH_TOKEN], "dom%u", &domid) == 1) { in handle_xs() 1158 free(vec); in handle_xs()
|