/xen/xen/include/xen/ |
A D | init.h | 64 #define presmp_initcall(fn) \ argument 65 const static initcall_t __initcall_##fn __init_call("presmp") = fn 66 #define __initcall(fn) \ argument 67 const static initcall_t __initcall_##fn __init_call("1") = fn 68 #define __exitcall(fn) \ argument 69 static exitcall_t __exitcall_##fn __exit_call = fn
|
A D | keyhandler.h | 40 keyhandler_fn_t *fn, 44 irq_keyhandler_fn_t *fn,
|
A D | pv_console.h | 9 void pv_console_set_rx_handler(serial_rx_fn fn); 18 static inline void pv_console_set_rx_handler(serial_rx_fn fn) { } in pv_console_set_rx_handler() argument
|
/xen/xen/arch/x86/ |
A D | compat.c | 20 typeof(do_physdev_op) *fn = in do_physdev_op_compat() 27 return fn(op.cmd, guest_handle_from_ptr(&uop.p->u, void)); in do_physdev_op_compat() 35 typeof(do_sched_op) *fn = in do_sched_op_compat() 42 return fn(cmd, guest_handle_from_ptr(NULL, void)); in do_sched_op_compat() 60 typeof(do_event_channel_op) *fn = in do_event_channel_op_compat() 79 return fn(op.cmd, guest_handle_from_ptr(&uop.p->u, void)); in do_event_channel_op_compat()
|
/xen/xen/include/asm-x86/ |
A D | current.h | 158 #define switch_stack_and_jump(fn, instr, constr) \ argument 169 [fun] constr (fn), \ 179 #define reset_stack_and_jump(fn) \ argument 180 switch_stack_and_jump(fn, "jmp %c", "i") 183 #define reset_stack_and_jump_ind(fn) \ argument 184 switch_stack_and_jump(fn, "INDIRECT_JMP %", "b")
|
A D | iommu.h | 64 # define iommu_call(ops, fn, args...) ({ \ argument 66 alternative_call(iommu_ops.fn, ## args); \ 69 # define iommu_vcall(ops, fn, args...) ({ \ argument 71 alternative_vcall(iommu_ops.fn, ## args); \
|
/xen/xen/include/asm-arm/ |
A D | current.h | 46 #define switch_stack_and_jump(stack, fn) \ argument 47 asm volatile ("mov sp,%0; b " STR(fn) : : "r" (stack) : "memory" ) 49 #define reset_stack_and_jump(fn) switch_stack_and_jump(get_cpu_info(), fn) argument
|
A D | vreg.h | 13 vreg_reg32_fn_t fn) in vreg_emulate_cp32() argument 27 ret = fn(regs, &r, cp32.read); in vreg_emulate_cp32() 36 vreg_reg64_fn_t fn) in vreg_emulate_cp64() argument 55 ret = fn(regs, &x, cp64.read); in vreg_emulate_cp64() 68 vreg_reg32_fn_t fn) in vreg_emulate_sysreg32() argument 77 ret = fn(regs, &r, sysreg.read); in vreg_emulate_sysreg32() 86 vreg_reg64_fn_t fn) in vreg_emulate_sysreg64() argument 100 ret = fn(regs, &x, sysreg.read); in vreg_emulate_sysreg64()
|
/xen/xen/tools/kconfig/ |
A D | expr.c | 1137 fn(data, NULL, "y"); in expr_print() 1142 fn(data, NULL, "("); in expr_print() 1151 fn(data, NULL, "!"); in expr_print() 1159 fn(data, NULL, "="); in expr_print() 1185 fn(data, NULL, "!="); in expr_print() 1206 fn(data, NULL, "["); in expr_print() 1208 fn(data, NULL, " "); in expr_print() 1210 fn(data, NULL, "]"); in expr_print() 1216 fn(data, NULL, buf); in expr_print() 1221 fn(data, NULL, ")"); in expr_print() [all …]
|
A D | lkc_proto.h | 12 void conf_set_changed_callback(void (*fn)(void)); 13 void conf_set_message_callback(void (*fn)(const char *s)); 65 void expr_print(struct expr *e, void (*fn)(void *, struct symbol *, const char *), void *data, int …
|
/xen/xen/common/ |
A D | stop_machine.c | 49 int (*fn)(void *); member 76 int stop_machine_run(int (*fn)(void *), void *data, unsigned int cpu) in stop_machine_run() 100 stopmachine_data.fn = fn; in stop_machine_run() 125 ret = (*fn)(data); in stop_machine_run() 168 int ret = stopmachine_data.fn(stopmachine_data.fn_data); in stopmachine_action()
|
A D | keyhandler.c | 34 keyhandler_fn_t *fn; member 85 if ( key >= ARRAY_SIZE(key_table) || !(h = &key_table[key])->fn ) in handle_keypress() 91 h->irq_callback ? h->irq_fn(key, regs) : h->fn(key); in handle_keypress() 101 void register_keyhandler(unsigned char key, keyhandler_fn_t fn, in register_keyhandler() argument 105 ASSERT(!key_table[key].fn); /* Clobbering something else? */ in register_keyhandler() 107 key_table[key].fn = fn; in register_keyhandler() 113 void register_irq_keyhandler(unsigned char key, irq_keyhandler_fn_t fn, in register_irq_keyhandler() argument 119 key_table[key].irq_fn = fn; in register_irq_keyhandler() 131 if ( key_table[i].fn ) in show_handlers() 447 if ( !h->fn || !h->diagnostic || h->irq_callback ) in run_all_nonirq_keyhandlers() [all …]
|
/xen/tools/debugger/gdbsx/gx/ |
A D | xg_dummy.c | 31 xgtrc(const char *fn, const char *fmt, ...) in xgtrc() argument 36 fprintf(stderr, "%s:", fn); in xgtrc() 45 xgprt(const char *fn, const char *fmt, ...) in xgprt() argument 50 fprintf(stderr, "%s:", fn); in xgprt()
|
/xen/tools/flask/utils/ |
A D | label-pci.c | 39 int seg, bus, dev, fn; in main() local 57 sscanf(argv[1], "%x:%x:%x.%d", &seg, &bus, &dev, &fn); in main() 58 sbdf = (seg << 16) | (bus << 8) | (dev << 3) | fn; in main() 61 seg, bus, dev, fn); in main() 103 seg, bus, dev, fn); in main()
|
/xen/tools/firmware/rombios/32bit/ |
A D | 32bitbios.c | 30 #define X(idx, ret, fn, args...) " .long "#fn"\n" argument
|
/xen/tools/ocaml/test/ |
A D | raise_exception.ml | 6 with Xenlight.Error(err, fn) -> begin 7 printf "Caught Exception: %s: %s\n" (Xenlight.string_of_error err) fn;
|
/xen/xen/drivers/char/ |
A D | serial.c | 49 serial_rx_fn fn = NULL; in serial_rx_interrupt() local 57 fn = port->rx; in serial_rx_interrupt() 59 fn = port->rx_hi; in serial_rx_interrupt() 61 fn = port->rx_lo; in serial_rx_interrupt() 68 if ( fn != NULL ) in serial_rx_interrupt() 69 (*fn)(c & 0x7f, regs); in serial_rx_interrupt() 359 void __init serial_set_rx_handler(int handle, serial_rx_fn fn) in serial_set_rx_handler() argument 378 port->rx_lo = fn; in serial_set_rx_handler() 384 port->rx_hi = fn; in serial_set_rx_handler() 390 port->rx = fn; in serial_set_rx_handler()
|
/xen/xen/common/compat/ |
A D | kernel.c | 40 #define DO(fn) int compat_##fn argument
|
/xen/tools/misc/ |
A D | xencov.c | 44 static void cov_read(const char *fn) in cov_read() argument 68 if (!strcmp(fn, "-")) in cov_read() 71 f = fopen(fn, "w"); in cov_read()
|
A D | xencov_split | 36 fn, = struct.unpack_from(fmt, content) 51 dir = opts.output_dir + path.dirname(fn) 60 full_path = dir + '/' + path.basename(fn)
|
/xen/stubdom/vtpmmgr/ |
A D | manage-vtpmmgr.pl | 154 my $fn = $main::{"cmd_$cmd"}; 155 if ($fn) { 156 $fn->(@ARGV);
|
/xen/tools/xenpaging/ |
A D | file_ops.c | 26 ssize_t (*fn)(int, void *, size_t)) in file_op() 38 bytes = fn(fd, page + total, PAGE_SIZE - total); in file_op()
|
/xen/tools/libxc/ |
A D | xc_dom_decompress_unsafe.c | 30 decompress_fn fn, struct xc_dom_image *dom, void **blob, size_t *size) in xc_dom_decompress_unsafe() argument 38 ret = fn(dom->kernel_blob, dom->kernel_size, NULL, unsafe_flush, NULL, NULL, unsafe_error); in xc_dom_decompress_unsafe()
|
/xen/tools/ocaml/libs/xl/ |
A D | genwrap.py | 286 _,fn,_ = builtins[ty.typename] 287 if not fn: 289 s += "%s;" % (fn % { "o": o, "c": c }) 383 _,_,fn = builtins[ty.typename] 384 if not fn: 386 s += "%s = %s;" % (o, fn % { "c": c }) 437 fn = "anon_field" 439 fn = "%s_field" % ty.rawname 440 s += "\tCAMLlocal1(%s);\n" % fn 452 s += "\t%s\n" % ocaml_Val(f.type, fn, ty.pass_arg(fexpr, c), parent=nparent) [all …]
|
/xen/tools/pygrub/src/ |
A D | GrubConf.py | 171 def __init__(self, fn = None): argument 172 self.filename = fn 179 if fn is not None: 266 def __init__(self, fn = None): argument 267 _GrubConfigFile.__init__(self,fn) 365 def __init__(self, fn = None): argument 366 _GrubConfigFile.__init__(self, fn)
|