/xen/xen/arch/x86/ |
A D | hypercall.c | 107 va_list args; in hypercall_create_continuation() local 111 va_start(args, format); in hypercall_create_continuation() 116 mcs->call.args[i] = NEXT_ARG(p, args); in hypercall_create_continuation() 128 arg = NEXT_ARG(p, args); in hypercall_create_continuation() 158 va_end(args); in hypercall_create_continuation() 163 va_end(args); in hypercall_create_continuation() 187 va_list args; in hypercall_xlat_continuation() local 194 va_start(args, mask); in hypercall_xlat_continuation() 200 va_end(args); in hypercall_xlat_continuation() 226 BUG_ON(mcs->call.args[i] != (unsigned int)mcs->call.args[i]); in hypercall_xlat_continuation() [all …]
|
/xen/tools/flask/utils/ |
A D | setenforce.c | 20 static void usage (int argCnt, const char *args[]) in usage() argument 22 fprintf(stderr, "Usage: %s [ (Enforcing|1) | (Permissive|0) ]\n", args[0]); in usage() 26 int main (int argCnt, const char *args[]) in main() argument 34 usage(argCnt, args); in main() 45 if( strlen(args[1]) == 1 && (args[1][0] == '0' || args[1][0] == '1')){ in main() 46 mode = strtol(args[1], &end, 10); in main() 49 if( strcasecmp(args[1], "enforcing") == 0 ){ in main() 51 } else if( strcasecmp(args[1], "permissive") == 0 ){ in main() 54 usage(argCnt, args); in main()
|
A D | getenforce.c | 20 static void usage (int argCnt, const char *args[]) in usage() argument 22 fprintf(stderr, "Usage: %s\n", args[0]); in usage() 26 int main (int argCnt, const char *args[]) in main() argument 32 usage(argCnt, args); in main()
|
A D | loadpolicy.c | 23 static void usage (int argCnt, const char *args[]) in usage() argument 25 fprintf(stderr, "Usage: %s <policy.file>\n", args[0]); in usage() 29 int main (int argCnt, const char *args[]) in main() argument 40 usage(argCnt, args); in main() 42 polFName = args[1]; in main()
|
/xen/xen/drivers/acpi/utilities/ |
A D | utmisc.c | 139 va_list args; in acpi_ut_error() local 143 va_start(args, format); in acpi_ut_error() 144 acpi_os_vprintf(format, args); in acpi_ut_error() 146 va_end(args); in acpi_ut_error() 152 va_list args; in acpi_ut_warning() local 156 va_start(args, format); in acpi_ut_warning() 159 va_end(args); in acpi_ut_warning() 160 va_end(args); in acpi_ut_warning() 166 va_list args; in acpi_ut_info() local 174 va_start(args, format); in acpi_ut_info() [all …]
|
/xen/tools/libxl/ |
A D | libxl_freebsd.c | 113 char ***args, char ***env, in libxl__hotplug_nic() argument 153 GCNEW_ARRAY(*args, arraysize); in libxl__hotplug_nic() 154 (*args)[nr++] = script; in libxl__hotplug_nic() 155 (*args)[nr++] = be_path; in libxl__hotplug_nic() 157 (*args)[nr++] = NULL; in libxl__hotplug_nic() 166 char ***args, char ***env, in libxl__hotplug_disk() argument 183 GCNEW_ARRAY(*args, arraysize); in libxl__hotplug_disk() 184 (*args)[nr++] = script; in libxl__hotplug_disk() 185 (*args)[nr++] = be_path; in libxl__hotplug_disk() 187 (*args)[nr++] = NULL; in libxl__hotplug_disk() [all …]
|
A D | libxl_netbsd.c | 35 static int libxl__hotplug(libxl__gc *gc, libxl__device *dev, char ***args, in libxl__hotplug() argument 51 GCNEW_ARRAY(*args, arraysize); in libxl__hotplug() 52 (*args)[nr++] = script; in libxl__hotplug() 53 (*args)[nr++] = be_path; in libxl__hotplug() 54 (*args)[nr++] = GCSPRINTF("%d", action == LIBXL__DEVICE_ACTION_ADD ? in libxl__hotplug() 56 (*args)[nr++] = NULL; in libxl__hotplug() 64 char ***args, char ***env, in libxl__get_hotplug_script_info() argument 78 rc = libxl__hotplug(gc, dev, args, action); in libxl__get_hotplug_script_info() 96 rc = libxl__hotplug(gc, dev, args, action); in libxl__get_hotplug_script_info()
|
A D | libxl_linux.c | 108 char ***args, char ***env, in libxl__hotplug_nic() argument 143 GCNEW_ARRAY(*args, arraysize); in libxl__hotplug_nic() 144 (*args)[nr++] = script; in libxl__hotplug_nic() 148 (*args)[nr++] = "type_if=tap"; in libxl__hotplug_nic() 149 (*args)[nr++] = NULL; in libxl__hotplug_nic() 153 (*args)[nr++] = "type_if=vif"; in libxl__hotplug_nic() 154 (*args)[nr++] = NULL; in libxl__hotplug_nic() 164 char ***args, char ***env, in libxl__hotplug_disk() argument 188 GCNEW_ARRAY(*args, arraysize); in libxl__hotplug_disk() 189 (*args)[nr++] = script; in libxl__hotplug_disk() [all …]
|
A D | libxl_qmp.c | 506 if (args) { in qmp_prepare_cmd() 508 libxl__json_object_to_yajl_gen(gc, hand, args); in qmp_prepare_cmd() 757 libxl__json_object *args = NULL; in libxl__qmp_restore() local 773 libxl__json_object *args = NULL; in libxl__qmp_nbd_server_start() local 798 libxl__json_object *args = NULL; in libxl__qmp_nbd_server_add() local 808 libxl__json_object *args = NULL; in libxl__qmp_start_replication() local 830 libxl__json_object *args = NULL; in libxl__qmp_stop_replication() local 846 libxl__json_object *args = NULL; in libxl__qmp_x_blockdev_change() local 887 libxl__json_object *args = NULL; in libxl__qmp_hmp() local 911 libxl__json_object *args = NULL; in libxl_qemu_monitor_command() local [all …]
|
A D | libxl_colo_nic.c | 90 char **env = NULL, **args = NULL; in setup_async_exec() local 120 GCNEW_ARRAY(args, arraysize); in setup_async_exec() 121 args[nr++] = colo_proxy_script; in setup_async_exec() 122 args[nr++] = op; in setup_async_exec() 123 args[nr++] = NULL; in setup_async_exec() 127 aes->what = GCSPRINTF("%s %s", args[0], args[1]); in setup_async_exec() 129 aes->args = args; in setup_async_exec() 218 aes->args[0], vif, hotplug_error); in colo_save_setup_script_cb()
|
/xen/tools/python/xen/lowlevel/xc/ |
A D | xc.c | 116 PyObject *args, in pyxc_domain_create() argument 186 if (!PyArg_ParseTuple(args, "ii", &dom, &max)) in pyxc_domain_max_vcpus() 198 return dom_op(self, args, xc_domain_pause); in pyxc_domain_pause() 203 return dom_op(self, args, xc_domain_unpause); in pyxc_domain_unpause() 214 return dom_op(self, args, xc_domain_destroy); in pyxc_domain_destroy() 698 PyObject *args, in pyxc_gnttab_hvm_seed() argument 857 if (!PyArg_ParseTuple(args, "l", &pages)) in pyxc_pages_to_kib() 1274 if( !PyArg_ParseTuple(args, "I", &domid) ) in pyxc_sched_credit_domain_get() 1317 if( !PyArg_ParseTuple(args, "I", &domid) ) in pyxc_sched_credit2_domain_get() 1476 if (!PyArg_ParseTuple(args, "i", &dom)) in pyxc_domain_disable_migrate() [all …]
|
/xen/tools/debugger/gdbsx/gx/ |
A D | xg_dummy.c | 34 va_list args; in xgtrc() local 37 va_start(args, fmt); in xgtrc() 38 (void)vsnprintf(buf, sizeof(buf), fmt, args); in xgtrc() 39 va_end(args); in xgtrc() 48 va_list args; in xgprt() local 51 va_start(args, fmt); in xgprt() 52 (void)vsnprintf(buf, sizeof(buf), fmt, args); in xgprt() 53 va_end(args); in xgprt()
|
/xen/tools/ocaml/libs/xentoollog/ |
A D | xentoollog_stubs.c | 91 CAMLlocalN(args, 4); in stub_xtl_ocaml_vmessage() 102 args[0] = Val_level(level); in stub_xtl_ocaml_vmessage() 103 args[1] = Val_errno(errnoval); in stub_xtl_ocaml_vmessage() 104 args[2] = Val_context(context); in stub_xtl_ocaml_vmessage() 105 args[3] = caml_copy_string(msg); in stub_xtl_ocaml_vmessage() 109 caml_callbackN(*func, 4, args); in stub_xtl_ocaml_vmessage() 121 CAMLlocalN(args, 5); in stub_xtl_ocaml_progress() 129 args[0] = Val_context(context); in stub_xtl_ocaml_progress() 131 args[2] = Val_int(percent); in stub_xtl_ocaml_progress() 132 args[3] = caml_copy_int64(done); in stub_xtl_ocaml_progress() [all …]
|
/xen/xen/common/compat/ |
A D | multicall.c | 19 mcs->compat_call.args[i] = mcs->call.args[i]; in xlat_multicall_entry() 33 xen_ulong_t args[6]; in __trace_multicall_call() local 36 for ( i = 0; i < ARRAY_SIZE(args); i++ ) in __trace_multicall_call() 37 args[i] = call->args[i]; in __trace_multicall_call() 39 __trace_hypercall(TRC_PV_HYPERCALL_SUBCALL, call->op, args); in __trace_multicall_call()
|
/xen/xen/common/ |
A D | vsprintf.c | 806 va_list args; in snprintf() local 809 va_start(args, fmt); in snprintf() 811 va_end(args); in snprintf() 831 va_list args; in scnprintf() local 834 va_start(args, fmt); in scnprintf() 836 va_end(args); in scnprintf() 861 va_copy(args_copy, args); in vasprintf() 888 va_list args; in asprintf() local 891 va_start(args, fmt); in asprintf() 892 i=vasprintf(bufp,fmt,args); in asprintf() [all …]
|
/xen/tools/python/xen/lowlevel/xs/ |
A D | xs.c | 100 static PyObject *xspy_read(XsHandle *self, PyObject *args) in xspy_read() argument 172 static PyObject *xspy_ls(XsHandle *self, PyObject *args) in xspy_ls() argument 243 static PyObject *xspy_rm(XsHandle *self, PyObject *args) in xspy_rm() argument 286 if (!PyArg_ParseTuple(args, arg_spec, &thstr, &path)) in xspy_get_permissions() 429 if (!PyArg_ParseTuple(args, "sO", &path, &token)) in xspy_watch() 560 if (!PyArg_ParseTuple(args, "sO", &path, &token)) in xspy_unwatch() 707 if (!PyArg_ParseTuple(args, "ii", &dom, &target)) in xspy_set_target() 735 if (!PyArg_ParseTuple(args, "i", &dom)) in xspy_resume_domain() 763 if (!PyArg_ParseTuple(args, "i", &dom)) in xspy_release_domain() 818 if (!PyArg_ParseTuple(args, "i", &domid)) in xspy_get_domain_path() [all …]
|
/xen/xen/common/libelf/ |
A D | libelf-private.h | 28 #define elf_msg(elf, fmt, args ... ) \ argument 29 if (elf->verbose) printk(fmt, ## args ) 30 #define elf_err(elf, fmt, args ... ) \ argument 31 printk(fmt, ## args ) 80 #define elf_msg(elf, fmt, args ... ) \ argument 81 elf_call_log_callback(elf, 0, fmt , ## args ); 82 #define elf_err(elf, fmt, args ... ) \ argument 83 elf_call_log_callback(elf, 1, fmt , ## args );
|
/xen/xen/include/xen/ |
A D | lib.h | 13 #define count_args(args...) \ argument 14 count_args_(., ## args, 8, 7, 6, 5, 4, 3, 2, 1, 0) 112 #define printk_once(fmt, args...) \ argument 118 printk(fmt, ## args); \ 129 #define gprintk(lvl, fmt, args...) \ argument 130 printk(XENLOG_GUEST lvl "%pv " fmt, current, ## args) 144 #define dprintk(lvl, fmt, args...) \ argument 145 printk(lvl "%s:%d: " fmt, __FILE__, __LINE__, ## args) 146 #define gdprintk(lvl, fmt, args...) \ argument 148 __FILE__, __LINE__, current, ## args) [all …]
|
/xen/xen/arch/x86/pv/ |
A D | hypercall.c | 150 unsigned long args[6] = { rdi, rsi, rdx, r10, r8, r9 }; in pv_hypercall() local 152 __trace_hypercall(TRC_PV_HYPERCALL_V2, eax, args); in pv_hypercall() 197 unsigned long args[6] = { ebx, ecx, edx, esi, edi, ebp }; in pv_hypercall() local 199 __trace_hypercall(TRC_PV_HYPERCALL_V2, eax, args); in pv_hypercall() 247 call->args[0], call->args[1], call->args[2], in arch_do_multicall_call() 248 call->args[3], call->args[4], call->args[5]); in arch_do_multicall_call() 261 call->args[0], call->args[1], call->args[2], in arch_do_multicall_call() 262 call->args[3], call->args[4], call->args[5]); in arch_do_multicall_call()
|
/xen/stubdom/vtpmmgr/ |
A D | log.h | 69 #define vtpmloginfo(module, fmt, args...) \ argument 71 printk("INFO[%s]: " fmt, module_names[module], ##args); \ 74 #define vtpmloginfomore(module, fmt, args...) \ argument 76 printk(fmt,##args); \ 79 #define vtpmlogerror(module, fmt, args...) \ argument 80 printk("ERROR[%s]: " fmt, module_names[module], ##args);
|
/xen/tools/libxc/ |
A D | xc_core.c | 342 sts = dump_rtn(xch, args, (char*)&elfnote, sizeof(elfnote)); in elfnote_dump_none() 345 return dump_rtn(xch, args, (char*)&none, sizeof(none)); in elfnote_dump_none() 370 return dump_rtn(xch, args, (char*)&header, sizeof(header)); in elfnote_dump_core_header() 374 elfnote_dump_xen_version(xc_interface *xch, void *args, in elfnote_dump_xen_version() argument 422 void *args, in xc_domain_dumpcore_via_callback() argument 752 sts = dump_rtn(xch, args, (char*)&ehdr, sizeof(ehdr)); in xc_domain_dumpcore_via_callback() 757 sts = dump_rtn(xch, args, (char*)sheaders->shdrs, in xc_domain_dumpcore_via_callback() 763 sts = elfnote_dump_none(xch, args, dump_rtn); in xc_domain_dumpcore_via_callback() 778 sts = elfnote_dump_format_version(xch, args, dump_rtn); in xc_domain_dumpcore_via_callback() 802 sts = dump_rtn(xch, args, dummy, dummy_len); in xc_domain_dumpcore_via_callback() [all …]
|
/xen/tools/pygrub/src/fsimage/ |
A D | fsimage.c | 41 fsimage_file_read(fsimage_file_t *file, PyObject *args, PyObject *kwargs) in fsimage_file_read() argument 50 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|iL", kwlist, in fsimage_file_read() 157 fsimage_fs_open_file(fsimage_fs_t *fs, PyObject *args, PyObject *kwargs) in fsimage_fs_open_file() argument 163 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s", kwlist, &name)) in fsimage_fs_open_file() 185 fsimage_fs_file_exists(fsimage_fs_t *fs, PyObject *args, PyObject *kwargs) in fsimage_fs_file_exists() argument 190 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s", kwlist, &name)) in fsimage_fs_file_exists() 250 fsimage_open(PyObject *o, PyObject *args, PyObject *kwargs) in fsimage_open() argument 258 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s|Ls", kwlist, in fsimage_open() 274 fsimage_getbootstring(PyObject *o, PyObject *args) in fsimage_getbootstring() argument 280 if (!PyArg_ParseTuple(args, "O", &fs)) in fsimage_getbootstring()
|
/xen/tools/xenstore/ |
A D | utils.c | 15 va_list args; in default_xprintf() local 17 va_start(args, fmt); in default_xprintf() 18 vfprintf(stderr, fmt, args); in default_xprintf() 19 va_end(args); in default_xprintf()
|
/xen/xen/arch/x86/hvm/ |
A D | dm.c | 47 if ( buf_idx >= args->nr_bufs ) in _raw_copy_from_guest_buf_offset() 50 buf_bytes = args->buf[buf_idx].size; in _raw_copy_from_guest_buf_offset() 741 struct dmop_args args; in compat_dm_op() local 748 args.domid = domid; in compat_dm_op() 749 args.nr_bufs = array_index_nospec(nr_bufs, ARRAY_SIZE(args.buf) + 1); in compat_dm_op() 766 rc = dm_op(&args); in compat_dm_op() 779 struct dmop_args args; in do_dm_op() local 785 args.domid = domid; in do_dm_op() 786 args.nr_bufs = array_index_nospec(nr_bufs, ARRAY_SIZE(args.buf) + 1); in do_dm_op() 788 if ( copy_from_guest_offset(&args.buf[0], bufs, 0, args.nr_bufs) ) in do_dm_op() [all …]
|
/xen/xen/xsm/flask/ss/ |
A D | sidtab.h | 41 int (*apply) (u32 sid, struct context *context, void *args), void *args); 44 int (*apply) (u32 sid, struct context *context, void *args), void *args);
|