/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/ |
H A D | ssc050.c | 308 ssc050_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 346 sizeof (i2c_port_t), mode) != DDI_SUCCESS) { 378 sizeof (i2c_port_t), mode) != DDI_SUCCESS) { 385 sizeof (i2c_port_t), mode) != DDI_SUCCESS) { 458 sizeof (int32_t), mode) != DDI_SUCCESS) { 468 sizeof (int32_t), mode) != DDI_SUCCESS) { 475 sizeof (i2c_bit_t), mode) != DDI_SUCCESS) { 516 sizeof (i2c_bit_t), mode) != DDI_SUCCESS) { 523 sizeof (i2c_bit_t), mode) != DDI_SUCCESS) { 542 sizeof (i2c_reg_t), mode) ! [all...] |
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | ppm_xgsubr.c | 425 ppm_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument 430 char *rwfmt = "%s: mode error: 0x%x is missing %s perm, cmd 0x%x\n"; 436 DPRINTF(D_IOCTL, ("%s: dev 0x%lx, cmd 0x%x, arg 0x%lx, mode 0x%x\n", 437 str, dev, cmd, arg, mode)); 439 if (ddi_copyin((caddr_t)arg, &req, sizeof (req), mode)) { 459 } else if (!(mode & FWRITE)) { 460 DPRINTF(D_IOCTL, (rwfmt, str, mode, "write")); 478 if (!(mode & FREAD)) { 479 DPRINTF(D_IOCTL, (rwfmt, str, mode, "read")); 487 sizeof (req), mode)) { [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_replay.c | 45 #include <sys/mode.h> 57 zfs_init_vattr(vattr_t *vap, uint64_t mask, uint64_t mode, argument 62 vap->va_type = IFTOVT(mode); 63 vap->va_mode = mode & MODEMASK;
|
H A D | zfs_dir.c | 35 #include <sys/mode.h> 171 * system is supporting mixed-mode access. It is sometimes 694 zfs_dirent(znode_t *zp, uint64_t mode) argument 699 de |= IFTODT(mode) << 60;
|
/illumos-gate/usr/src/lib/libnvpair/ |
H A D | libnvpair.c | 325 nvlist_prtctl_setindent(nvlist_prtctl_t pctl, enum nvlist_indent_mode mode, argument 328 if (mode < NVLIST_INDENT_ABS || mode > NVLIST_INDENT_TABBED) 329 mode = NVLIST_INDENT_TABBED; 337 pctl->nvprt_indent_mode = mode;
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | external.c | 639 mode_t mode; local 643 mode = va_arg(ap, mode_t); 645 return (__open(path, oflag, mode)); 652 mode_t mode; local 656 mode = va_arg(ap, mode_t); 658 return (__openat(fd, path, oflag, mode));
|
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/ |
H A D | intel_nbdrv.c | 351 inb_mc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 378 mode) < 0) 383 mode) < 0)
|
/illumos-gate/usr/src/cmd/ptools/ppriv/ |
H A D | ppriv.c | 69 static int mode = PRIV_STR_PORT; variable 110 mode = PRIV_STR_SHORT; 114 mode = PRIV_STR_LIT; 279 s = __priv_set_to_str(pdata, pset, ',', mode); 281 s = priv_set_to_str(pset, ',', mode);
|
/illumos-gate/usr/src/uts/common/io/arn/ |
H A D | arn_ani.c | 296 enum wireless_mode mode; local 351 mode = ath9k_hw_chan2wmode(ah, chan); 352 if (mode == ATH9K_MODE_11G || mode == ATH9K_MODE_11B) { 371 enum wireless_mode mode; local 397 mode = ath9k_hw_chan2wmode(ah, chan); 398 if (mode == ATH9K_MODE_11G || mode == ATH9K_MODE_11B) {
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | ef10_ev.c | 411 uint32_t timer_val, mode; local 422 mode = FFE_CZ_TIMER_MODE_DIS; 431 mode = FFE_CZ_TIMER_MODE_INT_HLDOFF; 438 ERF_DD_EVQ_IND_TIMER_MODE, mode, 444 ERF_DZ_TC_TIMER_MODE, mode,
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_gld_v3.c | 559 sfxge_rx_coalesce_mode_t mode; local 561 sfxge_rx_coalesce_mode_get(sp, &mode); 563 val = (long)mode;
|
H A D | sfxge_mac.c | 47 static void sfxge_mac_link_update_locked(sfxge_t *sp, efx_link_mode_t mode); 276 efx_link_mode_t mode; local 287 mode = EFX_LINK_UNKNOWN; 288 if (efx_port_poll(enp, &mode) == 0) 289 sfxge_mac_link_update_locked(sp, mode); 598 sfxge_mac_link_update_locked(sfxge_t *sp, efx_link_mode_t mode) argument 608 if (smp->sm_link_mode == mode) 611 smp->sm_link_mode = mode; 672 sfxge_mac_link_update(sfxge_t *sp, efx_link_mode_t mode) argument 677 sfxge_mac_link_update_locked(sp, mode); [all...] |
/illumos-gate/usr/src/boot/lib/libz/ |
H A D | inflate.h | 82 inflate_mode mode; /* current inflate mode */ member in struct:inflate_state
|
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/ |
H A D | openfirm.c | 80 char mode[sizeof("true")]; local 97 * Check if we run in real mode. If so, we do not need to map 101 if (OF_getprop(options, "real-mode?", mode, sizeof(mode)) > 0 && 102 strcmp(mode, "true") == 0)
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_ofile.c | 139 * the ofile from it, the lock must be entered in RW_WRITER mode. 771 * EINVAL Unknown mode 778 ushort_t mode, 791 switch (mode) { 904 * RW_READER mode before being called. 1115 * 2. Opened with "Deny Delete" share mode 776 smb_ofile_seek( smb_ofile_t *of, ushort_t mode, int32_t off, uint32_t *retoff) argument
|
/illumos-gate/usr/src/uts/common/io/net80211/ |
H A D | net80211_proto.c | 398 * operating mode. For real 11g we mark all the 11b rates 400 * 11b rates. There's also a pseudo 11a-mode used to mark only 405 enum ieee80211_phymode mode) 423 ASSERT(mode < IEEE80211_MODE_MAX); 426 for (j = 0; j < basic[mode].ir_nrates; j++) { 427 if (basic[mode].ir_rates[j] == rs->ir_rates[i]) { 538 enum ieee80211_phymode mode; local 545 * Select mode; we can be called early in which case we 546 * always use auto mode. We know we'll be called when 551 mode 404 ieee80211_setbasicrates(struct ieee80211_rateset *rs, enum ieee80211_phymode mode) argument 651 enum ieee80211_phymode mode; local [all...] |
/illumos-gate/usr/src/cmd/acpi/acpidump/ |
H A D | osillumostbl.c | 1000 char mode[3]; local 1002 bzero(mode, sizeof (mode)); 1004 (void) strlcat(mode, "r", sizeof (mode)); 1007 (void) strlcat(mode, "w", sizeof (mode)); 1009 return (fopen(Path, mode));
|
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaUtil.c | 509 meta_do_operation(CK_FLAGS optype, int mode, argument 616 if (optype == CKF_ENCRYPT && mode == MODE_SINGLE) { 619 } else if (optype == CKF_ENCRYPT && mode == MODE_UPDATE) { 622 } else if (optype == CKF_ENCRYPT && mode == MODE_FINAL) { 626 } else if (optype == CKF_DECRYPT && mode == MODE_SINGLE) { 629 } else if (optype == CKF_DECRYPT && mode == MODE_UPDATE) { 632 } else if (optype == CKF_DECRYPT && mode == MODE_FINAL) { 636 } else if (optype == CKF_DIGEST && mode == MODE_SINGLE) { 639 } else if (optype == CKF_DIGEST && mode == MODE_UPDATE) { 643 } else if (optype == CKF_DIGEST && mode [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | key.c | 296 key_object_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 303 if (mode == MODE_CREATE) { 308 return (template_check_required_base_attributes(tmpl, mode)); 312 key_object_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 322 if (mode) 377 CK_ATTRIBUTE *attr, CK_ULONG mode) 381 if (mode == MODE_CREATE || mode == MODE_DERIVE || 382 mode == MODE_KEYGEN || mode 376 key_object_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument 402 publ_key_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 407 publ_key_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 496 publ_key_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument 519 priv_key_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 524 priv_key_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 726 priv_key_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument 798 secret_key_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 804 secret_key_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 1020 secret_key_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument 1101 rsa_publ_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 1131 rsa_publ_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 1187 rsa_publ_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument 1226 rsa_priv_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 1309 rsa_priv_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 1360 rsa_priv_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument 1524 generic_secret_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 1550 generic_secret_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 1600 generic_secret_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | netdfs.c | 1332 mode_t mode; local 1340 mode = umask(0); 1342 (void) umask(mode);
|
/illumos-gate/usr/src/lib/libsec/common/ |
H A D | aclutils.c | 386 * off of the mode argument. After acl has been set owner/group 390 acl_strip(const char *file, uid_t owner, gid_t group, mode_t mode) argument 416 min_acl[0].a_perm = ((mode & 0700) >> 6); 419 min_acl[1].a_perm = ((mode & 0070) >> 3); 422 min_acl[2].a_perm = ((mode & 0070) >> 3); 425 min_acl[3].a_perm = (mode & 0007); 429 if ((error = acl_trivial_create(mode, S_ISDIR(statbuf.st_mode),
|
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | shiocmd_solaris.c | 122 * mode formatting related 126 mode_t mode = nv_getn(np,nfp); local 127 return(fmtperm(mode)); 134 int32_t mode; local 139 mode = *(Sfdouble_t*)val; 141 mode = *(double*)val; 145 mode = strperm(val, &last,0); 147 errormsg(SH_DICT, ERROR_exit(1),"%s: invalid mode string", val); 149 nv_putv(np,(char*)&mode,NV_INTEGER,nfp); 408 { "mode", NV_INTEGE 496 mode_t mode = 0666; local [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | args.c | 172 case 'O': /* shopt options, only in bash mode */ 586 * if mode is inclusive or of PRINT_* 589 void sh_printopts(Shopt_t oflags,register int mode, Shopt_t *mask) argument 595 if(!(mode&PRINT_NO_HEADER)) 597 if(mode&PRINT_TABLE) 647 if(!(mode&(PRINT_ALL|PRINT_VERBOSE))) /* only print set options */ 649 if(mode&PRINT_SHOPT) 660 if (!(mode&PRINT_SHOPT) != !(value&SH_BASHOPT)) 672 if(mode&PRINT_VERBOSE) 678 else if(mode [all...] |
H A D | array.c | 942 * <mode> can be a number, plus or more of symbolic constants 945 * not already array and the ARRAY_ADD bit of <mode> is not set. 950 Namval_t *nv_putsub(Namval_t *np,register char *sp,register long mode) argument 953 register int size = (mode&ARRAY_MASK); 976 if(size==0 && !(mode&ARRAY_FILL)) 983 ap->header.nelem |= (mode&(ARRAY_SCAN|ARRAY_NOCHILD|ARRAY_UNDEF|ARRAY_NOSCOPE)); 1001 if((mode&ARRAY_SCAN) && (ap->cur--,!nv_nextsub(np))) 1003 if(mode&(ARRAY_FILL|ARRAY_ADD)) 1005 if(!(mode&ARRAY_ADD)) 1029 else if(!(mode 1067 nv_endsubscript(Namval_t *np, register char *cp, int mode) argument 1183 nv_associative(register Namval_t *np,const char *sp,int mode) argument [all...] |
H A D | nvtree.c | 650 int isarray=0, special=0,mode=0; local 652 mode = NV_ARRAY; 653 if(!(np=nv_open(vname,wp->root,mode|NV_VARNAME|NV_NOADD|NV_NOASSIGN|NV_NOFAIL|wp->noscope)))
|