/illumos-gate/usr/src/lib/passwdutil/ |
H A D | ldap_attr.c | 68 p[i] = new_attr(attr, (val)); \ 557 char *pwd, *val; in ldap_update() local 589 val = malloc(cryptlen); in ldap_update() 590 if (val == NULL) in ldap_update() 612 val = malloc(cryptlen); in ldap_update() 613 if (val == NULL) in ldap_update() 769 NUM_TO_STR(val, 0); in ldap_update() 797 NUM_TO_STR(val, -1); in ldap_update() 799 NUM_TO_STR(val, -1); in ldap_update() 809 NUM_TO_STR(val, 0); in ldap_update() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_copies/ |
H A D | zfs_copies_001_pos.ksh | 75 for val in 1 2 3; do 76 log_must zfs create -o copies=$val $fs1 78 log_must zfs create -V $VOLSIZE -o copies=$val $vol1 80 log_must zfs create -o copies=$val $vol1 83 cmp_prop $ds $val 105 for val in 3 2 1; do 107 log_must zfs set copies=$val $ds 108 cmp_prop $ds $val
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audiocmihd/ |
H A D | audiocmihd.c | 165 val = 0L; in cmediahd_read_ac97() 183 val = 0L; in cmediahd_write_ac97() 202 val = 0L; 221 val = 0L; 256 tmp = val; in spi_write() 1157 pc->val = val; in cmediahd_set_control() 1172 val |= ((devc->controls[CTL_LFE].val) << 8); in cmediahd_set_control() 1179 val |= (devc->controls[CTL_CENTER].val); in cmediahd_set_control() 1189 if (val) in cmediahd_set_control() 1331 *val = pc->val; in cmediahd_get_control() [all …]
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_names.c | 14 switch (val) { in dwarf_get_TAG_name() 344 switch (val) { in dwarf_get_children_name() 358 switch (val) { in dwarf_get_FORM_name() 507 switch (val) { in dwarf_get_AT_name() 1295 switch (val) { in dwarf_get_OP_name() 1864 switch (val) { in dwarf_get_ATE_name() 1959 switch (val) { in dwarf_get_DEFAULTED_name() 1976 switch (val) { in dwarf_get_IDX_name() 2005 switch (val) { in dwarf_get_LLEX_name() 2028 switch (val) { in dwarf_get_LLE_name() [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_stat.c | 385 *val = stats->rx_frames.value.ul; in oce_m_stat() 401 *val = stats->tx_frames.value.ul; in oce_m_stat() 443 *val = stats->rx_errors.value.ul; in oce_m_stat() 447 *val = dev->tx_noxmtbuf; in oce_m_stat() 451 *val = stats->tx_errors.value.ul; in oce_m_stat() 456 *val = LINK_DUPLEX_FULL; in oce_m_stat() 458 *val = LINK_DUPLEX_UNKNOWN; in oce_m_stat() 500 *val = LINK_FLOWCTRL_BI; in oce_m_stat() 502 *val = LINK_FLOWCTRL_TX; in oce_m_stat() 504 *val = LINK_FLOWCTRL_RX; in oce_m_stat() [all …]
|
/illumos-gate/usr/src/uts/intel/io/vmm/io/ |
H A D | vrtc.c | 309 return ((rtc->reg_b & RTCSB_BIN) ? val : bin2bcd_data[val]); in rtc_enc() 417 return (val); in rtc_dec() 472 uint8_t val; in vrtc_alarm_valid() local 482 val = rtc->sec; in vrtc_alarm_valid() 484 val = rtc_dec(rtc, val, &err); in vrtc_alarm_valid() 490 val = rtc->min; in vrtc_alarm_valid() 492 val = rtc_dec(rtc, val, &err); in vrtc_alarm_valid() 498 val = rtc->hour; in vrtc_alarm_valid() 874 return (val); in vrtc_regc_read() 1111 uint32_t *val) in vrtc_addr_handler() argument [all …]
|
/illumos-gate/usr/src/cmd/audio/include/ |
H A D | AudioError.h | 54 inline AudioError(audioerror_t val = AUDIO_SUCCESS): // Constructor 55 code(val), sys(0) in code() argument 57 inline AudioError(int val): // Constructor from int in AudioError() argument 58 code((audioerror_t)val), sys(0) in AudioError() 61 inline AudioError operator = (AudioError val) // Assignment 62 { code = val.code; sys = val.sys; return (*this); }
|
/illumos-gate/usr/src/uts/sparc/io/pciex/ |
H A D | pcieb_sparc.c | 346 uint32_t val, port_enable; in plx_ro_disable() local 355 val = PCIE_CAP_GET(32, bus_p, PCIE_LINKCAP); in plx_ro_disable() 356 val = (val >> PCIE_LINKCAP_PORT_NUMBER_SHIFT) & in plx_ro_disable() 360 bus_p->bus_bdf, val); in plx_ro_disable() 362 if (val != 0) in plx_ro_disable() 441 if (val & PLX_RO_MODE_BIT) in plx_ro_disable() 442 val ^= PLX_RO_MODE_BIT; in plx_ro_disable() 451 if (val & PLX_RO_MODE_BIT) in plx_ro_disable() 452 val ^= PLX_RO_MODE_BIT; in plx_ro_disable() 462 if (val & PLX_RO_MODE_BIT) in plx_ro_disable() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | init.c | 303 if(val) in put_history() 316 if(!val) in put_optindex() 444 r = setlocale(type,val?val:""); in put_lang() 516 if(!val) in put_ifs() 527 if(!val) in put_ifs() 601 if(!val) in put_seconds() 747 if(val) in put_lastarg() 748 val = strdup(val); in put_lastarg() 888 val = mp->val+mp->match[2*sub]; in get_match() 956 if(val) in put_vpath() [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_er.c | 85 u32_t val; in lm_er_disable_close_the_gate() local 91 val = REG_RD(pdev, MISC_REG_AEU_GENERAL_MASK); in lm_er_disable_close_the_gate() 94 REG_WR(pdev, MISC_REG_AEU_GENERAL_MASK, val); in lm_er_disable_close_the_gate() 101 u32_t val, enable_bit; in lm_er_set_234_gates() local 112 val = REG_RD(pdev, IGU_REG_BLOCK_CONFIGURATION); in lm_er_set_234_gates() 116 REG_WR(pdev, IGU_REG_BLOCK_CONFIGURATION, val); in lm_er_set_234_gates() 470 u32_t val; in lm_er_config_close_the_g8() local 482 REG_WR(pdev, MISC_REG_AEU_ENABLE2_NIG_0, val); in lm_er_config_close_the_g8() 486 REG_WR(pdev, MISC_REG_AEU_ENABLE2_PXP_0, val); in lm_er_config_close_the_g8() 491 REG_WR(pdev, MISC_REG_AEU_ENABLE4_NIG_0, val); in lm_er_config_close_the_g8() [all …]
|
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_cfgrom.c | 91 uint32_t val; in av1394_ioctl_node_get_bus_name() local 271 uint32_t val; in av1394_cfgrom_parse_rom() local 287 val = AV_SWAP32(val); in av1394_cfgrom_parse_rom() 290 val = AV_SWAP32(val); in av1394_cfgrom_parse_rom() 291 root_len = IEEE1212_DIR_LEN(val); in av1394_cfgrom_parse_rom() 331 uint32_t val; in av1394_cfgrom_parse_dir() local 360 val = AV_SWAP32(val); in av1394_cfgrom_parse_dir() 361 dir_len = IEEE1212_DIR_LEN(val); in av1394_cfgrom_parse_dir() 457 uint32_t val; in av1394_cfgrom_read_leaf() local 471 val = AV_SWAP32(val); in av1394_cfgrom_read_leaf() [all …]
|
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/ |
H A D | caller.S | 41 set_sparc_g1(ulong_t val) 48 set_sparc_g2(ulong_t val) 55 set_sparc_g3(ulong_t val) 62 set_sparc_g4(ulong_t val) 69 set_sparc_g5(ulong_t val) 76 set_sparc_g6(ulong_t val) 83 set_sparc_g7(ulong_t val)
|
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/ |
H A D | caller.S | 41 set_sparc_g1(ulong_t val) 48 set_sparc_g2(ulong_t val) 55 set_sparc_g3(ulong_t val) 62 set_sparc_g4(ulong_t val) 69 set_sparc_g5(ulong_t val) 76 set_sparc_g6(ulong_t val) 83 set_sparc_g7(ulong_t val)
|
/illumos-gate/usr/src/lib/libmp/common/ |
H A D | pow.c | 41 d->val = _mp_xalloc(1, "mp_pow"); in mp_pow() 42 *d->val = 1; in mp_pow() 44 n = b0.val[b0.len - j - 1]; in mp_pow() 68 x.val = _mp_xalloc(1, "mp_rpow"); in mp_rpow() 69 *x.val = n; in mp_rpow() 71 y.val = _mp_xalloc(y.len, "mp_rpow2"); in mp_rpow() 73 y.val[i] = 0; in mp_rpow() 74 y.val[y.len - 1] = 010000; in mp_rpow()
|
/illumos-gate/usr/src/uts/common/sys/ib/mgt/ibmf/ |
H A D | ibmf_kstat.h | 67 #define IBMF_ADD32_KSTATS(clientp, xx, val) \ argument 71 kp->xx.value.ui32 += val; \ 74 #define IBMF_SUB32_KSTATS(clientp, xx, val) \ argument 78 kp->xx.value.ui32 -= val; \ 81 #define IBMF_ADD32_PORT_KSTATS(cip, xx, val) \ argument 85 kp->xx.value.ui32 += val; \ 88 #define IBMF_SUB32_PORT_KSTATS(cip, xx, val) \ argument 92 kp->xx.value.ui32 -= val; \
|
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | xpak.c | 125 u32 val; in xpak_phy_reset() local 127 (void) t1_tpi_read(adapter, A_ELMER0_GPO, &val); in xpak_phy_reset() 128 val &= ~4; in xpak_phy_reset() 129 (void) t1_tpi_write(adapter, A_ELMER0_GPO, val); in xpak_phy_reset() 136 (void) t1_tpi_write(adapter, A_ELMER0_GPO, val | 4); in xpak_phy_reset() 142 (void) t1_tpi_read(adapter, A_ELMER0_GPO, &val); in xpak_phy_reset() 143 val |= 0x8000; in xpak_phy_reset() 144 (void) t1_tpi_write(adapter, A_ELMER0_GPO, val); in xpak_phy_reset()
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_files.c | 162 nwam_value_t val = NULL; in nwam_line_to_object() local 269 nwam_value_free(val); in nwam_line_to_object() 274 nwam_value_free(val); in nwam_line_to_object() 287 nwam_value_free(val); in nwam_line_to_object() 292 nwam_value_free(val); in nwam_line_to_object() 305 nwam_value_free(val); in nwam_line_to_object() 310 nwam_value_free(val); in nwam_line_to_object() 325 nwam_value_free(val); in nwam_line_to_object() 332 nwam_value_free(val); in nwam_line_to_object() 627 nwam_value_t val; in nwam_object_to_line() local [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | sm_mtag2.c | 11 static int frob1(int *val) in frob1() argument 13 __smatch_implied(*val); in frob1() 14 return *val + 1; in frob1() 17 static int frob2(int *val) in frob2() argument 19 __smatch_implied(*val); in frob2() 20 return *val + 1; in frob2()
|
H A D | cast-bad-00.c | 16 void union_to_int(u16 val); 17 void struct_to_int(u16 val); 20 void union_to_int(u16 val) in union_to_int() argument 24 u.b = val; in union_to_int() 28 void struct_to_int(u16 val) in struct_to_int() argument 32 s.b = val; in struct_to_int()
|
/illumos-gate/usr/src/cmd/infocmp/ |
H A D | infocmp.c | 80 char val; /* the value */ member 91 short val; member 102 char *val; member 570 ibool[i].val); in initfirstterm() 590 num[i].val); in initfirstterm() 610 PR(trace, str[i].val); in initfirstterm() 689 if (ibool[i].val != boolval) in check_nth_terminal() 747 (num[i].val != numval)) in check_nth_terminal() 836 PR(stdout, str[i].val); in check_nth_terminal() 843 PR(trace, str[i].val); in check_nth_terminal() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/smbclnt/mount/ |
H A D | mount.c | 415 #define bad(val) (val == NULL || !isdigit(*val)) argument 423 long val; in setsubopt() local 498 val = strtol(optarg, &p, 10); in setsubopt() 514 mdatap->acregmin = val; in setsubopt() 523 mdatap->acregmax = val; in setsubopt() 532 mdatap->acdirmin = val; in setsubopt() 541 mdatap->acdirmax = val; in setsubopt() 586 val = strtol(optarg, &p, 8); in setsubopt() 589 mdatap->dir_mode = val; in setsubopt() 594 val = strtol(optarg, &p, 8); in setsubopt() [all …]
|
/illumos-gate/usr/src/common/elfcap/ |
H A D | elfcap.c | 570 if (val == 0) in expand() 576 if ((val & mask) != 0) { in expand() 587 val = val & ~mask; in expand() 594 if (val) { in expand() 599 (void) snprintf(str, slen, "0x%x", val); in expand() 619 return (expand(style, val, &hw1_386[0], ELFCAP_NUM_HW1_386, in elfcap_hw1_to_str() 624 return (expand(style, val, hw1_sparc, ELFCAP_NUM_HW1_SPARC, in elfcap_hw1_to_str() 645 return (expand(style, val, &hw2_386[0], ELFCAP_NUM_HW2_386, in elfcap_hw2_to_str() 648 return (expand(style, val, NULL, 0, str, len, fmt)); in elfcap_hw2_to_str() 666 return (expand(style, val, &hw3_386[0], ELFCAP_NUM_HW3_386, in elfcap_hw3_to_str() [all …]
|
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | wcstoul.c | 59 _WULONG_T val; in wcstoull() local 105 val = DIGIT(c); in wcstoull() 108 if (val > multmax) in wcstoull() 110 val *= base; in wcstoull() 111 if (_WULONG_MAX - val < xx) in wcstoull() 113 val += xx; in wcstoull() 117 return (neg ? -val : val); in wcstoull()
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | cap.c | 310 Xword val = cptr->c_un.c_val; in cap_check() local 319 val &= ~AV_HW1_IGNORE; in cap_check() 348 str = strs + val; in cap_check() 366 str = strs + val; in cap_check() 918 Xword val = 0; in cap_modify() local 985 if (val == 0) { in cap_modify() 1214 val &= ~AV_HW1_IGNORE; in sym_cap_check() 1216 bestcapset->sc_hw_1 = val; in sym_cap_check() 1224 bestcapset->sc_sf_1 = val; in sym_cap_check() 1248 str = STRTAB(lmp) + val; in sym_cap_check() [all …]
|
/illumos-gate/usr/src/uts/common/io/mxfe/ |
H A D | mxfe.c | 741 unsigned val; in mxfe_initialize() local 752 if (!(val & PAR_RESET)) { in mxfe_initialize() 2688 *val = mxfep->mxfe_rbytes; in mxfe_m_stat() 2696 *val = mxfep->mxfe_obytes; in mxfe_m_stat() 2712 *val = mxfep->mxfe_errrcv; in mxfe_m_stat() 2716 *val = mxfep->mxfe_errxmt; in mxfe_m_stat() 2720 *val = mxfep->mxfe_duplex; in mxfe_m_stat() 2780 *val = mxfep->mxfe_runt; in mxfe_m_stat() 2869 *val = mxfep->mxfe_phyid; in mxfe_m_stat() 2885 void *val) in mxfe_m_getprop() argument [all …]
|