/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | bnxe_hw_debug.c | 67 u32_t val, i; in lm_disable_timer() local 70 val = REG_RD(pdev, MISC_REG_CHIP_NUM); in lm_disable_timer() 71 if ((val == 5713) || (val == 5714) || (val == 5730) || (val == 5731)) { in lm_disable_timer() 77 val = REG_RD(pdev,TM_REG_EN_LINEAR0_TIMER); in lm_disable_timer() 78 if (val == 0) { in lm_disable_timer() 87 val = REG_RD(pdev,TM_REG_LIN0_SCAN_ON); in lm_disable_timer() 88 if (val == 0) { in lm_disable_timer() 97 val = REG_RD(pdev,TM_REG_EN_LINEAR1_TIMER); in lm_disable_timer() 98 if (val == 0) { in lm_disable_timer() 107 val = REG_RD(pdev,TM_REG_LIN1_SCAN_ON); in lm_disable_timer() [all …]
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | kfree.c | 39 krb5_free_address(krb5_context context, krb5_address *val) in krb5_free_address() argument 41 if (val->contents) in krb5_free_address() 42 krb5_xfree_wrap(val->contents, val->length); in krb5_free_address() 43 krb5_xfree_wrap(val, sizeof(krb5_address)); in krb5_free_address() 48 krb5_free_addresses(krb5_context context, krb5_address **val) in krb5_free_addresses() argument 52 for (temp = val; *temp; temp++) { in krb5_free_addresses() 57 krb5_xfree(val); in krb5_free_addresses() 62 krb5_free_ap_rep(krb5_context context, register krb5_ap_rep *val) in krb5_free_ap_rep() argument 64 if (val->enc_part.ciphertext.data) { in krb5_free_ap_rep() 65 krb5_xfree(val->enc_part.ciphertext.data); in krb5_free_ap_rep() [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | asn1_k_decode.c | 351 asn1_error_code asn1_decode_kerberos_time(asn1buf *buf, krb5_timestamp *val) in asn1_decode_kerberos_time() argument 360 *val = t; in asn1_decode_kerberos_time() 365 asn1_error_code fname(asn1buf * buf, ktype * val)\ 371 *val = (ktype)n;\ 375 asn1_error_code fname(asn1buf * buf, ktype * val)\ 381 *val = (ktype)n;\ 395 asn1_error_code asn1_decode_seqnum(asn1buf *buf, krb5_ui_4 *val) in integer_convert() 402 *val = (krb5_ui_4)n & 0xffffffff; in integer_convert() 406 asn1_error_code asn1_decode_msgtype(asn1buf *buf, krb5_msgtype *val) in asn1_decode_msgtype() argument 414 *val = (krb5_msgtype) n; in asn1_decode_msgtype() [all …]
|
H A D | asn1_k_decode.h | 71 (asn1buf *buf, int *val); 73 (asn1buf *buf, krb5_int32 *val); 75 (asn1buf *buf, krb5_kvno *val); 77 (asn1buf *buf, krb5_enctype *val); 79 (asn1buf *buf, krb5_msgtype *val); 81 (asn1buf *buf, krb5_cksumtype *val); 83 (asn1buf *buf, krb5_octet *val); 85 (asn1buf *buf, krb5_addrtype *val); 87 (asn1buf *buf, krb5_authdatatype *val); 89 (asn1buf *buf, krb5_ui_2 *val); [all …]
|
H A D | asn1_k_encode.c | 120 asn1_encode_kerberos_time_at(asn1buf *buf, const krb5_timestamp *val, in asn1_encode_kerberos_time_at() argument 124 time_t tval = *val; in asn1_encode_kerberos_time_at() 142 const krb5_enc_data *val = vptr; in optional_encrypted_data() local 145 if (val->kvno != 0) in optional_encrypted_data() 163 asn1_encode_krb5_flags_at(asn1buf *buf, const krb5_flags *val, in asn1_encode_krb5_flags_at() argument 167 store_32_be((krb5_ui_4) *val, cbuf); in asn1_encode_krb5_flags_at() 264 const krb5_enc_kdc_rep_part *val = p; in optional_enc_kdc_rep_part() local 267 if (val->key_exp) in optional_enc_kdc_rep_part() 269 if (val->times.starttime) in optional_enc_kdc_rep_part() 271 if (val->flags & TKT_FLG_RENEWABLE) in optional_enc_kdc_rep_part() [all …]
|
/titanic_41/usr/src/lib/libm/common/m9x/ |
H A D | __fex_sparc.c | 205 info->op2.val.i = *(int*)FPreg(rs2); in __fex_get_op() 209 info->op2.val.l = *(long long*)FPREG(rs2); in __fex_get_op() 215 info->op1.val.f = *(float*)FPreg(rs1); in __fex_get_op() 216 info->op2.val.f = *(float*)FPreg(rs2); in __fex_get_op() 221 info->op1.val.d = *(double*)FPREG(rs1); in __fex_get_op() 222 info->op2.val.d = *(double*)FPREG(rs2); in __fex_get_op() 227 info->op1.val.q = *(long double*)FPREG(rs1); in __fex_get_op() 228 info->op2.val.q = *(long double*)FPREG(rs2); in __fex_get_op() 242 c = (info->op1.val.f == info->op2.val.f); in __fex_get_op() 246 c = (info->op1.val.d == info->op2.val.d); in __fex_get_op() [all …]
|
H A D | __fex_i386.c | 607 info->op1.val.f = *(float *)ea; in __fex_get_op() 609 info->res.val.q = (long double) info->op1.val.f; in __fex_get_op() 622 info->op1.val.d = *(double *)ea; in __fex_get_op() 624 info->res.val.q = (long double) info->op1.val.d; in __fex_get_op() 644 info->res.val.f = *(float *)ea; in __fex_get_op() 649 info->op1.val.q = fpreg(uap, 0); in __fex_get_op() 650 info->res.val.f = (float) info->op1.val.q; in __fex_get_op() 669 info->res.val.i = *(int *)ea; in __fex_get_op() 674 info->op1.val.q = fpreg(uap, 0); in __fex_get_op() 675 info->res.val.i = (int) info->op1.val.q; in __fex_get_op() [all …]
|
/titanic_41/usr/src/cmd/truss/ |
H A D | print.c | 99 prt_nov(private_t *pri, int raw, long val) /* print nothing */ in prt_nov() argument 105 prt_dec(private_t *pri, int raw, long val) /* print as decimal */ in prt_dec() argument 110 "%d", (int)val); in prt_dec() 113 "%ld", val); in prt_dec() 118 prt_uns(private_t *pri, int raw, long val) /* print as unsigned decimal */ in prt_uns() argument 123 "%u", (int)val); in prt_uns() 126 "%lu", val); in prt_uns() 131 prt_un1(private_t *pri, int raw, long val) in prt_un1() argument 133 if ((int)val == -1) in prt_un1() 134 prt_dec(pri, raw, val); in prt_un1() [all …]
|
/titanic_41/usr/src/cmd/dtrace/test/tst/common/aggs/ |
H A D | tst.neglquant.d | 36 val = 123; 41 @["k-ingleside"] = lquantize(1, 0, 10, 1, -val); 46 @["l-taraval"] = lquantize(0, 0, 10, 1, -val); 47 @["l-taraval"] = lquantize(-1, 0, 10, 1, -val); 48 @["l-taraval"] = lquantize(1, 0, 10, 1, val); 49 @["l-taraval"] = lquantize(1, 0, 10, 1, val); 62 @["n-judah"] = lquantize(1, 0, 10, 1, val); 63 @["n-judah"] = lquantize(2, 0, 10, 1, val); 64 @["n-judah"] = lquantize(2, 0, 10, 1, val); 71 this->val = (1 << 63) - 1; [all …]
|
H A D | tst.negquant.d | 36 val = 123; 41 @["k-ingleside"] = quantize(1, -val); 46 @["l-taraval"] = quantize(0, -val); 47 @["l-taraval"] = quantize(-1, -val); 48 @["l-taraval"] = quantize(1, val); 49 @["l-taraval"] = quantize(1, val); 62 @["n-judah"] = quantize(1, val); 63 @["n-judah"] = quantize(2, val); 64 @["n-judah"] = quantize(2, val); 71 this->val = (1 << 63) - 1; [all …]
|
/titanic_41/usr/src/lib/libnisdb/ |
H A D | ldap_val.c | 245 freeValue(__nis_value_t *val, int count) { in freeValue() argument 248 if (val == 0) in freeValue() 252 if (val[c].val != 0) { in freeValue() 253 for (i = 0; i < val[c].numVals; i++) { in freeValue() 254 sfree(val[c].val[i].value); in freeValue() 256 free(val[c].val); in freeValue() 260 free(val); in freeValue() 264 cloneValue(__nis_value_t *val, int count) { in cloneValue() argument 269 if (count <= 0 || val == 0) in cloneValue() 277 n[c].type = val[c].type; in cloneValue() [all …]
|
/titanic_41/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_mac.c | 38 #define XMAC_WAIT_REG(handle, portn, reg, val) {\ argument 42 XMAC_REG_RD(handle, portn, reg, &val);\ 44 } while (((val & 0x3) != 0) && (cnt > 0));\ 47 #define BMAC_WAIT_REG(handle, portn, reg, val) {\ argument 51 BMAC_REG_RD(handle, portn, reg, &val);\ 53 } while (((val & 0x3) != 0) && (cnt > 0));\ 587 PCS_REG_RD(handle, portn, PCS_CONFIG_REG, &pcs_cfg.val.lsw); in npi_mac_pcs_link_intr_disable() 589 PCS_REG_WR(handle, portn, PCS_CONFIG_REG, pcs_cfg.val.lsw); in npi_mac_pcs_link_intr_disable() 601 XPCS_REG_RD(handle, portn, XPCS_MASK_1_REG, &xpcs_mask1.val.lsw); in npi_xmac_xpcs_link_intr_enable() 603 XPCS_REG_WR(handle, portn, XPCS_MASK_1_REG, xpcs_mask1.val.lsw); in npi_xmac_xpcs_link_intr_enable() [all …]
|
H A D | npi_zcp.c | 38 uint64_t val = 0; in npi_zcp_config() local 51 NXGE_REG_RD64(handle, ZCP_CONFIG_REG, &val); in npi_zcp_config() 54 val |= ZC_ENABLE; in npi_zcp_config() 56 val &= ~ECC_CHK_DIS; in npi_zcp_config() 58 val &= ~PAR_CHK_DIS; in npi_zcp_config() 60 val &= ~DIS_BUFF_RN; in npi_zcp_config() 62 val &= ~DIS_BUFF_RQ_IF; in npi_zcp_config() 65 val &= ~ZC_ENABLE; in npi_zcp_config() 67 val |= ECC_CHK_DIS; in npi_zcp_config() 69 val |= PAR_CHK_DIS; in npi_zcp_config() [all …]
|
H A D | npi_espc.c | 32 const char *prop, int len, char *val); 52 uint64_t val = 0; in npi_espc_eeprom_entry() local 64 val = EPC_WRITE_INITIATE | (addr << EPC_EEPROM_ADDR_SHIFT) | in npi_espc_eeprom_entry() 66 NXGE_REG_WR64(handle, ESPC_REG_ADDR(ESPC_PIO_STATUS_REG), val); in npi_espc_eeprom_entry() 67 EPC_WAIT_RW_COMP(handle, &val, EPC_WRITE_COMPLETE); in npi_espc_eeprom_entry() 68 if ((val & EPC_WRITE_COMPLETE) == 0) { in npi_espc_eeprom_entry() 72 val)); in npi_espc_eeprom_entry() 77 val = EPC_READ_INITIATE | (addr << EPC_EEPROM_ADDR_SHIFT); in npi_espc_eeprom_entry() 78 NXGE_REG_WR64(handle, ESPC_REG_ADDR(ESPC_PIO_STATUS_REG), val); in npi_espc_eeprom_entry() 79 EPC_WAIT_RW_COMP(handle, &val, EPC_READ_COMPLETE); in npi_espc_eeprom_entry() [all …]
|
/titanic_41/usr/src/lib/libshell/common/scripts/ |
H A D | shpiano.sh | 94 ["C3"]=( val=tones["C3"] ) ["key_d"]=( val=tones["C3"] ) 95 ["C#3"]=( val=tones["C#3"] ) ["key_r"]=( val=tones["C#3"] ) 96 ["D3"]=( val=tones["D3"] ) ["key_f"]=( val=tones["D3"] ) 97 ["D#3"]=( val=tones["D#3"] ) ["key_t"]=( val=tones["D#3"] ) 98 ["E3"]=( val=tones["E3"] ) ["key_g"]=( val=tones["E3"] ) 99 ["F3"]=( val=tones["F3"] ) ["key_h"]=( val=tones["F3"] ) 100 ["F#3"]=( val=tones["F#3"] ) ["key_u"]=( val=tones["F#3"] ) 101 ["G3"]=( val=tones["G3"] ) ["key_j"]=( val=tones["G3"] ) 102 ["G#3"]=( val=tones["G#3"] ) ["key_i"]=( val=tones["G#3"] ) 103 ["A3"]=( val=tones["A3"] ) ["key_k"]=( val=tones["A3"] ) [all …]
|
/titanic_41/usr/src/lib/libast/common/features/ |
H A D | limits.c | 93 unsigned long val; in main() local 107 val = 1; in main() 108 while (uc >>= 1) val++; in main() 109 printf("#define CHAR_BIT %lu\n", val); in main() 112 val = 1; in main() 113 printf("#define MB_LEN_MAX %lu\n", val); in main() 132 val = uc; in main() 134 printf("#define UCHAR_MAX %luU\n", val); in main() 136 printf("#define UCHAR_MAX %lu\n", val); in main() 141 val = (unsigned char)(uc >> 1) + 1; in main() [all …]
|
/titanic_41/usr/src/lib/libnsl/rpc/ |
H A D | xdr_float.c | 80 int64_t val; in xdr_double() local 86 val = BE_64(*i64p); in xdr_double() 87 return (XDR_PUTBYTES(xdrs, (char *)&val, sizeof (val))); in xdr_double() 140 int32_t val; in xdr_float() local 146 val = 0; in xdr_float() 147 return (XDR_PUTINT32(xdrs, &val)); in xdr_float() 165 val = neg; in xdr_float() 166 val = val << 8; /* for the exponent */ in xdr_float() 167 val += 127 + exp; /* 127 is the bias */ in xdr_float() 168 val = val << 23; /* for the mantissa */ in xdr_float() [all …]
|
/titanic_41/usr/src/cmd/avs/sdbc/ |
H A D | sdbc_dynmem.c | 168 int val; in sd_dynmem_lintmain() local 202 val = atoi(*pargs); in sd_dynmem_lintmain() 204 val); in sd_dynmem_lintmain() 206 (p_dynmem_knp+MONITOR)->newval = val; in sd_dynmem_lintmain() 210 val = atoi(*pargs); in sd_dynmem_lintmain() 212 val); in sd_dynmem_lintmain() 214 (p_dynmem_knp+AGECT1)->newval = val; in sd_dynmem_lintmain() 218 val = atoi(*pargs); in sd_dynmem_lintmain() 220 val); in sd_dynmem_lintmain() 222 (p_dynmem_knp+AGECT2)->newval = val; in sd_dynmem_lintmain() [all …]
|
/titanic_41/usr/src/uts/intel/io/intel_nb5000/ |
H A D | nb5000.h | 745 #define FERR_GLOBAL_WR(val) \ argument 748 nb_pci_putl(0, 16, 2, 0x48, (uint32_t)(val >> 32)); \ 749 nb_pci_putl(0, 16, 2, 0x40, (uint32_t)val); \ 751 nb_pci_putl(0, 16, 2, 0x40, (uint32_t)val); \ 753 #define NERR_GLOBAL_WR(val) nb_pci_putl(0, 16, 2, 0x44, val) argument 754 #define FERR_FAT_FSB_WR(fsb, val) ((nb_chipset == INTEL_NB_7300) ? \ argument 755 nb_pci_putb(0, 17, (fsb & 2) ? 3 : 0, (fsb & 1) ? 0xc0 : 0x40, val) : \ 756 nb_pci_putb(0, 16, 0, fsb ? 0x480 : 0x180, val)) 757 #define FERR_NF_FSB_WR(fsb, val) ((nb_chipset == INTEL_NB_7300) ? \ argument 758 nb_pci_putb(0, 17, (fsb & 2) ? 3 : 0, (fsb & 1) ? 0xc1 : 0x41, val) : \ [all …]
|
/titanic_41/usr/src/uts/common/io/rge/ |
H A D | rge_kstats.c | 156 rge_m_stat(void *arg, uint_t stat, uint64_t *val) in rge_m_stat() argument 168 *val = rgep->param_link_speed * 1000000ull; in rge_m_stat() 172 *val = RGE_BSWAP_32(bstp->multi_rcv); in rge_m_stat() 176 *val = RGE_BSWAP_64(bstp->brdcst_rcv); in rge_m_stat() 180 *val = RGE_BSWAP_16(bstp->in_discards); in rge_m_stat() 184 *val = RGE_BSWAP_32(bstp->rcv_err); in rge_m_stat() 188 *val = RGE_BSWAP_64(bstp->xmt_err); in rge_m_stat() 192 *val = RGE_BSWAP_32(bstp->xmt_1col + bstp->xmt_mcol); in rge_m_stat() 196 *val = rgep->stats.rbytes; in rge_m_stat() 200 *val = RGE_BSWAP_64(bstp->rcv_ok); in rge_m_stat() [all …]
|
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_copies/ |
H A D | zfs_copies_002_pos.ksh | 46 typeset val 48 for val in 1 2 3; do 49 if datasetexists $TESTPOOL/fs_$val; then 50 log_must $ZFS destroy $TESTPOOL/fs_$val 58 for val in 1 2 3; do 59 log_must $ZFS create -o copies=$val $TESTPOOL/fs_$val 61 log_must $MKFILE $FILESIZE /$TESTPOOL/fs_$val/$FILE 74 for val in 1 2 3; do 75 used=$(get_used_prop $TESTPOOL/fs_$val) 76 check_used $used $val [all …]
|
/titanic_41/usr/src/cmd/audio/audioconvert/ |
H A D | parse.cc | 87 char *val, in fileformat_parse() argument 91 if (strcasecmp(val, "sun") == 0) { in fileformat_parse() 93 } else if (strcasecmp(val, "raw") == 0) { in fileformat_parse() 95 } else if (strcasecmp(val, "aiff") == 0) { in fileformat_parse() 107 char *val, in audioformat_parse() argument 112 if (strcasecmp(val, "dat") == 0) { in audioformat_parse() 118 } else if (strcasecmp(val, "cd") == 0) { in audioformat_parse() 124 } else if (strcasecmp(val, "voice") == 0) { in audioformat_parse() 148 char *val; in parse_format() local 178 val = cp2; in parse_format() [all …]
|
/titanic_41/usr/src/lib/libsec/common/ |
H A D | acl_lex.l | 95 yylval.val = USER_TOK; 100 yylval.val = USER_SID_TOK; 105 yylval.val = OWNERAT_TOK; 110 yylval.val = GROUPAT_TOK; 115 yylval.val = EVERYONEAT_TOK; 120 yylval.val = GROUP_TOK; 125 yylval.val = GROUP_SID_TOK; 130 yylval.val = GROUP_SID_TOK; 135 yylval.val = MASK_TOK; 140 yylval.val = MASK_TOK; [all …]
|
/titanic_41/usr/src/cmd/lvm/metassist/common/ |
H A D | volume_defaults.h | 212 defaults_t *defaults, char *diskset, uint16_t val); 237 defaults_t *defaults, char *diskset, uint16_t *val); 263 defaults_t *defaults, char *diskset, mirror_read_strategy_t val); 287 defaults_t *defaults, char *diskset, mirror_read_strategy_t *val); 313 defaults_t *defaults, char *diskset, mirror_write_strategy_t val); 338 defaults_t *defaults, char *diskset, mirror_write_strategy_t *val); 364 defaults_t *defaults, char *diskset, uint16_t val); 388 defaults_t *defaults, char *diskset, uint16_t *val); 414 defaults_t *defaults, char *diskset, boolean_t val); 439 defaults_t *defaults, char *diskset, boolean_t *val); [all …]
|
/titanic_41/usr/src/lib/krb5/kadm5/ |
H A D | misc_free.c | 33 kadm5_free_policy_ent(void *server_handle, kadm5_policy_ent_t val) in kadm5_free_policy_ent() argument 39 if(val) { in kadm5_free_policy_ent() 40 if (val->policy) in kadm5_free_policy_ent() 41 free(val->policy); in kadm5_free_policy_ent() 43 free(val); in kadm5_free_policy_ent() 96 kadm5_principal_ent_t val) in kadm5_free_principal_ent() argument 103 if(val) { in kadm5_free_principal_ent() 104 if(val->principal) in kadm5_free_principal_ent() 105 krb5_free_principal(handle->context, val->principal); in kadm5_free_principal_ent() 106 if(val->mod_name) in kadm5_free_principal_ent() [all …]
|