/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | linkprop.c | 1076 datalink_id_t linkid __unused, char **prop_val, uint_t *val_cntp, in check_prop() argument 1085 if (strcasecmp(prop_val[j], in check_prop() 1100 datalink_class_t class, uint32_t media, prop_desc_t *pdp, char **prop_val, in i_dladm_set_single_prop() argument 1123 if (prop_val != NULL) { in i_dladm_set_single_prop() 1130 status = pdp->pd_check(handle, pdp, linkid, prop_val, in i_dladm_set_single_prop() 1133 status = check_prop(handle, pdp, linkid, prop_val, in i_dladm_set_single_prop() 1166 status = pdp->pd_check(handle, pdp, linkid, prop_val, in i_dladm_set_single_prop() 1189 const char *prop_name, char **prop_val, uint_t val_cnt, uint_t flags, in i_dladm_set_linkprop() argument 1205 prop_val, val_cnt, flags); in i_dladm_set_linkprop() 1233 prop_name, prop_val, val_cnt, flags); in i_dladm_set_linkprop() [all …]
|
H A D | flowprop.c | 90 const char *prop_name, char **prop_val, uint_t val_cnt, uint_t flags, in dladm_set_flowprop() argument 95 if (flow == NULL || (prop_val == NULL && val_cnt > 0) || in dladm_set_flowprop() 96 (prop_val != NULL && val_cnt == 0) || flags == 0) in dladm_set_flowprop() 101 prop_val, val_cnt, flags, errprop, &prop_tbl); in dladm_set_flowprop() 113 prop_val, val_cnt); in dladm_set_flowprop() 137 const char *prop_name, char **prop_val, uint_t *val_cntp) in dladm_get_flowprop() argument 141 if (flow == NULL || prop_name == NULL || prop_val == NULL || in dladm_get_flowprop() 149 prop_val, val_cntp)); in dladm_get_flowprop() 153 prop_val, val_cntp, &prop_tbl); in dladm_get_flowprop() 167 const char *prop_name, char **prop_val, uint_t val_cnt) in i_dladm_set_flowprop_db() argument [all …]
|
H A D | propfuncs.c | 514 const char *prop_name, char **prop_val, uint_t *val_cntp, in i_dladm_get_prop_temp() argument 522 if (name == NULL || prop_name == NULL || prop_val == NULL || in i_dladm_get_prop_temp() 538 status = pdp->pd_get(handle, name, prop_val, val_cntp); in i_dladm_get_prop_temp() 545 (void) strcpy(*prop_val, pdp->pd_defval.vd_name); in i_dladm_get_prop_temp() 551 status = pdp->pd_getmod(handle, name, prop_val, in i_dladm_get_prop_temp() 562 (void) strcpy(prop_val[i], in i_dladm_get_prop_temp() 578 fprop_desc_t *pdp, char **prop_val, uint_t val_cnt, uint_t flags) in i_dladm_set_one_prop_temp() argument 590 if (prop_val != NULL) { in i_dladm_set_one_prop_temp() 592 status = pdp->pd_check(pdp, prop_val, val_cnt, &vdp); in i_dladm_set_one_prop_temp() 619 const char *prop_name, char **prop_val, uint_t val_cnt, uint_t flags, in i_dladm_set_prop_temp() argument [all …]
|
H A D | libdlflow_impl.h | 93 typedef struct prop_val { struct 95 struct prop_val *lv_nextval; argument 101 struct prop_val *li_val;
|
H A D | libdladm.c | 1122 dladm_strs2range(char **prop_val, uint_t val_cnt, mac_propval_type_t type, in dladm_strs2range() argument 1144 if (strchr(prop_val[i], '-') == NULL) { in dladm_strs2range() 1147 strtol(prop_val[i], &endp, 10); in dladm_strs2range() 1153 ur->mpur_min = strtol(prop_val[i], &endp, 10); in dladm_strs2range() 1215 dladm_range2strs(const mac_propval_range_t *rangep, char **prop_val) in dladm_range2strs() argument 1228 (void) snprintf(prop_val[i], DLADM_PROP_VAL_MAX, in dladm_range2strs() 1232 (void) snprintf(prop_val[i], DLADM_PROP_VAL_MAX, in dladm_range2strs() 1246 (void) strlcpy(prop_val[i], &str->mpur_data[coff], in dladm_range2strs()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/inheritance/ |
H A D | inherit.kshlib | 37 typeset prop_val 41 prop_val=`zfs get -H -o source $prop $dataset` 47 echo $prop_val 104 typeset prop_val=$2 107 zfs set $prop=$prop_val $dataset 110 if [[ $check_val != $prop_val ]]; then 112 " rather than $prop_val"
|
H A D | inherit_001_pos.ksh | 233 typeset prop_val 235 prop_val=`get_prop $prop $dataset` 254 if [[ $prop_val != $exp_val ]]; then 262 $prop_val != "restricted" ]]; then 264 log_fail "$prop of $dataset is [$prop_val] rather "\
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_virtual.c | 367 uchar_t *prop_val; in nxge_get_niu_property() local 372 "niu-type", (uchar_t **)&prop_val, in nxge_get_niu_property() 374 if (strncmp("niu", (caddr_t)prop_val, (size_t)prop_len) == 0) { in nxge_get_niu_property() 377 ddi_prop_free(prop_val); in nxge_get_niu_property() 584 int *prop_val; in nxge_update_rxdma_properties() local 624 &prop_val, in nxge_update_rxdma_properties() 627 custom_start_rdc[port] = *prop_val; in nxge_update_rxdma_properties() 653 &prop_val, in nxge_update_rxdma_properties() 657 custom_num_rdc[port] = *prop_val; in nxge_update_rxdma_properties() 799 int *prop_val; in nxge_update_txdma_properties() local [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_smhba.c | 33 char *prop_name, void *prop_val) in pmcs_smhba_add_hba_prop() argument 40 prop_name, *(int *)prop_val)) { in pmcs_smhba_add_hba_prop() 47 prop_name, (char *)prop_val)) { in pmcs_smhba_add_hba_prop() 65 char *prop_name, void *prop_val) in pmcs_smhba_add_iport_prop() argument 73 prop_name, *(int *)prop_val)) { in pmcs_smhba_add_iport_prop() 80 prop_name, (char *)prop_val)) { in pmcs_smhba_add_iport_prop() 97 char *prop_name, void *prop_val) in pmcs_smhba_add_tgt_prop() argument 104 prop_name, *(int *)prop_val)) { in pmcs_smhba_add_tgt_prop() 111 prop_name, (char *)prop_val)) { in pmcs_smhba_add_tgt_prop()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zcp_set.c | 39 const char *prop_name, const char *prop_val, dmu_tx_t *tx) in zcp_set_user_prop() argument 46 fnvlist_add_string(nvl, prop_name, prop_val); in zcp_set_user_prop() 94 const char *prop_val = args->val; in zcp_set_prop_sync() local 98 prop_val, tx); in zcp_set_prop_sync()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/large_dnode/ |
H A D | large_dnode_006_pos.ksh | 64 prop_val=${prop_values[$i]} 65 dir=/$TEST_FS/$prop_val 67 log_must zfs set dnsize=$prop_val $TEST_FS
|
H A D | large_dnode_002_pos.ksh | 65 prop_val=${prop_values[$i]} 66 file=/$TEST_FS/file.$prop_val 67 log_must zfs set dnsize=$prop_val $TEST_FS
|
/illumos-gate/usr/src/cmd/eeprom/i386/ |
H A D | benv_kvm.c | 211 npp->prop_val = (char *)malloc(npp->prop_len); in get_proplist() 212 if (npp->prop_val == 0) in get_proplist() 214 memcpy(npp->prop_val, propval, npp->prop_len); in get_proplist() 216 npp->prop_val = NULL; in get_proplist() 238 return (prop->prop_val); in get_propval()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/projectquota/ |
H A D | projectquota_common.kshlib | 80 typeset prop_val 84 prop_val=$(zfs get -H -p -o value $prop $dataset 2>/dev/null) 90 echo $prop_val
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/userquota/ |
H A D | userquota_common.kshlib | 111 typeset prop_val 115 prop_val=$(zfs get -H -p -o value $prop $dataset 2>/dev/null) 122 echo $prop_val
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/misc/ |
H A D | setup.ksh | 89 prop_val=${prop_vals[$i]} 90 log_must zfs set $prop_name=$prop_val $TESTPOOL/$TESTFS/prop 150 prop_val=${prop_vals[$i]} 151 log_must zpool set $prop_name=$prop_val $TESTPOOL
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | driver_lyr.c | 645 if (ddi_devid_str_compare(propp->prop_val, devidstr) == 0) { in ldi_devid_match() 662 if (ddi_devid_str_compare(propp->prop_val, devidstr) == 0) { in ldi_devid_match() 857 caddr_t prop_val; in i_ldi_prop_op_typed() local 891 prop_val = i_ldi_prop_op_alloc(prop_len); in i_ldi_prop_op_typed() 895 flags | DDI_PROP_DYNAMIC, name, prop_val, &prop_len); in i_ldi_prop_op_typed() 897 ddi_prop_free(prop_val); in i_ldi_prop_op_typed() 903 ddi_prop_free(prop_val); in i_ldi_prop_op_typed() 909 ddi_prop_free(prop_val); in i_ldi_prop_op_typed() 917 *datap = prop_val; in i_ldi_prop_op_typed() 2324 int *prop_val, prop_len; in ldi_prop_lookup_int_array() local [all …]
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_virtual.c | 232 int *prop_val; in hxge_use_cfg_dma_config() local 271 &prop_val, &prop_len) == DDI_PROP_SUCCESS) { in hxge_use_cfg_dma_config() 274 hxgep->dip, prop, prop_val, prop_len); in hxge_use_cfg_dma_config() 276 ddi_prop_free(prop_val); in hxge_use_cfg_dma_config() 282 &prop_val, &prop_len) == DDI_PROP_SUCCESS) { in hxge_use_cfg_dma_config() 285 hxgep->dip, prop, prop_val, prop_len); in hxge_use_cfg_dma_config() 287 ddi_prop_free(prop_val); in hxge_use_cfg_dma_config() 293 &prop_val, &prop_len) == DDI_PROP_SUCCESS) { in hxge_use_cfg_dma_config() 296 hxgep->dip, prop, prop_val, prop_len); in hxge_use_cfg_dma_config() 298 ddi_prop_free(prop_val); in hxge_use_cfg_dma_config()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_send/ |
H A D | zfs_send_002_pos.ksh | 67 typeset prop_val=$2 69 log_must zfs set $property=$prop_val $fs
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | mdesc_impl.h | 105 uint64_t prop_val; /* for PROP_VAL */ member 145 #define MDE_PROP_VALUE(_p) mdtoh64((_p)->d.prop_val)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipadm/ |
H A D | ipadm.c | 996 char *prop_name, *prop_val; in set_ifprop() local 1034 prop_val = strchr(nv, '='); in set_ifprop() 1035 if (prop_val != NULL) in set_ifprop() 1036 *prop_val++ = '\0'; in set_ifprop() 1045 status = ipadm_set_ifprop(iph, ifname, prop_name, prop_val, proto, in set_ifprop() 1182 char *protostr, *nv, *prop_name, *prop_val; in set_prop() local 1213 prop_val = strchr(nv, '='); in set_prop() 1214 if (prop_val != NULL) { in set_prop() 1216 *(prop_val - 1) = '\0'; in set_prop() 1217 *prop_val++ = '\0'; in set_prop() [all …]
|
/illumos-gate/usr/src/lib/libpicltree/ |
H A D | picltree.c | 875 (strlen(propp->prop_val) >= sz)) in check_propsize() 942 tblh = *(picl_prophdl_t *)propp->prop_val; in piclize_prop() 1008 tblh = *(picl_prophdl_t *)propp->prop_val; in unpiclize_prop() 1051 refh = *(picl_nodehdl_t *)propp->prop_val; in lookup_verify_ref_prop() 1072 tblh = *(picl_prophdl_t *)propp->prop_val; in lookup_verify_table_prop() 1168 if ((err != PICL_SUCCESS) || (propp->prop_val == NULL) || in check_ref_handle() 1169 (strcmp(propp->prop_val, clname) != 0)) in check_ref_handle() 1230 pobj->prop_val = NULL; in create_propobj() 1232 pobj->prop_val = malloc(pinfo->piclinfo.size); in create_propobj() 1233 if (pobj->prop_val == NULL) { in create_propobj() [all …]
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | audit_scf.c | 222 handle_iter->prop_val) != 0 && in get_props_kva_all() 234 if (scf_value_get_boolean(handle_iter->prop_val, in get_props_kva_all() 255 if (scf_value_get_as_string(handle_iter->prop_val, in get_props_kva_all() 277 if (scf_value_get_count(handle_iter->prop_val, in get_props_kva_all() 478 if (handle_iter->prop_val != NULL) { in scf_free_iter() 479 scf_value_destroy(handle_iter->prop_val); in scf_free_iter() 498 if ((handle_iter->prop_val = scf_value_create(handle->hndl)) == NULL) { in scf_init_iter()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas_smhba.c | 71 char *prop_name, void *prop_val); 78 char *prop_name, void *prop_val) in mptsas_smhba_add_hba_prop() argument 85 prop_name, *(int *)prop_val)) { in mptsas_smhba_add_hba_prop() 92 prop_name, (char *)prop_val)) { in mptsas_smhba_add_hba_prop()
|
/illumos-gate/usr/src/uts/common/io/chxge/ |
H A D | ch.c | 1917 uint32_t *prop_val = NULL; in ch_get_prop() local 1954 (int **)&prop_val, &prop_len) != DDI_PROP_SUCCESS) { in ch_get_prop() 1959 vendor_id = *(uint32_t *)prop_val; in ch_get_prop() 1960 ddi_prop_free(prop_val); in ch_get_prop() 1966 (int **)&prop_val, &prop_len) != DDI_PROP_SUCCESS) { in ch_get_prop() 1971 device_id = *(uint32_t *)prop_val; in ch_get_prop() 1972 ddi_prop_free(prop_val); in ch_get_prop() 1978 (int **)&prop_val, &prop_len) != DDI_PROP_SUCCESS) { in ch_get_prop() 1983 revision_id = *(uint32_t *)prop_val; in ch_get_prop() 1984 ddi_prop_free(prop_val); in ch_get_prop()
|