Home
last modified time | relevance | path

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

12345678

/xen-4.10.0-shim-comet/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 Dcolo-proxy-setup20 : ${mode:?}
26 if [ "$mode" != "primary" -a "$mode" != "secondary" ]
28 echo "Invalid mode: $mode"
29 log err "Invalid mode: $mode"
108 if [ "$mode" = "primary" ]
118 if [ "$mode" = "primary" ]
127 if [ "$mode" = "primary" ]
A Dblock-dummy66 roflag="-$mode"; roflag="${roflag#-w}"; roflag="${roflag#-!}"
92 mode=$(xenstore_read "$XENBUS_PATH/mode")
93 mode=$(canonicalise_mode "$mode")
A Dblock-common.sh88 local mode="$1"
90 if ! expr index "$mode" 'w' >/dev/null
93 elif ! expr index "$mode" '!' >/dev/null
/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/tools/xenstore/
A Dxenstore_client.c29 enum mode { enum
72 usage(enum mode mode, int incl_mode, const char *progname) in usage() argument
76 switch (mode) { in usage()
295 perform(enum mode mode, int optind, int argc, char **argv, struct xs_handle *xsh, in perform() argument
298 switch (mode) { in perform()
312 switch (mode) { in perform()
510 enum mode mode; in main() local
567 if ( mode == MODE_read || mode == MODE_list || mode == MODE_ls ) in main()
599 switch (mode) { in main()
615 switch (mode) { in main()
[all …]
/xen-4.10.0-shim-comet/tools/blktap2/drivers/
A Dscheduler.c51 char mode; member
81 if (event->mode & SCHEDULER_POLL_READ_FD) { in scheduler_prepare_events()
86 if (event->mode & SCHEDULER_POLL_WRITE_FD) { in scheduler_prepare_events()
91 if (event->mode & SCHEDULER_POLL_EXCEPT_FD) { in scheduler_prepare_events()
96 if (event->mode & SCHEDULER_POLL_TIMEOUT) { in scheduler_prepare_events()
111 if (event->mode & SCHEDULER_POLL_TIMEOUT) { in scheduler_event_callback()
117 event->cb(event->id, mode, event->private); in scheduler_event_callback()
132 if ((event->mode & SCHEDULER_POLL_READ_FD) && in scheduler_run_events()
153 if ((event->mode & SCHEDULER_POLL_TIMEOUT) && in scheduler_run_events()
173 if (!(mode & SCHEDULER_POLL_TIMEOUT) && !(mode & SCHEDULER_POLL_FD)) in scheduler_register_event()
[all …]
A Dtapdisk-filter.c176 if (!mode) in tapdisk_init_tfilter()
183 filter->mode = mode; in tapdisk_init_tfilter()
187 if (filter->mode & TD_INJECT_FAULTS) { in tapdisk_init_tfilter()
191 filter->mode &= ~TD_INJECT_FAULTS; in tapdisk_init_tfilter()
200 if (filter->mode & TD_CHECK_INTEGRITY) { in tapdisk_init_tfilter()
203 filter->mode &= ~TD_CHECK_INTEGRITY; in tapdisk_init_tfilter()
207 "FILTERING IN MODE 0x%04x\n", filter->mode); in tapdisk_init_tfilter()
239 if (filter->mode & TD_INJECT_FAULTS) { in tapdisk_filter_iocbs()
246 if (filter->mode & TD_CHECK_INTEGRITY) in tapdisk_filter_iocbs()
262 if (filter->mode & TD_INJECT_FAULTS) { in tapdisk_filter_events()
[all …]
A Dtapdisk-filter.h51 int mode; member
62 struct tfilter *tapdisk_init_tfilter(int mode, int iocbs, uint64_t secs);
A Dblock-remus.c178 enum tdremus_mode mode; member
210 static int switch_mode(td_driver_t *driver, enum tdremus_mode mode);
1456 if (mode == s->mode) in switch_mode()
1462 RPRINTF("switch_mode: error flushing queue (old: %d, new: %d)", s->mode, mode); in switch_mode()
1463 mode = mode_unprotected; in switch_mode()
1466 if (mode == mode_unprotected) in switch_mode()
1468 else if (mode == mode_primary) in switch_mode()
1470 else if (mode == mode_backup) in switch_mode()
1473 RPRINTF("unknown mode requested: %d\n", mode); in switch_mode()
1478 s->mode = mode; in switch_mode()
[all …]
A Dscheduler.h41 typedef void (*event_cb_t) (event_id_t id, char mode, void *private);
58 event_id_t scheduler_register_event(scheduler_t *, char mode,
/xen-4.10.0-shim-comet/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
90 if (!xenoprof_add_trace(vcpu, bufhead.ret, mode)) in dump_guest_backtrace()
151 unsigned long depth, int mode) in xenoprof_backtrace() argument
155 if (mode > 1) { in xenoprof_backtrace()
157 head = dump_hypervisor_backtrace(vcpu, head, mode); in xenoprof_backtrace()
162 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()
320 int mode = 0; in athlon_check_ctrs() local
[all …]
/xen-4.10.0-shim-comet/tools/misc/
A Dxen-cpuid.c291 mode = MODE_UNKNOWN; in main() local
322 mode = MODE_INFO; in main()
327 mode = MODE_DETAIL; in main()
332 if ( mode == MODE_UNKNOWN ) in main()
335 mode = MODE_INFO; in main()
340 mode = MODE_INFO; in main()
345 mode = MODE_DETAIL; in main()
349 mode = MODE_INTERPRET; in main()
352 mode = MODE_INTERPRET; in main()
355 if ( mode == MODE_INFO || mode == MODE_DETAIL ) in main()
[all …]
/xen-4.10.0-shim-comet/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()
/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/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-4.10.0-shim-comet/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-4.10.0-shim-comet/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-4.10.0-shim-comet/xen/arch/arm/arm32/
A Dentry.S9 #define SAVE_BANKED(mode) \ argument
10 SAVE_ONE_BANKED(SP_##mode) ; SAVE_ONE_BANKED(LR_##mode) ; SAVE_ONE_BANKED(SPSR_##mode)
12 #define RESTORE_BANKED(mode) \ argument
13 … RESTORE_ONE_BANKED(SP_##mode) ; RESTORE_ONE_BANKED(LR_##mode) ; RESTORE_ONE_BANKED(SPSR_##mode)
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Dpaging.h63 #define paging_mode_enabled(_d) (!!(_d)->arch.paging.mode)
64 #define paging_mode_shadow(_d) (!!((_d)->arch.paging.mode & PG_SH_enable))
65 #define paging_mode_hap(_d) (!!((_d)->arch.paging.mode & PG_HAP_enable))
67 #define paging_mode_refcounts(_d) (!!((_d)->arch.paging.mode & PG_refcounts))
68 #define paging_mode_log_dirty(_d) (!!((_d)->arch.paging.mode & PG_log_dirty))
69 #define paging_mode_translate(_d) (!!((_d)->arch.paging.mode & PG_translate))
70 #define paging_mode_external(_d) (!!((_d)->arch.paging.mode & PG_external))
217 int paging_enable(struct domain *d, u32 mode);
219 #define paging_get_hostmode(v) ((v)->arch.paging.mode)
/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/xen/arch/x86/boot/
A Dvideo.S642 # Set the 80x60 mode (all VGA's). 480 scans, 8-pixel font.
661 # `modelist' label. Each video mode record looks like:
673 movw $VIDEO_80x25,(%di) # The 80x25 mode (ALL)
687 mtab1: leaw modelist, %si # SI=mode list, DI=list end
702 movw %di, %bp # BP=original mode table end
719 lgsw 0xe(%si), %si # GS:SI=mode list
726 cmpw $0x0080, %ax # Check validity of mode ID
736 movw %ax, %cx # Get mode information structure
739 movw %cx, %bx # BX=mode number
948 mt_end: .word 0 # End of video mode table if built
[all …]
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Di8254.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()
460 s->mode = 0xff; /* the init mode */ in pit_reset()

Completed in 39 milliseconds

12345678