/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | adutils.c | 258 char *value, in idmap_setqresults() argument 294 if (q->value != NULL && value != NULL) { in idmap_setqresults() 295 *q->value = value; in idmap_setqresults() 296 value = NULL; in idmap_setqresults() 339 free(value); in idmap_setqresults() 392 char *value = NULL; in idmap_extract_object() local 496 attr, value, in idmap_extract_object() 626 q->value = value; in idmap_batch_add1() 678 if (value != NULL) in idmap_batch_add1() 679 *value = NULL; in idmap_batch_add1() [all …]
|
/illumos-gate/usr/src/cmd/tip/ |
H A D | tipout.c | 55 if (boolean(value(SCRIPT)) && fscript != NULL) in intEMT() 58 boolean(value(SCRIPT)) = FALSE; in intEMT() 65 boolean(value(SCRIPT)) = TRUE; in intEMT() 76 if (boolean(value(SCRIPT)) && fscript != NULL) in intTERM() 85 boolean(value(BEAUTIFY)) = !boolean(value(BEAUTIFY)); in intSYS() 153 if (boolean(value(SCRIPT)) && fscript != NULL) { in tipout() 154 if (!boolean(value(BEAUTIFY))) { in tipout() 159 any(*cp, value(EXCEPTIONS))) in tipout()
|
/illumos-gate/usr/src/lib/fm/topo/maps/Joyent,Joyent-Compute-Platform-1101/ |
H A D | Joyent-Compute-Platform-1101-disk-hc-topology.xmlgenksh | 23 <propval name='label' type='string' value='${2}' /> 27 <propval name='driver' type='string' value='mpt_sas' /> 28 <propval name='devctl' type='string' value='${3}' /> 29 <propval name='enclosure' type='uint32' value='${4}' /> 30 <propval name='slot' type='uint32' value='${5}' /> 43 <propval name='type' type='uint32' value='0' /> 52 <propval name='type' type='uint32' value='1' /> 61 <propval name='type' type='uint32' value='2' />
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_snapshot/ |
H A D | zfs_snapshot_006_pos.ksh | 62 typeset value=$(get_prop $user_prop $dtst) 63 if [[ $source == '-' && $value == '-' ]]; then 78 value=$(user_property_value 16) 80 log_must eval "zfs snapshot -o $prop_name='$value' $fssnap" 89 log_must eval "zfs snapshot -o $prop_name='$value' -o $prop_name2='$value2' $fssnap" 98 value=$(user_property_value 16) 100 log_must eval "zfs snapshot -r -o $prop_name='$value' $TESTPOOL@snap" 114 log_must eval "zfs snapshot -r -o $prop_name='$value' -o $prop_name2='$value2' $TESTPOOL@snap"
|
H A D | zfs_snapshot_007_neg.ksh | 62 typeset value=$(get_prop $user_prop $dtst) 63 if [[ $source == '-' && $value == '-' ]]; then 88 value=$(user_property_value 16) 90 log_must eval "zfs snapshot -o $prop_name='$value' $fssnap" 99 log_must eval "zfs snapshot -o $prop_name='$value' -o $prop_name2='$value2' $fssnap" 110 value=$(user_property_value 16) 112 log_must eval "zfs snapshot -r -o $prop_name='$value' $TESTPOOL@snap" 124 log_must eval "zfs snapshot -r -o $prop_name='$value' -o $prop_name2='$value2' $TESTPOOL@snap"
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/posix/ |
H A D | setenv.c | 56 krb5_setenv(name, value, rewrite) in krb5_setenv() argument 58 register const char *value; 62 return (setenv(name, value, rewrite)); 69 if (*value == '=') /* no `=' in value */ 70 ++value; 71 l_value = strlen(value); 76 while ((*c++ = *value++)); 107 for (*c++ = '='; (*c++ = *value++););
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_cfg.c | 378 char *value; in smb_config_getenv_generic() local 385 free(value); in smb_config_getenv_generic() 394 free(value); in smb_config_getenv_generic() 399 return (value); in smb_config_getenv_generic() 405 char *name, char *value) in smb_config_setenv_generic() argument 693 if (protected && value && (*value != '\0')) { in smb_config_setstr() 700 value = tmp; in smb_config_setstr() 800 cint = atoi(value); in smb_config_set() 953 IDMAP_PREF_DC, value)); in smb_config_set_idmap_preferred_dc() 989 IDMAP_DOMAIN, value)); in smb_config_set_idmap_domain() [all …]
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | pci_hda.c | 143 uint32_t value); 166 uint32_t value); 291 sc->regs[offset] = value; in hda_set_reg_by_offset() 320 const char *value; in hda_init() local 342 if (value == NULL) in hda_init() 345 play = strdup(value); in hda_init() 347 if (value == NULL) in hda_init() 350 rec = strdup(value); in hda_init() 1262 uint64_t value) in pci_hda_write() argument 1281 uint64_t value = 0; in pci_hda_read() local [all …]
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex.c | 186 value(vi_READONLY) = 1; in main() 189 value(vi_NOVICE) = 1; in main() 190 value(vi_REPORT) = 1; in main() 191 value(vi_MAGIC) = 0; in main() 192 value(vi_SHOWMODE) = 1; in main() 194 value(vi_NOVICE) = 1; in main() 195 value(vi_REPORT) = 1; in main() 196 value(vi_MAGIC) = 0; in main() 197 value(vi_SHOWMODE) = 1; in main() 296 value(vi_LISP) = 1; in main() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | gic_opt.c | 295 const char *value) in add_gic_opt_ext_preauth_data() argument 314 newpad[i].value = strdup(value); in add_gic_opt_ext_preauth_data() 315 if (newpad[i].value == NULL) { in add_gic_opt_ext_preauth_data() 336 const char *value) in krb5_get_init_creds_opt_set_pa() argument 403 p[i].value = NULL; in krb5_get_init_creds_opt_get_pa() 408 p[i].value = strdup(opte->opt_private->preauth_data[i].value); in krb5_get_init_creds_opt_get_pa() 409 if (p[i].attr == NULL || p[i].value == NULL) in krb5_get_init_creds_opt_get_pa() 419 if (p[i].value != NULL) in krb5_get_init_creds_opt_get_pa() 420 free(p[i].value); in krb5_get_init_creds_opt_get_pa() 443 if (preauth_data[i].value != NULL) in krb5_get_init_creds_opt_free_pa() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_parse.c | 84 char *cp, ch, *tag, *value; in parse_std_line() local 173 value = cp; in parse_std_line() 174 if (value[0] == '"') { in parse_std_line() 175 value++; in parse_std_line() 176 parse_quoted_string(value); in parse_std_line() 177 } else if (value[0] == 0) { in parse_std_line() 180 } else if (value[0] == '{' && *(skip_over_blanks(value+1)) == 0) in parse_std_line() 183 cp = value + strlen(value) - 1; in parse_std_line() 391 char *name, *value; in dump_profile() local 396 &name, &value); in dump_profile() [all …]
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | solaris.c | 331 fkp->fks_pass.value.ul = fsp->fr_pass; in ipf_kstat_update() 333 fkp->fks_nom.value.ul = fsp->fr_nom; in ipf_kstat_update() 335 fkp->fks_ppkl.value.ul = fsp->fr_ppkl; in ipf_kstat_update() 336 fkp->fks_bpkl.value.ul = fsp->fr_bpkl; in ipf_kstat_update() 337 fkp->fks_npkl.value.ul = fsp->fr_npkl; in ipf_kstat_update() 338 fkp->fks_pkl.value.ul = fsp->fr_pkl; in ipf_kstat_update() 340 fkp->fks_ret.value.ul = fsp->fr_ret; in ipf_kstat_update() 343 fkp->fks_nfr.value.ul = fsp->fr_nfr; in ipf_kstat_update() 344 fkp->fks_cfr.value.ul = fsp->fr_cfr; in ipf_kstat_update() 346 fkp->fks_ads.value.ul = fsp->fr_ads; in ipf_kstat_update() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | pmubus.c | 397 uint8_t value; in pmubus_get8() local 405 pmubus_mapreqp->mapreq_size != sizeof (value)) { in pmubus_get8() 421 return (value); in pmubus_get8() 440 uint32_t value; in pmubus_get32() local 464 return (value); in pmubus_get32() 505 value &= pmubus_mapreqp->mapreq_mask; in pmubus_put8() 506 tmp |= value; in pmubus_put8() 514 "value=%x\n", (void *)addr, offset, value)); in pmubus_put8() 559 value &= pmubus_mapreqp->mapreq_mask; in pmubus_put32() 560 tmp |= value; in pmubus_put32() [all …]
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | cpucaps.c | 314 cap->cap_value = value; in cap_enable() 658 hrtime_t value; in cpucaps_zone_set() local 696 if (value < 0) in cpucaps_zone_set() 697 value = MAX_USAGE; in cpucaps_zone_set() 749 cap->cap_value = value; in cpucaps_zone_set() 840 hrtime_t value; in cpucaps_project_set() local 881 if (value < 0) in cpucaps_project_set() 882 value = MAX_USAGE; in cpucaps_project_set() 905 cap->cap_value = value; in cpucaps_project_set() 1134 capsp->cap_value.value.ui64 = in cap_kstat_update() [all …]
|
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_identity.c | 418 const char *value) in process_option_identity() argument 425 __FUNCTION__, value ? value : "NULL"); in process_option_identity() 426 if (value == NULL) in process_option_identity() 433 typelen = residual - value; in process_option_identity() 448 __FUNCTION__, value); in process_option_identity() 451 value); in process_option_identity() 456 residual = value; in process_option_identity() 507 const char *value, in process_option_ca_crl() argument 544 const char *value) in pkinit_identity_process_option() argument 557 id_cryptoctx, value, in pkinit_identity_process_option() [all …]
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_gld.c | 693 uint8_t value; in ixgbe_m_propinfo() local 810 int value; in ixgbe_m_propinfo() local 821 value = DEFAULT_TX_COPY_THRESHOLD; in ixgbe_m_propinfo() 1002 int value; in ixgbe_get_priv_prop() local 1015 value = ixgbe->tx_copy_thresh; in ixgbe_get_priv_prop() 1020 value = ixgbe->tx_recycle_thresh; in ixgbe_get_priv_prop() 1025 value = ixgbe->tx_overload_thresh; in ixgbe_get_priv_prop() 1030 value = ixgbe->tx_resched_thresh; in ixgbe_get_priv_prop() 1035 value = ixgbe->rx_copy_thresh; in ixgbe_get_priv_prop() 1040 value = ixgbe->rx_limit_per_intr; in ixgbe_get_priv_prop() [all …]
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | opl_cfg.h | 206 #define OPL_HI(value) ((uint32_t)((uint64_t)(value) >> 32)) argument 207 #define OPL_LO(value) ((uint32_t)(value)) argument 238 #define opl_prop_get_int(dip, name, value, defvalue) \ argument 240 *(value) = ddi_getprop(DDI_DEV_T_ANY, dip, \ 242 (*(value) == defvalue) ? DDI_PROP_NOT_FOUND : DDI_PROP_SUCCESS \ 249 #define OPL_GET_PROP(type, dip, name, value, arg) \ argument 250 opl_prop_get_##type(dip, name, value, arg) 265 #define OPL_UPDATE_PROP(type, dip, name, value) \ argument 266 ret = ndi_prop_update_##type(DDI_DEV_T_NONE, dip, name, value); \
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hpi_vir.c | 50 gnum.value = 0; in hpi_fzc_ldg_num_set() 53 HXGE_REG_WR32(handle, LD_GRP_CTRL + LD_NUM_OFFSET(ld), gnum.value); in hpi_fzc_ldg_num_set() 164 &mgm.value); in hpi_intr_ldg_mgmt_set() 168 HXGE_REG_WR32(handle, LD_INTR_MGMT + LDSV_OFFSET(ldg), mgm.value); in hpi_intr_ldg_mgmt_set() 192 tm.value = 0; in hpi_fzc_ldg_timer_res_set() 195 HXGE_REG_WR32(handle, LD_INTR_TIM_RES, tm.value); in hpi_fzc_ldg_timer_res_set() 222 sd.value = 0; in hpi_fzc_sid_set() 224 HXGE_REG_WR32(handle, SID + LDG_SID_OFFSET(sid.ldg), sd.value); in hpi_fzc_sid_set() 237 dev_mask.value = 0; in hpi_fzc_sys_err_mask_set() 247 HXGE_REG_WR32(handle, DEV_ERR_MASK, dev_mask.value); in hpi_fzc_sys_err_mask_set() [all …]
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | addisc.c | 237 if (item->value != NULL) { in is_valid() 252 if (item->value != NULL && value != NULL) { in update_item() 254 strcmp(item->value, value) != 0) || in update_item() 256 ad_disc_compare_uuid(item->value, value) != 0)|| in update_item() 258 ad_disc_compare_ds(item->value, value) != 0)|| in update_item() 260 ad_disc_compare_domainsinforest(item->value, value) != 0) || in update_item() 262 ad_disc_compare_trusteddomains(item->value, value) != 0)) in update_item() 264 } else if (item->value != value) in update_item() 267 if (item->value != NULL) in update_item() 268 free(item->value); in update_item() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/ |
H A D | insert_manual_states.pl | 32 my $value = shift; 53 $insert->execute($file, $func, 0, $return_id, $ret, $static, $type, $param, $key, $value); 57 my ($ret, $insert, $file, $func, $type, $param, $key, $value); 80 ($type, $param, $key, $value) = split(/,/, $insert); 85 $value =~ s/^["\s]+|["\s]+$//g; 86 chomp($value); 88 insert_record($file, $func, $ret, $type, $param, $key, $value);
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lcompat.c | 28 int64_t value; in lcompat_strtoll() local 50 value = 0; in lcompat_strtoll() 64 value = (value * base) + digits; in lcompat_strtoll() 71 value = -value; in lcompat_strtoll() 73 return (value); in lcompat_strtoll()
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_util.c | 573 nwam_valid_boolean(nwam_value_t value) in nwam_valid_boolean() argument 591 nwam_valid_uint64(nwam_value_t value) in nwam_valid_uint64() argument 609 nwam_valid_domain(nwam_value_t value) in nwam_valid_domain() argument 655 nwam_valid_host_v4(nwam_value_t value) in nwam_valid_host_v4() argument 684 nwam_valid_route_v4(nwam_value_t value) in nwam_valid_route_v4() argument 700 nwam_valid_host_v6(nwam_value_t value) in nwam_valid_host_v6() argument 729 nwam_valid_route_v6(nwam_value_t value) in nwam_valid_route_v6() argument 744 nwam_valid_host_any(nwam_value_t value) in nwam_valid_host_any() argument 763 nwam_valid_file(nwam_value_t value) in nwam_valid_file() argument 789 nwam_valid_fmri(nwam_value_t value) in nwam_valid_fmri() argument [all …]
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | mygetenv.c | 39 char *value; in mygetenv() local 41 value = getenv(variable); in mygetenv() 42 if (value == (char *)NULL || *value == '\0') { in mygetenv() 45 return (value); in mygetenv()
|
/illumos-gate/usr/src/uts/intel/ia32/krtld/ |
H A D | doreloc.c | 215 do_reloc_ld(Rel_desc *rdesc, uchar_t *off, Xword *value, in do_reloc_ld() argument 220 do_reloc_rtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, in do_reloc_ld() 236 *((uchar_t *)off) += (uchar_t)(*value); in do_reloc_ld() 242 *((Half *)off) += (Half)(*value); in do_reloc_ld() 250 v += *value; in do_reloc_ld() 254 v += *value; in do_reloc_ld() 264 *((Xword *)off) += *value; in do_reloc_ld() 272 v += *value; in do_reloc_ld() 276 v += *value; in do_reloc_ld()
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/ |
H A D | util.c | 66 add_to_stringtable(table_t *t, char *value) in add_to_stringtable() argument 77 if (in_stringtable(t, value)) { in add_to_stringtable() 96 t->elements[t->used] = strset(t->elements[t->used], value); in add_to_stringtable() 128 in_stringtable(table_t *t, const char *value) in in_stringtable() argument 136 if (strcmp(value, t->elements[i]) == 0) in in_stringtable() 184 strset(char *string, char *value) in strset() argument 188 assert(value != NULL, "passed a null value to strset"); in strset() 189 vlen = strlen(value); in strset() 205 (void) strcpy(string, value); in strset()
|