/illumos-gate/usr/src/uts/common/io/ |
H A D | tem.c | 55 * VIS_PIXEL mode, the character data will first be converted to pixel 310 * re-init the tem after video mode has changed and tems_info has 465 if ((temargs.mode != VIS_TEXT) && (temargs.mode != VIS_PIXEL)) { 466 cmn_err(CE_WARN, "terminal emulator: unsupported mode"); 472 if ((temargs.mode == VIS_PIXEL) && plat_stdout_is_framebuffer()) 489 if (temargs.mode == VIS_PIXEL) 509 if (tp->mode == VIS_TEXT) { 532 tems.ts_display_mode = tp->mode; 534 switch (tp->mode) { 727 tem_kdsetmode(int mode, cred_t *credp) argument [all...] |
H A D | devpoll.c | 65 static int dpioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, 749 * The epoll compat mode was enabled while we were waiting to 791 * If we're in epoll compatibility mode, check 885 * regardless of epoll compatibility mode, as the flag 886 * is harmless if not in epoll compatibility mode. 1018 dpioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument 1100 STRUCT_INIT(dvpoll, mode); 1114 if ((mode & FKIOCTL) != 0) { 1144 if ((mode & FKIOCTL) != 0) { 1323 STRUCT_INIT(dvpoll, mode); [all...] |
/illumos-gate/usr/src/common/ficl/ |
H A D | loader.c | 429 * fopen ( ptr count mode -- fd ) 436 int mode, fd, count; local 444 mode = ficlStackPopInteger(ficlVmGetDataStack(pVM)); /* get mode */ 464 fd = open(name, mode);
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/ |
H A D | main.c | 592 COMMAND_SET(mode, "mode", "change or display EFI text modes", command_mode); 598 unsigned int mode; local 609 mode = strtol(argv[1], &cp, 0); 611 printf("Invalid mode\n"); 614 status = conout->QueryMode(conout, mode, &cols, &rows); 616 printf("invalid mode %d\n", mode); 619 status = conout->SetMode(conout, mode); 621 printf("couldn't set mode [all...] |
/illumos-gate/usr/src/uts/common/io/udmf/ |
H A D | udmf_usbgem.c | 297 uint8_t mode; local 309 /* set promiscuous mode before changing rx filter mode */ 314 mode = 0; 321 /* promiscious mode implies all multicast and all physical */ 322 mode |= RCR_PRMSC; 325 mode |= RCR_ALL; 349 lp->rcr |= mode;
|
/illumos-gate/usr/src/uts/common/io/urf/ |
H A D | urf_usbgem.c | 311 uint16_t mode; local 331 mode = RCR_AB /* accept broadcast */ 336 /* promiscious mode implies all multicast and all physical */ 337 mode |= RCR_AAM | RCR_AAP; 340 mode |= RCR_AAM; 346 mode |= RCR_AM; 354 lp->rcr |= mode; 360 if (mode & RCR_AM) {
|
/illumos-gate/usr/src/uts/i86pc/io/xsvc/ |
H A D | xsvc.c | 59 static int xsvc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred, 115 static int xsvc_ioctl_alloc_memory(xsvc_state_t *state, void *arg, int mode); 116 static int xsvc_ioctl_flush_memory(xsvc_state_t *state, void *arg, int mode); 117 static int xsvc_ioctl_free_memory(xsvc_state_t *state, void *arg, int mode); 412 xsvc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred, int *rval) argument 434 err = xsvc_ioctl_alloc_memory(state, (void *)arg, mode); 438 err = xsvc_ioctl_free_memory(state, (void *)arg, mode); 442 err = xsvc_ioctl_flush_memory(state, (void *)arg, mode); 457 xsvc_ioctl_alloc_memory(xsvc_state_t *state, void *arg, int mode) argument 473 if (ddi_model_convert_from(mode 631 xsvc_ioctl_flush_memory(xsvc_state_t *state, void *arg, int mode) argument 672 xsvc_ioctl_free_memory(xsvc_state_t *state, void *arg, int mode) argument [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelAttributeUtil.c | 1001 uint_t mode) 1234 if (mode == KERNEL_CREATE_OBJ) { 1369 uint_t mode) 1748 if (mode == KERNEL_CREATE_OBJ && isValueBits) { 2138 kernel_object_t *new_object, kernel_session_t *sp, uint_t mode) 2163 new_object, sp, mode); 2168 new_object, sp, mode); 999 kernel_build_public_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, kernel_object_t *new_object, kernel_session_t *sp, uint_t mode) argument 1367 kernel_build_private_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, kernel_object_t *new_object, kernel_session_t *sp, uint_t mode) argument 2137 kernel_build_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, kernel_object_t *new_object, kernel_session_t *sp, uint_t mode) argument
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeysUtil.c | 64 CK_OBJECT_CLASS class, CK_KEY_TYPE key_type, CK_ULONG keylen, CK_ULONG mode, 83 keylen, mode); 62 soft_gen_keyobject(CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_ULONG *objecthandle_p, soft_session_t *sp, CK_OBJECT_CLASS class, CK_KEY_TYPE key_type, CK_ULONG keylen, CK_ULONG mode, boolean_t internal) argument
|
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_utils.c | 146 "\t-x led[=LED,mode=on|off|blink] " 181 {MSG_MISSING_LED_MODE, 0, 1, "Missing LED mode"} 624 led_modeid_t mode) 637 dgettext(TEXT_DOMAIN, led_mode_strs[mode])); 623 cfga_led_msg(struct cfga_msg *msgp, apid_t *apidp, led_strid_t led, led_modeid_t mode) argument
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/fac_prov_ipmi/ |
H A D | fac_prov_ipmi.c | 205 uint32_t mode; local 245 * Set the LED mode 248 &mode)) != 0) { 257 if (mode != TOPO_LED_STATE_OFF && 258 mode != TOPO_LED_STATE_ON) { 260 mode); 280 if (mode == TOPO_LED_STATE_ON) 288 topo_mod_dprintf(mod, "Failed to set LED mode for %s " 296 * Get the LED mode 310 mode [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | kt_file.c | 1086 krb5_ktfileint_open(krb5_context context, krb5_keytab id, int mode) 1095 (mode == KRB5_LOCKMODE_EXCLUSIVE) ? 1098 if ((mode == KRB5_LOCKMODE_EXCLUSIVE) && (errno == ENOENT)) { 1124 if ((kerror = krb5_lock_file(context, fileno(KTFILEP(id)), mode))) { 1083 krb5_ktfileint_open(krb5_context context, krb5_keytab id, int mode) argument
|
/illumos-gate/usr/src/lib/libshell/common/edit/ |
H A D | edit.c | 128 static char l_changed; /* set if mode bits changed */ 226 * This routine will set the tty in cooked mode. 259 * This routine will set the tty in raw mode. 805 int mode = -1; local 808 mode = 1; 811 mode = 1; 869 rv = sfpkrd(fd,buff,size,delim,-1L,mode); 906 else if(rv>=0 && mode>0) 1011 * routine to perform read from terminal for vi and emacs mode 1012 * <mode> ca 1019 ed_getchar(register Edit_t *ep,int mode) argument 1500 tcsetattr(int fd,int mode,struct termios *tt) argument 1544 keytrap(Edit_t *ep,char *inbuff,register int insize, int bufsize, int mode) argument [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | lex.c | 257 * mode=1 for reinitialization 259 Lex_t *sh_lexopen(Lex_t *lp, Shell_t *sp, int mode) argument 272 if(!mode) 317 register int n, c, mode=ST_BEGIN, wordflags=0; local 340 mode = lp->lexd.lex_state; 360 if(mode!=ST_BEGIN) 369 state = sh_lexstates[mode]; 400 if(mode==ST_BEGIN) 402 if(mode >ST_NORM && lp->lexd.level>0) 407 if(mode 2045 sh_endword(Shell_t *shp,int mode) argument [all...] |
H A D | nvdisc.c | 654 * mode can be one of 660 Namfun_t *nv_disc(register Namval_t *np, register Namfun_t* fp, int mode) argument 665 if(mode==NV_CLONE && !fp) 672 if(mode==NV_CLONE) 677 if(mode==NV_FIRST || mode==0) 680 if(mode==NV_POP) 682 if(mode==NV_LAST && (lp->next==0 || lp->next->disc==0)) 693 if(mode==NV_LAST && fp->next==0) 695 if(mode 1011 nv_search(const char *name, Dt_t *root, int mode) argument [all...] |
H A D | parse.c | 1266 int mode = (tok==OPROCSYM); local 1270 argp->argchn.ap = (struct argnod*)makeparent(lexp,mode?TFORK|FPIN|FAMP|FPCL:TFORK|FPOU,t); 1271 argp->argflag = (ARG_EXP|mode);
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_devperm.c | 87 setdevaccess(char *dev, uid_t uid, gid_t gid, mode_t mode, argument 122 err = acl_strip(dev, uid, gid, mode); 141 if (chmod(dev, mode) == -1) { 171 int mode; local 226 mode = strtol(mode_str, &ptr, 8); 227 if (mode < 0 || mode > 0777 || *ptr != '\0') { 228 err = -1; /* invalid mode, skip */ 232 ": line %d, invalid mode -- %s\n", 256 } else if (dir_dev_acc("/", &device[1], uid, gid, mode, 429 dir_dev_acc(char *path, char *left_to_do, uid_t uid, gid_t gid, mode_t mode, char *line, void (*errmsg)(char *)) argument [all...] |
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlaggr.c | 891 * Given a LACP mode string, find the corresponding LACP mode number. Returns 898 dladm_aggr_lacpmode_t *mode; local 901 mode = &lacp_modes[i]; 902 if (strncasecmp(str, mode->mode_str, 903 strlen(mode->mode_str)) == 0) { 904 *lacp_mode = mode->mode_id; 913 * Given a LACP mode number, returns a printable string, or NULL if the 914 * LACP mode number is invalid. 920 dladm_aggr_lacpmode_t *mode; local [all...] |
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | btree_rb.c | 617 int mode, 615 sqliteRbtreeOpen( const char *zFilename, int mode, int nPg, Btree **ppBtree ) argument
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | eventlib_p.h | 148 int mode; member in struct:evTimer
|
/illumos-gate/usr/src/lib/libc/port/aio/ |
H A D | aio.c | 349 aio_result_t *resultp, int mode) 389 * _aio_do_request() needs the original request code (mode) to be able 393 if (mode == AIOAREAD64 || mode == AIOAWRITE64) 394 umode = mode - AIOAREAD64; 396 umode = mode; 434 reqp->req_op = mode; 874 _aio_create_worker(aio_req_t *reqp, int mode) argument 885 switch (mode) { 906 aio_panic("_aio_create_worker: invalid mode"); 348 _aiorw(int fd, caddr_t buf, int bufsz, offset_t offset, int whence, aio_result_t *resultp, int mode) argument 1713 _aio_req_add(aio_req_t *reqp, aio_worker_t **nextworker, int mode) argument 2119 _aio_rw(aiocb_t *aiocbp, aio_lio_t *lio_head, aio_worker_t **nextworker, int mode, int flg) argument 2240 _aio_rw64(aiocb64_t *aiocbp, aio_lio_t *lio_head, aio_worker_t **nextworker, int mode, int flg) argument [all...] |
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | mqueue.c | 376 mq_open(const char *path, int oflag, /* mode_t mode, mq_attr *attr */ ...) 379 mode_t mode = 0; local 406 mode = va_arg(ap, mode_t); 412 mode, &cr_flag)) < 0) 451 mode = mode | (mode & 0444) >> 1 | (mode & 0222) << 1; 453 (O_RDWR|O_CREAT|O_EXCL), mode, &err)) < 0) 459 if (fchmod(fd, mode) < [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | iso9660.h | 63 typedef int int8_t __attribute__((mode(QI))); 64 typedef unsigned int u_int8_t __attribute__((mode(QI))); 65 typedef int int16_t __attribute__((mode(HI))); 66 typedef unsigned int u_int16_t __attribute__((mode(HI))); 67 typedef int int32_t __attribute__((mode(SI))); 68 typedef unsigned int u_int32_t __attribute__((mode(SI))); 172 iso_32bit_t mode; member in struct:rock_ridge::__anon2191::PX
|
/illumos-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/ |
H A D | picld_pluginutil.c | 384 * get the PICL accessmode mode 387 getpiclmode(char *mode) argument 389 if (strcasecmp(mode, KEYWORD_READ_MODE) == 0) 391 else if (strcasecmp(mode, KEYWORD_WRITE_MODE) == 0) 393 else if (strcasecmp(mode, KEYWORD_READWRITE_MODE) == 0) 623 /* get mode */
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | rlogin.c | 203 static void mode(int); 794 mode(1); 854 mode(0); 1041 mode(0); 1045 mode(1); 1298 mode(int f) function
|