Home
last modified time | relevance | path

Searched refs:prop_val (Results 1 – 25 of 50) sorted by relevance

12

/titanic_44/usr/src/lib/libdladm/common/
H A Dlinkprop.c904 char **prop_val, uint_t *val_cntp, uint_t flags, val_desc_t **vdpp, in check_prop() argument
913 if (strcasecmp(prop_val[j], in check_prop()
928 datalink_class_t class, uint32_t media, prop_desc_t *pdp, char **prop_val, in i_dladm_set_single_prop() argument
951 if (prop_val != NULL) { in i_dladm_set_single_prop()
958 status = pdp->pd_check(handle, pdp, linkid, prop_val, in i_dladm_set_single_prop()
961 status = check_prop(handle, pdp, linkid, prop_val, in i_dladm_set_single_prop()
994 status = pdp->pd_check(handle, pdp, linkid, prop_val, in i_dladm_set_single_prop()
1017 const char *prop_name, char **prop_val, uint_t val_cnt, uint_t flags, in i_dladm_set_linkprop() argument
1033 prop_val, val_cnt, flags); in i_dladm_set_linkprop()
1061 prop_name, prop_val, val_cnt, flags); in i_dladm_set_linkprop()
[all …]
H A Dflowprop.c90 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 Dpropfuncs.c517 const char *prop_name, char **prop_val, uint_t *val_cntp, in i_dladm_get_prop_temp() argument
525 if (name == NULL || prop_name == NULL || prop_val == NULL || in i_dladm_get_prop_temp()
541 status = pdp->pd_get(handle, name, prop_val, val_cntp); in i_dladm_get_prop_temp()
548 (void) strcpy(*prop_val, pdp->pd_defval.vd_name); in i_dladm_get_prop_temp()
554 status = pdp->pd_getmod(handle, name, prop_val, in i_dladm_get_prop_temp()
565 (void) strcpy(prop_val[i], in i_dladm_get_prop_temp()
581 fprop_desc_t *pdp, char **prop_val, uint_t val_cnt, uint_t flags) in i_dladm_set_one_prop_temp() argument
593 if (prop_val != NULL) { in i_dladm_set_one_prop_temp()
595 status = pdp->pd_check(pdp, prop_val, val_cnt, &vdp); in i_dladm_set_one_prop_temp()
622 const char *prop_name, char **prop_val, uint_t val_cnt, uint_t flags, in i_dladm_set_prop_temp() argument
[all …]
H A Dlibdlflow_impl.h93 typedef struct prop_val { struct
95 struct prop_val *lv_nextval; argument
101 struct prop_val *li_val;
H A Dlibdladm.c1078 dladm_strs2range(char **prop_val, uint_t val_cnt, in dladm_strs2range() argument
1100 if (strchr(prop_val[i], '-') == NULL) { in dladm_strs2range()
1103 strtol(prop_val[i], &endp, 10); in dladm_strs2range()
1109 ur->mpur_min = strtol(prop_val[i], &endp, 10); in dladm_strs2range()
1171 dladm_range2strs(mac_propval_range_t *rangep, char **prop_val) in dladm_range2strs() argument
1184 (void) snprintf(prop_val[i], DLADM_PROP_VAL_MAX, in dladm_range2strs()
1188 (void) snprintf(prop_val[i], DLADM_PROP_VAL_MAX, in dladm_range2strs()
/titanic_44/usr/src/test/zfs-tests/tests/functional/inheritance/
H A Dinherit.kshlib37 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 Dinherit_001_pos.ksh227 typeset prop_val
229 prop_val=`get_prop $prop $dataset`
248 if [[ $prop_val != $exp_val ]]; then
256 $prop_val != "restricted" ]]; then
258 log_fail "$prop of $dataset is [$prop_val] rather "\
/titanic_44/usr/src/uts/common/io/nxge/
H A Dnxge_virtual.c367 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 …]
/titanic_44/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_smhba.c33 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()
/titanic_44/usr/src/cmd/eeprom/i386/
H A Dbenv_kvm.c211 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()
/titanic_44/usr/src/test/zfs-tests/tests/functional/userquota/
H A Duserquota_common.kshlib107 typeset prop_val
111 prop_val=$($ZFS get -H -o value $prop $dataset 2>/dev/null)
118 $ECHO $prop_val
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_user/misc/
H A Dsetup.ksh89 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
/titanic_44/usr/src/uts/common/os/
H A Ddriver_lyr.c645 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()
2307 int *prop_val, prop_len; in ldi_prop_lookup_int_array() local
[all …]
/titanic_44/usr/src/uts/common/io/hxge/
H A Dhxge_virtual.c232 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()
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_send/
H A Dzfs_send_002_pos.ksh67 typeset prop_val=$2
69 log_must $ZFS set $property=$prop_val $fs
/titanic_44/usr/src/uts/common/sys/
H A Dmdesc_impl.h105 uint64_t prop_val; /* for PROP_VAL */ member
145 #define MDE_PROP_VALUE(_p) mdtoh64((_p)->d.prop_val)
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ipadm/
H A Dipadm.c782 char *prop_name, *prop_val; in set_ifprop() local
818 prop_val = strchr(nv, '='); in set_ifprop()
819 if (prop_val != NULL) in set_ifprop()
820 *prop_val++ = '\0'; in set_ifprop()
829 status = ipadm_set_ifprop(iph, ifname, prop_name, prop_val, proto, in set_ifprop()
967 char *protostr, *nv, *prop_name, *prop_val; in set_prop() local
997 prop_val = strchr(nv, '='); in set_prop()
998 if (prop_val != NULL) { in set_prop()
1000 *(prop_val - 1) = '\0'; in set_prop()
1001 *prop_val++ = '\0'; in set_prop()
[all …]
/titanic_44/usr/src/lib/libpicltree/
H A Dpicltree.c875 (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 …]
/titanic_44/usr/src/lib/libbsm/common/
H A Daudit_scf.c222 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()
/titanic_44/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas_smhba.c70 char *prop_name, void *prop_val);
77 char *prop_name, void *prop_val) in mptsas_smhba_add_hba_prop() argument
84 prop_name, *(int *)prop_val)) { in mptsas_smhba_add_hba_prop()
91 prop_name, (char *)prop_val)) { in mptsas_smhba_add_hba_prop()
/titanic_44/usr/src/uts/common/io/chxge/
H A Dch.c1917 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()
/titanic_44/usr/src/uts/i86xpv/io/psm/
H A Dmp_platform_xpv.c1174 char *name, *drv_name, *prop_val, *cptr; in apic_bind_intr() local
1234 (caddr_t)&prop_val, &prop_len); in apic_bind_intr()
1237 "intpt_bind_cpus", (caddr_t)&prop_val, &prop_len); in apic_bind_intr()
1242 if (prop_val[i] == ',') in apic_bind_intr()
1244 if (prop_val[i-1] != ',') in apic_bind_intr()
1254 cptr = prop_val; in apic_bind_intr()
1259 kmem_free(prop_val, prop_len); in apic_bind_intr()
1263 psm_name, prop_name, prop_val, bind_cpu); in apic_bind_intr()
/titanic_44/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dutil.c442 uint8_t prop_val; in nwamd_lookup_boolean_property() local
453 if (scf_value_get_boolean(res.sr_val, &prop_val) != 0) { in nwamd_lookup_boolean_property()
456 *answer = (boolean_t)prop_val; in nwamd_lookup_boolean_property()
/titanic_44/usr/src/uts/i86pc/io/
H A Dmp_platform_misc.c1220 char *name, *drv_name, *prop_val, *cptr; in apic_bind_intr() local
1280 (caddr_t)&prop_val, &prop_len); in apic_bind_intr()
1283 "intpt_bind_cpus", (caddr_t)&prop_val, &prop_len); in apic_bind_intr()
1288 if (prop_val[i] == ',') in apic_bind_intr()
1290 if (prop_val[i-1] != ',') in apic_bind_intr()
1300 cptr = prop_val; in apic_bind_intr()
1305 kmem_free(prop_val, prop_len); in apic_bind_intr()
1309 psm_name, prop_name, prop_val, bind_cpu); in apic_bind_intr()
/titanic_44/usr/src/lib/libv12n/sparc/
H A Dlibv12n.c205 uint64_t prop_val = 0; in v12n_domaining_enabled() local
226 &prop_val); in v12n_domaining_enabled()
231 return (prop_val == 1); in v12n_domaining_enabled()

12