/illumos-gate/usr/src/lib/libscf/common/ |
H A D | notify_params.c | 1044 scf_values_t vals = { 0 }; in add_prop_to_nvlist() local 1065 vals.value_type = type; in add_prop_to_nvlist() 1074 switch (vals.value_type) { in add_prop_to_nvlist() 1079 int n = vals.value_count; in add_prop_to_nvlist() 1105 *vals.values.v_count); in add_prop_to_nvlist() 1108 vals.values.v_count, vals.value_count); in add_prop_to_nvlist() 1117 *vals.values.v_integer); in add_prop_to_nvlist() 1120 vals.values.v_integer, vals.value_count); in add_prop_to_nvlist() 1129 *vals.values.v_astring); in add_prop_to_nvlist() 1132 vals.values.v_astring, vals.value_count); in add_prop_to_nvlist() [all …]
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | sem.c | 350 ushort_t *vals, *vp; in semctl() local 381 vsize = sp->sem_nsems * sizeof (*vals); in semctl() 385 vals = kmem_alloc(vsize, KM_SLEEP); in semctl() 387 if (copyin((void *)arg, vals, vsize)) { in semctl() 388 kmem_free(vals, vsize); in semctl() 401 kmem_free(vals, vsize); in semctl() 511 vsize = sp->sem_nsems * sizeof (*vals); in semctl() 520 kmem_free(vals, vsize); in semctl() 524 kmem_free(vals, vsize); in semctl() 582 if ((p->semval = vals[i++]) != 0) { in semctl() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/ |
H A D | zpool_create_019_pos.ksh | 62 set -A vals "100" "10" "12345" "HEALTHY" "10" "10" 68 log_mustnot zpool create -o ${props[$i]}=${vals[$i]} $TESTPOOL $disk
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg.c | 2865 nwam_value_t vals; in listprop() local 2980 &vals); in listprop() 3259 nwam_value_t vals; in export_ncu_callback() local 3290 vals, of); in export_ncu_callback() 3337 nwam_value_t vals; in export_enm_callback() local 3360 vals, of); in export_enm_callback() 3404 vals, of); in export_loc_callback() 4087 &vals); in walkprop_func() 4129 vals); in walkprop_func() 4133 vals); in walkprop_func() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/backend/ |
H A D | pointer-param.c | 12 static int vals[5], valt[5], valr[5]; in foo() local 19 usei(vals); in foo()
|
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | directory_client.c | 330 directory_value_rpc *vals; in copy_directory_attribute_value() local 343 vals = dav_rpc->directory_values_rpc_u.values.values_val; in copy_directory_attribute_value() 345 (*dav)[i] = directory_datum(vals[i].directory_value_rpc_val, in copy_directory_attribute_value() 346 vals[i].directory_value_rpc_len); in copy_directory_attribute_value()
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | ldaptest.c | 1109 struct berval **vals; in print_search_entry() local 1138 if ( (vals = ldap_get_values_len( ld, e, a )) in print_search_entry() 1142 for ( i = 0; vals[i] != NULL; i++ ) { in print_search_entry() 1146 for ( j = 0; j < vals[i]->bv_len; j++ ) in print_search_entry() 1147 if ( !isascii( vals[i]->bv_val[j] ) ) { in print_search_entry() 1153 printf( "\t\t\tlength (%ld) (not ascii)\n", vals[i]->bv_len ); in print_search_entry() 1155 lber_bprint( vals[i]->bv_val, in print_search_entry() 1156 vals[i]->bv_len ); in print_search_entry() 1161 vals[i]->bv_len, vals[i]->bv_val ); in print_search_entry() 1163 ber_bvecfree( vals ); in print_search_entry()
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | object.c | 78 tx_check_genid(void *data_arg, int columns, char **vals, char **names) in tx_check_genid() argument 82 if (atoi(vals[0]) != data->txc_oldgen) in tx_check_genid() 103 tx_process_property(void *data_arg, int columns, char **vals, char **names) in tx_process_property() argument 108 const char *prop_name = vals[0]; in tx_process_property() 109 const char *prop_type = vals[1]; in tx_process_property() 110 const char *lnk_val_id = vals[2]; in tx_process_property()
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | ServiceStoreFactory.java | 488 Vector vals = attr.getValues(); in serialize() local 495 if (vals != null) { in serialize() 499 int j, m = vals.size(); in serialize() 502 Object v = vals.elementAt(j); in serialize()
|
H A D | AttributeVerifier.java | 344 Vector vals = attribute.getValues(); in verifyAttribute() local 350 if (vals != null) { in verifyAttribute() 364 if (vals == null) { in verifyAttribute() 373 n = vals.size(); in verifyAttribute() 415 Object val = vals.elementAt(i); in verifyAttribute() 1750 Vector vals = parseValueList(tk, attDesc, baseLineno); in parseDefaultValues() local 1755 if (!attDesc.getIsMultivalued() && vals.size() > 1) { in parseDefaultValues() 1764 attDesc.setDefaultValues(vals); in parseDefaultValues() 1777 Vector vals = parseValueList(tk, attDesc, baseLineno); in parseAllowedValues() local 1781 attDesc.setAllowedValues(vals); in parseAllowedValues()
|
H A D | SunDATable.java | 403 Vector vals = attr.getValues(); in processReply() local 406 daScopes = vals; in processReply()
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdladm_impl.h | 148 #define VALCNT(vals) (sizeof ((vals)) / sizeof (val_desc_t)) argument
|
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_ads.c | 1240 char **vals; in smb_ads_get_dc_level() local 1263 if ((vals = ldap_get_values(ah->ld, entry, in smb_ads_get_dc_level() 1275 if (vals[0] != NULL) { in smb_ads_get_dc_level() 1276 rc = atoi(vals[0]); in smb_ads_get_dc_level() 1280 ldap_value_free(vals); in smb_ads_get_dc_level() 1445 char **vals; in smb_ads_getattr() local 1453 if (!vals) { in smb_ads_getattr() 1457 if (!vals[0]) { in smb_ads_getattr() 1459 ldap_value_free(vals); in smb_ads_getattr() 1463 avpair->avp_val = strdup(vals[0]); in smb_ads_getattr() [all …]
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/ |
H A D | decode.c | 39 LDAP_API(void) LDAP_CALL ber_svecfree( char **vals ); 743 ber_svecfree( char **vals ) in ber_svecfree() argument 747 if ( vals == NULL ) in ber_svecfree() 749 for ( i = 0; vals[i] != NULL; i++ ) in ber_svecfree() 750 NSLBERI_FREE( vals[i] ); in ber_svecfree() 751 NSLBERI_FREE( (char *) vals ); in ber_svecfree()
|
/illumos-gate/usr/src/lib/libnvme/common/ |
H A D | libnvme_ctrl_info.c | 372 int *vals, nvals; in nvme_ctrl_get_udi() local 374 nvals = di_prop_lookup_ints(DDI_DEV_T_ANY, di, prop, &vals); in nvme_ctrl_get_udi() 387 if (vals[0] < 0 || vals[0] > max) { in nvme_ctrl_get_udi() 390 "[0x0, 0x%x]", prop, vals[0], max)); in nvme_ctrl_get_udi() 393 *outp = (uint32_t)vals[0]; in nvme_ctrl_get_udi()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | did_props.c | 1084 int ret, *vals; in maybe_di_int_to_uint32() local 1086 ret = di_prop_lookup_ints(DDI_DEV_T_ANY, did_dinode(pd), dpnm, &vals); in maybe_di_int_to_uint32() 1091 if (topo_prop_set_uint32(tn, tpgrp, tpnm, 0, (uint32_t)*vals, &ret) != in maybe_di_int_to_uint32() 1104 int64_t *vals; in maybe_pcie_speed() local 1106 ret = di_prop_lookup_int64(DDI_DEV_T_ANY, did_dinode(pd), dpnm, &vals); in maybe_pcie_speed() 1111 if (topo_prop_set_uint64(tn, tpgrp, tpnm, 0, (uint64_t)*vals, &ret) != in maybe_pcie_speed() 1124 int64_t *vals; in maybe_pcie_supported_speed() local 1126 ret = di_prop_lookup_int64(DDI_DEV_T_ANY, did_dinode(pd), dpnm, &vals); in maybe_pcie_supported_speed() 1132 if (topo_prop_set_uint64_array(tn, tpgrp, tpnm, 0, (uint64_t *)vals, in maybe_pcie_supported_speed()
|
/illumos-gate/usr/src/lib/libkmf/ber_der/common/ |
H A D | decode.c | 47 ber_svecfree(char **vals) in ber_svecfree() argument 51 if (vals == NULL) in ber_svecfree() 53 for (i = 0; vals[i] != NULL; i++) in ber_svecfree() 54 free(vals[i]); in ber_svecfree() 55 free((char *)vals); in ber_svecfree()
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_prop.c | 1611 int32_t *vals = va_arg(ap, int32_t *); in topo_create_props() local 1614 prop, prop_flags, vals, count, &err); in topo_create_props() 1618 uint32_t *vals = va_arg(ap, uint32_t *); in topo_create_props() local 1621 prop, prop_flags, vals, count, &err); in topo_create_props() 1625 int64_t *vals = va_arg(ap, int64_t *); in topo_create_props() local 1628 prop, prop_flags, vals, count, &err); in topo_create_props() 1632 uint64_t *vals = va_arg(ap, uint64_t *); in topo_create_props() local 1635 prop, prop_flags, vals, count, &err); in topo_create_props() 1639 const char **vals = va_arg(ap, const char **); in topo_create_props() local 1642 prop, prop_flags, vals, count, &err); in topo_create_props() [all …]
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | url.c | 804 char **vals; in ldap_dn_to_url() local 820 if ((vals = in ldap_dn_to_url() 825 if ((url = strdup((char *)vals[0])) != in ldap_dn_to_url() 827 ldap_value_free(vals); in ldap_dn_to_url()
|
/illumos-gate/usr/src/cmd/fm/fminject/common/ |
H A D | inj_decl.c | 112 inj_decl_mem_create_enum(const char *name, inj_hash_t *vals) in inj_decl_mem_create_enum() argument 118 dlm->dlm_enumvals = vals; in inj_decl_mem_create_enum()
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_standalone.c | 707 char *a, **vals; in convert_to_door_line() local 725 if ((vals = ldap_get_values(ld, e, a)) != NULL) { in convert_to_door_line() 726 for (i = 0; vals[i] != NULL; i++) { in convert_to_door_line() 729 strlen(vals[i]) + in convert_to_door_line() 732 ldap_value_free(vals); in convert_to_door_line() 779 if ((vals = ldap_get_values(ld, e, a)) != NULL) { in convert_to_door_line() 780 for (i = 0; vals[i] != NULL; i++) { in convert_to_door_line() 784 attr_len += strlen(vals[i]) + in convert_to_door_line() 791 a, vals[i], in convert_to_door_line() 798 vals[i], in convert_to_door_line() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_set/ |
H A D | zpool_set_003_neg.ksh | 53 set -A vals "100" "10" "12345" "HEALTHY" "10" "10"
|
/illumos-gate/usr/src/lib/libsasl/include/ |
H A D | prop.h | 111 struct propval *vals);
|
/illumos-gate/usr/src/uts/sun4/ml/ |
H A D | ip_ocsum.S | 321 ! splits gave 16 off 32b vals 339 add %l7, %g3, %g3 ! now 8 off 33b vals 347 add %g2, %g3, %o3 ! now 4 off 34b vals
|
/illumos-gate/usr/src/lib/libldap5/include/ldap/ |
H A D | disptmpl.h | 334 ldap_vals2text( LDAP *ld, char *buf, char **vals, char *label, int labelwidth, 354 ldap_vals2html( LDAP *ld, char *buf, char **vals, char *label, int labelwidth,
|