Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 113) sorted by relevance

12345

/xen-4.10.0-shim-comet/xen/arch/x86/
A Dhypercall.c97 va_list args; in hypercall_create_continuation() local
101 va_start(args, format); in hypercall_create_continuation()
106 mcs->call.args[i] = next_arg(p, args); in hypercall_create_continuation()
118 arg = next_arg(p, args); in hypercall_create_continuation()
134 arg = next_arg(p, args); in hypercall_create_continuation()
148 va_end(args); in hypercall_create_continuation()
161 va_list args; in hypercall_xlat_continuation() local
168 va_start(args, mask); in hypercall_xlat_continuation()
174 va_end(args); in hypercall_xlat_continuation()
200 BUG_ON(mcs->call.args[i] != (unsigned int)mcs->call.args[i]); in hypercall_xlat_continuation()
[all …]
/xen-4.10.0-shim-comet/tools/flask/utils/
A Dsetenforce.c20 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 Dgetenforce.c20 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 Dloadpolicy.c23 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-4.10.0-shim-comet/xen/drivers/acpi/utilities/
A Dutmisc.c139 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-4.10.0-shim-comet/tools/libxl/
A Dlibxl_freebsd.c113 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 Dlibxl_qmp.c530 if (args) { in qmp_send_prepare()
833 libxl__json_object *args = NULL; in libxl__qmp_run_command_flexarray() local
849 libxl__json_object *args = NULL; in libxl__qmp_pci_add() local
896 libxl__json_object *args = NULL; in qmp_device_del() local
918 libxl__json_object *args = NULL; in libxl__qmp_save() local
927 libxl__json_object *args = NULL; in libxl__qmp_restore() local
938 libxl__json_object *args = NULL; in qmp_change() local
965 libxl__json_object *args = NULL; in libxl__qmp_set_global_dirty_log() local
976 libxl__json_object *args = NULL; in libxl__qmp_insert_cdrom() local
991 libxl__json_object *args = NULL; in libxl__qmp_cpu_add() local
[all …]
A Dlibxl_netbsd.c35 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 Dlibxl_linux.c99 char ***args, char ***env, in libxl__hotplug_nic() argument
134 GCNEW_ARRAY(*args, arraysize); in libxl__hotplug_nic()
135 (*args)[nr++] = script; in libxl__hotplug_nic()
139 (*args)[nr++] = "type_if=tap"; in libxl__hotplug_nic()
140 (*args)[nr++] = NULL; in libxl__hotplug_nic()
144 (*args)[nr++] = "type_if=vif"; in libxl__hotplug_nic()
145 (*args)[nr++] = NULL; in libxl__hotplug_nic()
155 char ***args, char ***env, in libxl__hotplug_disk() argument
179 GCNEW_ARRAY(*args, arraysize); in libxl__hotplug_disk()
180 (*args)[nr++] = script; in libxl__hotplug_disk()
[all …]
A Dlibxl_colo_nic.c89 char **env = NULL, **args = NULL; in setup_async_exec() local
119 GCNEW_ARRAY(args, arraysize); in setup_async_exec()
120 args[nr++] = colo_proxy_script; in setup_async_exec()
121 args[nr++] = op; in setup_async_exec()
122 args[nr++] = NULL; in setup_async_exec()
126 aes->what = GCSPRINTF("%s %s", args[0], args[1]); in setup_async_exec()
128 aes->args = args; in setup_async_exec()
217 aes->args[0], vif, hotplug_error); in colo_save_setup_script_cb()
/xen-4.10.0-shim-comet/tools/python/xen/lowlevel/xc/
A Dxc.c180 return dom_op(self, args, xc_domain_pause); in pyxc_domain_pause()
185 return dom_op(self, args, xc_domain_unpause); in pyxc_domain_unpause()
196 return dom_op(self, args, xc_domain_destroy); in pyxc_domain_destroy()
719 if ( !PyArg_ParseTuple(args, "i", &domid) ) in pyxc_dom_set_policy_cpuid()
755 PyObject *args, in pyxc_dom_set_machine_address_size() argument
771 PyObject *args, in pyxc_dom_suppress_spurious_page_faults() argument
776 if (!PyArg_ParseTuple(args, "i", &dom)) in pyxc_dom_suppress_spurious_page_faults()
788 PyObject *args, in pyxc_gnttab_hvm_seed() argument
947 if (!PyArg_ParseTuple(args, "l", &pages)) in pyxc_pages_to_kib()
1536 if (!PyArg_ParseTuple(args, "i", &dom)) in pyxc_domain_disable_migrate()
[all …]
/xen-4.10.0-shim-comet/xen/common/
A Dvsprintf.c671 va_list args; in snprintf() local
674 va_start(args, fmt); in snprintf()
676 va_end(args); in snprintf()
696 va_list args; in scnprintf() local
699 va_start(args, fmt); in scnprintf()
701 va_end(args); in scnprintf()
726 va_copy(args_copy, args); in vasprintf()
753 va_list args; in asprintf() local
756 va_start(args, fmt); in asprintf()
757 i=vasprintf(bufp,fmt,args); in asprintf()
[all …]
/xen-4.10.0-shim-comet/tools/debugger/gdbsx/gx/
A Dxg_dummy.c34 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-4.10.0-shim-comet/xen/common/compat/
A Dmulticall.c19 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-4.10.0-shim-comet/tools/ocaml/libs/xentoollog/
A Dxentoollog_stubs.c91 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-4.10.0-shim-comet/tools/python/xen/lowlevel/xs/
A Dxs.c100 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()
559 if (!PyArg_ParseTuple(args, "sO", &path, &token)) in xspy_unwatch()
706 if (!PyArg_ParseTuple(args, "ii", &dom, &target)) in xspy_set_target()
734 if (!PyArg_ParseTuple(args, "i", &dom)) in xspy_resume_domain()
762 if (!PyArg_ParseTuple(args, "i", &dom)) in xspy_release_domain()
817 if (!PyArg_ParseTuple(args, "i", &domid)) in xspy_get_domain_path()
[all …]
/xen-4.10.0-shim-comet/xen/common/libelf/
A Dlibelf-private.h28 #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-4.10.0-shim-comet/stubdom/vtpmmgr/
A Dlog.h69 #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-4.10.0-shim-comet/xen/arch/x86/pv/
A Dhypercall.c134 unsigned long args[6] = { rdi, rsi, rdx, r10, r8, r9 }; in pv_hypercall() local
136 __trace_hypercall(TRC_PV_HYPERCALL_V2, eax, args); in pv_hypercall()
181 unsigned long args[6] = { ebx, ecx, edx, esi, edi, ebp }; in pv_hypercall() local
183 __trace_hypercall(TRC_PV_HYPERCALL_V2, eax, args); in pv_hypercall()
231 call->args[0], call->args[1], call->args[2], in arch_do_multicall_call()
232 call->args[3], call->args[4], call->args[5]); in arch_do_multicall_call()
245 call->args[0], call->args[1], call->args[2], in arch_do_multicall_call()
246 call->args[3], call->args[4], call->args[5]); in arch_do_multicall_call()
/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_core.c342 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
724 sts = dump_rtn(xch, args, (char*)&ehdr, sizeof(ehdr)); in xc_domain_dumpcore_via_callback()
729 sts = dump_rtn(xch, args, (char*)sheaders->shdrs, in xc_domain_dumpcore_via_callback()
735 sts = elfnote_dump_none(xch, args, dump_rtn); in xc_domain_dumpcore_via_callback()
750 sts = elfnote_dump_format_version(xch, args, dump_rtn); in xc_domain_dumpcore_via_callback()
774 sts = dump_rtn(xch, args, dummy, dummy_len); in xc_domain_dumpcore_via_callback()
[all …]
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Ddm.c43 if ( buf_idx >= args->nr_bufs ) in _raw_copy_from_guest_buf_offset()
64 if ( buf_idx >= args->nr_bufs ) in _raw_copy_to_guest_buf_offset()
677 struct dmop_args args; in compat_dm_op() local
684 args.domid = domid; in compat_dm_op()
685 args.nr_bufs = nr_bufs; in compat_dm_op()
702 rc = dm_op(&args); in compat_dm_op()
715 struct dmop_args args; in do_dm_op() local
721 args.domid = domid; in do_dm_op()
722 args.nr_bufs = nr_bufs; in do_dm_op()
724 if ( copy_from_guest_offset(&args.buf[0], bufs, 0, args.nr_bufs) ) in do_dm_op()
[all …]
/xen-4.10.0-shim-comet/xen/include/xen/
A Dlib.h102 #define gprintk(lvl, fmt, args...) \ argument
103 printk(XENLOG_GUEST lvl "%pv " fmt, current, ## args)
117 #define dprintk(lvl, fmt, args...) \ argument
118 printk(lvl "%s:%d: " fmt, __FILE__, __LINE__, ## args)
119 #define gdprintk(lvl, fmt, args...) \ argument
121 __FILE__, __LINE__, current, ## args)
130 extern int vsnprintf(char *buf, size_t size, const char *fmt, va_list args)
134 extern int vscnprintf(char *buf, size_t size, const char *fmt, va_list args)
138 extern int vasprintf(char ** bufp, const char * fmt, va_list args)
/xen-4.10.0-shim-comet/tools/pygrub/src/fsimage/
A Dfsimage.c54 fsimage_file_read(fsimage_file_t *file, PyObject *args, PyObject *kwargs) in fsimage_file_read() argument
63 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|iL", kwlist, in fsimage_file_read()
159 fsimage_fs_open_file(fsimage_fs_t *fs, PyObject *args, PyObject *kwargs) in fsimage_fs_open_file() argument
165 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s", kwlist, &name)) in fsimage_fs_open_file()
187 fsimage_fs_file_exists(fsimage_fs_t *fs, PyObject *args, PyObject *kwargs) in fsimage_fs_file_exists() argument
192 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s", kwlist, &name)) in fsimage_fs_file_exists()
261 fsimage_open(PyObject *o, PyObject *args, PyObject *kwargs) in fsimage_open() argument
269 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s|Ls", kwlist, in fsimage_open()
285 fsimage_getbootstring(PyObject *o, PyObject *args) in fsimage_getbootstring() argument
291 if (!PyArg_ParseTuple(args, "O", &fs)) in fsimage_getbootstring()
/xen-4.10.0-shim-comet/tools/xenstore/
A Dutils.c15 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-4.10.0-shim-comet/xen/xsm/flask/ss/
A Dsidtab.h41 int (*apply) (u32 sid, struct context *context, void *args), void *args);
44 int (*apply) (u32 sid, struct context *context, void *args), void *args);

Completed in 47 milliseconds

12345