| /tools/hotplug/Linux/ |
| A D | block | 62 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 D | block-tap | 125 local mode="$2" 136 if [ "$mode" = 'w' ] ; then 199 result=$( check_tap_sharing "$file" "$mode" ) 201 do_ebusy "tap $type file $file in use " "$mode" "${result%% *}" 262 mode=$( xenstore_read $XENBUS_PATH/mode ) 263 mode=$( canonicalise_mode $mode )
|
| A D | block-dummy | 66 roflag="-$mode"; roflag="${roflag#-w}"; roflag="${roflag#-!}" 92 mode=$(xenstore_read "$XENBUS_PATH/mode") 93 mode=$(canonicalise_mode "$mode")
|
| A D | colo-proxy-setup | 20 : ${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 D | block-common.sh | 88 local mode="$1" 90 if ! expr index "$mode" 'w' >/dev/null 93 elif ! expr index "$mode" '!' >/dev/null
|
| /tools/xs-clients/ |
| A D | xenstore_client.c | 32 enum mode { enum 217 usage(enum mode mode, int incl_mode, const char *progname) in usage() argument 221 switch (mode) { in usage() 446 perform(enum mode mode, int optind, int argc, char **argv, struct xs_handle *xsh, in perform() argument 450 switch (mode) { in perform() 464 switch (mode) { in perform() 676 enum mode mode; in main() local 730 if ( mode == MODE_read || mode == MODE_list || mode == MODE_ls ) in main() 760 if ( mode == MODE_read || mode == MODE_write ) in main() 768 switch (mode) { in main() [all …]
|
| /tools/libs/ctrl/ |
| A D | xc_vm_event.c | 26 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()
|
| /tools/misc/ |
| A D | xen-cpuid.c | 192 mode = MODE_UNKNOWN; in main() local 226 mode = MODE_INFO; in main() 230 mode = MODE_POLICY; in main() 253 mode = MODE_DETAIL; in main() 258 if ( mode == MODE_UNKNOWN ) in main() 261 mode = MODE_INFO; in main() 266 mode = MODE_INFO; in main() 271 mode = MODE_DETAIL; in main() 278 mode = MODE_INTERPRET; in main() 281 if ( mode == MODE_POLICY ) in main() [all …]
|
| /tools/xl/ |
| A D | xl_flask.c | 48 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()
|
| /tools/firmware/rombios/ |
| A D | 32bitgateway.c | 98 ; 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
|
| /tools/firmware/vgabios/ |
| A D | ChangeLog | 160 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 D | README | 101 . 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 …]
|
| A D | TODO | 5 - Fix init mode (ah=00). Should use more BIOS variables 25 - have text io functions in vbe mode
|
| A D | vbetables-gen.c | 11 int mode; member 94 for (pm = modes; pm->mode != 0; pm++) { in main() 102 pm->mode, pm->width, pm->height, pm->depth); in main()
|
| A D | vbe_display_api.txt | 167 If the bios writes VBE_DISPI_ENABLED then the display code will setup a hostside display mode 169 …If the bios write VBE_DISPI_DISABLED then the display code will switch back to normal vga mode beh… 175 This can be used for switching banks in banked mode. 180 Upon enabling a mode, this will be set to the current xres 181 Setting this field during enabled mode will result in the virtual width to be changed. 210 The new flag VBE_DISPI_8BIT_DAC switches the DAC to 8 bit mode. 215 Displaying GFX (banked mode) 227 Displaying GFX (linear frame buffer mode) 233 …e the XRES/YRES/BPP may not be written when VBE is enabled, if you want to switch from one VBE mode
|
| A D | vgabios.c | 825 static void biosfn_set_video_mode(mode) Bit8u mode; in biosfn_set_video_mode() argument 829 Bit8u noclearmem=mode&0x80; 842 mode=mode&0x7f; 845 line=find_vga_entry(mode); 964 if(mode<0x0d) 1142 Bit8u mode,line; local 1148 line=find_vga_entry(mode); 1273 line=find_vga_entry(mode); 1416 line=find_vga_entry(mode); 1617 line=find_vga_entry(mode); [all …]
|
| A D | clext.c | 33 unsigned short mode; member 400 mov ax, #0x0007 ; set vga mode 443 cmp ah, #0x00 ;; set video mode 546 pop ax ;; mode 598 ; in si:mode table 879 mov ax, #0x003b ;; mode 945 stosb ;; direct screen mode info 959 or ax, #0x0080 ;; mode bit 7:LFB 995 and ax, #0x1ff ;; bit 8-0 mode 1307 clc ;; video mode is supported [all …]
|
| /tools/libfsimage/iso9660/ |
| A D | iso9660.h | 62 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
|
| /tools/flask/utils/ |
| A D | setenforce.c | 30 long mode = 0; in main() local 46 mode = strtol(args[1], &end, 10); in main() 47 ret = xc_flask_setenforce(xch, mode); in main()
|
| /tools/libacpi/ |
| A D | ssdt_laptop_slate.asl | 9 * Windows laptop/slate mode device 27 * indent-tabs-mode: nil
|
| /tools/9pfsd/ |
| A D | io.c | 74 uint32_t mode; member 913 switch ( mode & P9_OMODEMASK ) in open_flags_from_mode() 932 if ( mode & P9_OTRUNC ) in open_flags_from_mode() 947 uint8_t mode; in p9_open() local 992 fidp->mode = mode; in p9_open() 995 if ( mode != P9_OREAD ) in p9_open() 1037 uint8_t mode; in p9_create() local 1105 if ( mode != P9_OREAD ) in p9_create() 1154 fidp->mode = mode; in p9_create() 1197 if ( fidp->mode & P9_OREMOVE ) in p9_clunk() [all …]
|
| /tools/libs/light/ |
| A D | libxl_flask.c | 54 int libxl_flask_setenforce(libxl_ctx *ctx, int mode) in libxl_flask_setenforce() argument 58 rc = xc_flask_setenforce(ctx->xch, mode); in libxl_flask_setenforce()
|
| A D | libxl_save_helper.c | 242 const char *mode = *++argv; in main() local 243 assert(mode); in main() 245 if (!strcmp(mode,"--save-domain")) { in main() 264 } else if (!strcmp(mode,"--restore-domain")) { in main()
|
| /tools/examples/ |
| A D | README | 21 vif-bridge - virtual network start/stop script in bridged mode 23 vif-nat - xen virtual network start/stop script in NAT mode 24 vif-route - xen virtual network start/stop script in routed mode
|
| /tools/libfsimage/reiserfs/ |
| A D | fsys_reiserfs.c | 283 #define S_ISREG(mode) (((mode) & 0170000) == 0100000) argument 284 #define S_ISDIR(mode) (((mode) & 0170000) == 0040000) argument 285 #define S_ISLNK(mode) (((mode) & 0170000) == 0120000) argument 995 int mode; in reiserfs_dir() local 1016 mode = ((struct stat_data *) INFO->current_item)->sd_mode; in reiserfs_dir() 1019 if (S_ISLNK (mode)) in reiserfs_dir() 1084 if (! S_ISREG (mode)) in reiserfs_dir() 1108 if (! S_ISDIR (mode)) in reiserfs_dir()
|