Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 177) sorted by relevance

12345678

/xen/tools/hotplug/Linux/
A Dblock62 local mode="$3"
90 if [ "$mode" = 'w' ]
122 if [ "$mode" = 'w' ]
158 local mode=$(canonicalise_mode "$2")
162 if [ "x$mode" = 'x!' ]
188 local mode="$3"
213 local mode="$2"
225 if [ "$mode" = 'w' ]
243 mode=$(xenstore_read "$XENBUS_PATH/mode")
287 mode=$(canonicalise_mode "$mode")
[all …]
A Dblock-dummy66 roflag="-$mode"; roflag="${roflag#-w}"; roflag="${roflag#-!}"
92 mode=$(xenstore_read "$XENBUS_PATH/mode")
93 mode=$(canonicalise_mode "$mode")
A Dcolo-proxy-setup20 : ${mode:?}
26 if [ "$mode" != "primary" -a "$mode" != "secondary" ]
28 echo "Invalid mode: $mode"
29 log err "Invalid mode: $mode"
122 if [ "$mode" = "primary" ]
132 if [ "$mode" = "primary" ]
141 if [ "$mode" = "primary" ]
A Dblock-common.sh88 local mode="$1"
90 if ! expr index "$mode" 'w' >/dev/null
93 elif ! expr index "$mode" '!' >/dev/null
/xen/xen/common/xz/
A Dprivate.h185 # define DEC_IS_SINGLE(mode) ((mode) == XZ_SINGLE) argument
187 # define DEC_IS_SINGLE(mode) (false) argument
191 # define DEC_IS_PREALLOC(mode) ((mode) == XZ_PREALLOC) argument
193 # define DEC_IS_PREALLOC(mode) (false) argument
197 # define DEC_IS_DYNALLOC(mode) ((mode) == XZ_DYNALLOC) argument
199 # define DEC_IS_DYNALLOC(mode) (false) argument
203 # define DEC_IS_MULTI(mode) (true) argument
205 # define DEC_IS_MULTI(mode) ((mode) != XZ_SINGLE) argument
207 # define DEC_IS_MULTI(mode) (false) argument
227 XZ_EXTERN struct xz_dec_lzma2 *xz_dec_lzma2_create(enum xz_mode mode,
/xen/tools/xenstore/
A Dxenstore_client.c29 enum mode { enum
86 usage(enum mode mode, int incl_mode, const char *progname) in usage() argument
90 switch (mode) { in usage()
315 perform(enum mode mode, int optind, int argc, char **argv, struct xs_handle *xsh, in perform() argument
319 switch (mode) { in perform()
333 switch (mode) { in perform()
542 enum mode mode; in main() local
600 if ( mode == MODE_read || mode == MODE_list || mode == MODE_ls ) in main()
630 if ( mode == MODE_read || mode == MODE_write ) in main()
638 switch (mode) { in main()
[all …]
/xen/xen/arch/x86/oprofile/
A Dbacktrace.c34 int mode) in dump_hypervisor_backtrace() argument
36 if (!xenoprof_add_trace(vcpu, head->ret, mode)) in dump_hypervisor_backtrace()
57 int mode) in dump_guest_backtrace() argument
87 if (!xenoprof_add_trace(vcpu, bufhead.ret, mode)) in dump_guest_backtrace()
148 unsigned long depth, int mode) in xenoprof_backtrace() argument
152 if (mode > 1) { in xenoprof_backtrace()
154 head = dump_hypervisor_backtrace(vcpu, head, mode); in xenoprof_backtrace()
159 head = dump_guest_backtrace(vcpu, head, mode); in xenoprof_backtrace()
A Dop_model_athlon.c268 ibs_log_event(val, regs, mode); in handle_ibs()
269 ibs_log_event(ctl, regs, mode); in handle_ibs()
272 ibs_log_event(val, regs, mode); in handle_ibs()
289 ibs_log_event(val, regs, mode); in handle_ibs()
292 ibs_log_event(val, regs, mode); in handle_ibs()
294 ibs_log_event(val, regs, mode); in handle_ibs()
296 ibs_log_event(val, regs, mode); in handle_ibs()
298 ibs_log_event(val, regs, mode); in handle_ibs()
300 ibs_log_event(val, regs, mode); in handle_ibs()
319 int mode = 0; in athlon_check_ctrs() local
[all …]
/xen/tools/libxc/
A Dxc_vm_event.c26 unsigned int mode, uint32_t *port) in xc_vm_event_control() argument
34 domctl.u.vm_event_op.mode = mode; in xc_vm_event_control()
48 unsigned int op, mode; in xc_vm_event_enable() local
101 mode = XEN_DOMCTL_VM_EVENT_OP_PAGING; in xc_vm_event_enable()
106 mode = XEN_DOMCTL_VM_EVENT_OP_MONITOR; in xc_vm_event_enable()
111 mode = XEN_DOMCTL_VM_EVENT_OP_SHARING; in xc_vm_event_enable()
124 rc1 = xc_vm_event_control(xch, domain_id, op, mode, port); in xc_vm_event_enable()
167 domctl.u.vm_event_op.mode = XEN_DOMCTL_VM_EVENT_OP_MONITOR; in xc_vm_event_get_version()
/xen/tools/misc/
A Dxen-cpuid.c357 mode = MODE_UNKNOWN; in main() local
391 mode = MODE_INFO; in main()
395 mode = MODE_POLICY; in main()
418 mode = MODE_DETAIL; in main()
423 if ( mode == MODE_UNKNOWN ) in main()
426 mode = MODE_INFO; in main()
431 mode = MODE_INFO; in main()
436 mode = MODE_DETAIL; in main()
443 mode = MODE_INTERPRET; in main()
446 if ( mode == MODE_POLICY ) in main()
[all …]
/xen/tools/xl/
A Dxl_flask.c48 int ret, mode; in main_setenforce() local
59 mode = 0; in main_setenforce()
61 mode = 1; in main_setenforce()
63 mode = 0; in main_setenforce()
65 mode = 1; in main_setenforce()
71 ret = libxl_flask_setenforce(ctx, mode); in main_setenforce()
/xen/tools/firmware/rombios/
A D32bitgateway.c98 ; Calculate protected-mode esp from ss:sp
105 ; Switch to protected mode
109 or al, #0x1 ; protected mode on
129 ; Restore real-mode stack pointer
132 mov bx, ax ; Real-mode ss in bx
136 ; Return to real mode
145 and al, #0xfe ; protected mode off
152 ; Restore real-mode ss
/xen/tools/firmware/vgabios/
A DChangeLog160 VESA mode
189 - mode 0x11: all color planes must be enabled in this 2-color VGA mode
279 - vbe: mode list entry for mode 800x600x4 fixed
568 mode
825 - VESA mode 0x102 added (uses existing SVGA mode 0x6a) - all VESA
842 standard VGA mode TODO: return VESA mode if enabled -
853 - set video mode: clear vga memory in graphics mode - set video
854 mode: load default font in text mode - write character
861 - set video mode: clear vga memory in graphics mode - set video
862 mode: load default font in text mode - write character
[all …]
A DREADME101 . Cirrus SVGA now supports the "no clear" bit in Cirrus and VESA mode
102 . Bochs VBE protected mode interface improved
113 . VGA mode 0x11: all color planes must be enabled in this 2-color VGA mode
117 . BIOS configuration word usually reports initial mode 80x25 color text
123 . fixed return value for the default case in the VBE section (non-debug mode)
132 . dynamicly generated VBE mode info list
153 . VBE mode search rewritten (VBE modes with LFB bit removed)
157 . SVGA mode 0x6A added
162 . added lfb-mode numbers (patch from mathis)
186 . added 320x200x8 vbe support (uses the standard 320x200x8 vga mode to
[all …]
/xen/tools/libfsimage/iso9660/
A Diso9660.h62 typedef int int8_t __attribute__((mode(QI)));
63 typedef unsigned int u_int8_t __attribute__((mode(QI)));
64 typedef int int16_t __attribute__((mode(HI)));
65 typedef unsigned int u_int16_t __attribute__((mode(HI)));
66 typedef int int32_t __attribute__((mode(SI)));
67 typedef unsigned int u_int32_t __attribute__((mode(SI)));
171 iso_32bit_t mode; member
/xen/xen/include/asm-x86/
A Dpaging.h76 #define paging_mode_enabled(_d) (!!(_d)->arch.paging.mode)
77 #define paging_mode_shadow(_d) (!!((_d)->arch.paging.mode & PG_SH_enable))
78 #define paging_mode_sh_forced(_d) (!!((_d)->arch.paging.mode & PG_SH_forced))
79 #define paging_mode_hap(_d) (!!((_d)->arch.paging.mode & PG_HAP_enable))
81 #define paging_mode_refcounts(_d) (!!((_d)->arch.paging.mode & PG_refcounts))
82 #define paging_mode_log_dirty(_d) (!!((_d)->arch.paging.mode & PG_log_dirty))
83 #define paging_mode_translate(_d) (!!((_d)->arch.paging.mode & PG_translate))
84 #define paging_mode_external(_d) (!!((_d)->arch.paging.mode & PG_external))
234 int paging_enable(struct domain *d, u32 mode);
236 #define paging_get_hostmode(v) ((v)->arch.paging.mode)
/xen/tools/flask/utils/
A Dsetenforce.c30 long mode = 0; in main() local
46 mode = strtol(args[1], &end, 10); in main()
47 ret = xc_flask_setenforce(xch, mode); in main()
/xen/xen/arch/arm/arm32/
A Dentry.S21 #define SAVE_BANKED(mode) \ argument
22 SAVE_ONE_BANKED(SP_##mode) ; SAVE_ONE_BANKED(LR_##mode) ; SAVE_ONE_BANKED(SPSR_##mode)
24 #define RESTORE_BANKED(mode) \ argument
25 … RESTORE_ONE_BANKED(SP_##mode) ; RESTORE_ONE_BANKED(LR_##mode) ; RESTORE_ONE_BANKED(SPSR_##mode)
/xen/xen/arch/x86/boot/
A Dvideo.S638 # Set the 80x60 mode (all VGA's). 480 scans, 8-pixel font.
657 # `modelist' label. Each video mode record looks like:
669 movw $VIDEO_80x25,(%di) # The 80x25 mode (ALL)
683 mtab1: leaw modelist, %si # SI=mode list, DI=list end
698 movw %di, %bp # BP=original mode table end
715 lgsw 0xe(%si), %si # GS:SI=mode list
722 cmpw $0x0080, %ax # Check validity of mode ID
732 movw %ax, %cx # Get mode information structure
735 movw %cx, %bx # BX=mode number
945 mt_end: .word 0 # End of video mode table if built
[all …]
A Dwakeup.S59 # Setting of user mode (AX=mode ID) => CF=success
71 movw $0x4f02, %ax # VESA BIOS mode set call
91 # Now in protect mode, with paging disabled
/xen/xen/tools/kconfig/
A Dqconf.cc125 if (list->mode == singleMode || list->mode == symbolMode) { in updateMenu()
244 if (list->mode != fullMode) in init()
423 if (mode != listMode) in updateList()
601 switch (mode) { in updateMenuList()
623 if (mode == fullMode || mode == menuMode || type != P_MENU) in updateMenuList()
666 switch (mode) { in updateMenuList()
688 if (mode == fullMode || mode == menuMode || type != P_MENU) in updateMenuList()
714 if (ev->key() == Qt::Key_Escape && mode != fullMode && mode != listMode) { in keyPressEvent()
738 mode != fullMode && mode != menuMode) { in keyPressEvent()
796 mode != fullMode && mode != menuMode) in mouseReleaseEvent()
[all …]
/xen/xen/arch/x86/mm/shadow/
A Dcommon.c2419 if ( v->arch.paging.mode ) in sh_update_paging_modes()
2596 mode |= PG_SH_enable; in shadow_enable()
2627 if ( mode & PG_translate ) in shadow_enable()
2683 sh_new_mode(d, mode); in shadow_enable()
2861 if ( d == current->domain || (d->arch.paging.mode & mode) == mode ) in shadow_one_bit_enable()
2866 mode |= PG_SH_enable; in shadow_one_bit_enable()
2890 sh_new_mode(d, d->arch.paging.mode | mode); in shadow_one_bit_enable()
2902 if ( d == current->domain || !((d->arch.paging.mode & mode) == mode) ) in shadow_one_bit_disable()
2908 mode = d->arch.paging.mode & ~mode; in shadow_one_bit_disable()
2910 mode = 0; in shadow_one_bit_disable()
[all …]
/xen/xen/include/xen/
A Dxenoprof.h33 int xenoprof_add_trace(struct vcpu *, uint64_t pc, int mode);
36 uint64_t pc, int mode, int event);
/xen/xen/arch/x86/
A Demul-i8254.c71 switch ( c->mode ) in pit_get_count()
102 switch ( s->mode ) in pit_get_out()
133 switch ( s->mode ) in pit_set_gate()
187 switch ( s->mode ) in pit_load_count()
234 (c->mode << 1) | in pit_latch_status()
282 s->mode = (val >> 1) & 7; in pit_ioport_write()
283 if ( s->mode > 5 ) in pit_ioport_write()
284 s->mode -= 4; in pit_ioport_write()
466 s->mode = 0xff; /* the init mode */ in pit_reset()
/xen/docs/guest-guide/x86/
A Dhypercall-abi.rst14 The registers used for hypercalls depends on the operating mode of the guest.
53 between virtualisation mode and hardware vendor.
75 perform mode-specific or vendor-specific setup.
96 There result is an ABI which is invariant of the exact operating mode or
122 .. [2] While it is possible to use compatibility mode segments in a 64bit
123 kernel, hypercalls issues from such a mode will be interpreted with the

Completed in 76 milliseconds

12345678