Searched refs:propname (Results 1 - 25 of 133) sorted by relevance

123456

/illumos-gate/usr/src/uts/sparc/zfs/
H A Dspa_boot.c38 spa_get_bootprop(char *propname) argument
43 proplen = BOP_GETPROPLEN(bootops, propname);
48 if (BOP_GETPROP(bootops, propname, value) == -1) {
57 spa_free_bootprop(char *propname) argument
59 kmem_free(propname, strlen(propname) + 1);
/illumos-gate/usr/src/uts/sun4u/taco/io/
H A Dppm.conf39 # "domain_xxx-propname" - a property name that is exported by device in
135 domain_pcislot_0-propname = "nonidle-bus-clock-pm";
146 domain_pcislot_1-propname = "nonidle-bus-clock-pm";
157 domain_pcislot_2-propname = "nonidle-bus-clock-pm";
168 domain_pcislot_3-propname = "nonidle-bus-clock-pm";
179 domain_pcislot_4-propname = "nonidle-bus-clock-pm";
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_tempname.ksh56 propname="$(awk -F= '{print $1}' <<< $fsprop)"
58 log_must test "$(get_prop $propname $TEMPPOOL)" == "$propval"
59 propname="$(awk -F= '{print $1}' <<< $poolprop)"
61 log_must test "$(get_pool_prop $propname $TEMPPOOL)" == "$propval"
/illumos-gate/usr/src/uts/sun4u/enchilada/io/
H A Dppm.conf39 # "domain_xxx-propname" - a property name that is exported by device in
176 domain_pcislot_1-propname = "nonidle-bus-clock-pm";
187 domain_pcislot_2-propname = "nonidle-bus-clock-pm";
198 domain_pcislot_3-propname = "nonidle-bus-clock-pm";
209 domain_pcislot_4-propname = "nonidle-bus-clock-pm";
220 domain_pcislot_5-propname = "nonidle-bus-clock-pm";
/illumos-gate/usr/src/stand/lib/sa/sparc/
H A Dprom_misc.c33 prom_create_encoded_prop(char *propname, void *prop_data, int prop_datalen, argument
63 (uintptr_t)prop_data, strlen(propname), (uintptr_t)propname);
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dcache_001_pos.ksh51 for propname in "primarycache" "secondarycache"
56 set_n_check_prop "${values[j]}" "$propname" "${dataset[i]}"
H A Dcompression_001_pos.ksh51 for propname in "compression" "compress"
56 set_n_check_prop "${values[j]}" "$propname" "${dataset[i]}"
H A Dproperty_alias_001_pos.ksh95 for propname in ${ro_prop[*]}; do
96 zfs get -pH -o value $propname $ds >/dev/null 2>&1
124 for propname in "volblocksize" "volblock" ; do
125 zfs get -pH -o value $propname $ds >/dev/null 2>&1
127 log_fail "Get the property $propname of $ds failed."
133 for propname in "recordsize" "recsize"; do
135 if [[ $propname == "recordsize" ]]; then
136 set_and_check $ds $propname $val "recsize"
138 set_and_check $ds $propname $val "recordsize"
H A Dcache_002_neg.ksh55 for propname in "primarycache" "secondarycache"
60 log_mustnot zfs set $propname=${values[j]} ${dataset[i]}
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddsl_prop.h66 int dsl_prop_register(struct dsl_dataset *ds, const char *propname,
72 int dsl_prop_get(const char *ddname, const char *propname,
74 int dsl_prop_get_integer(const char *ddname, const char *propname,
78 int dsl_prop_get_ds(struct dsl_dataset *ds, const char *propname,
80 int dsl_prop_get_int_ds(struct dsl_dataset *ds, const char *propname,
82 int dsl_prop_get_dd(struct dsl_dir *dd, const char *propname,
88 void dsl_prop_set_sync_impl(struct dsl_dataset *ds, const char *propname,
92 int dsl_prop_set_int(const char *dsname, const char *propname,
94 int dsl_prop_set_string(const char *dsname, const char *propname,
96 int dsl_prop_inherit(const char *dsname, const char *propname,
[all...]
/illumos-gate/usr/src/uts/intel/zfs/
H A Dspa_boot.c39 spa_get_bootprop(char *propname) argument
44 DDI_PROP_DONTPASS, propname, &value) != DDI_SUCCESS)
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddsl_prop.c73 dsl_prop_get_dd(dsl_dir_t *dd, const char *propname, argument
90 prop = zfs_name_to_prop(propname);
92 inheritstr = kmem_asprintf("%s%s", propname, ZPROP_INHERIT_SUFFIX);
93 recvdstr = kmem_asprintf("%s%s", propname, ZPROP_RECVD_SUFFIX);
108 propname, intsz, numints, buf);
160 dsl_prop_get_ds(dsl_dataset_t *ds, const char *propname, argument
163 zfs_prop_t prop = zfs_name_to_prop(propname);
178 err = zap_lookup(mos, zapobj, propname, intsz, numints, buf);
190 char *inheritstr = kmem_asprintf("%s%s", propname,
200 char *recvdstr = kmem_asprintf("%s%s", propname,
219 dsl_prop_record_find(dsl_dir_t *dd, const char *propname) argument
235 dsl_prop_record_create(dsl_dir_t *dd, const char *propname) argument
278 dsl_prop_register(dsl_dataset_t *ds, const char *propname, dsl_prop_changed_cb_t *callback, void *cbarg) argument
313 dsl_prop_get(const char *dsname, const char *propname, int intsz, int numints, void *buf, char *setpoint) argument
339 dsl_prop_get_integer(const char *ddname, const char *propname, uint64_t *valuep, char *setpoint) argument
346 dsl_prop_get_int_ds(dsl_dataset_t *ds, const char *propname, uint64_t *valuep) argument
363 dsl_prop_predict(dsl_dir_t *dd, const char *propname, zprop_source_t source, uint64_t value, uint64_t *newvalp) argument
535 dsl_prop_changed_notify(dsl_pool_t *dp, uint64_t ddobj, const char *propname, uint64_t value, int first) argument
610 dsl_prop_set_sync_impl(dsl_dataset_t *ds, const char *propname, zprop_source_t source, int intsz, int numints, const void *value, dmu_tx_t *tx) argument
767 dsl_prop_set_int(const char *dsname, const char *propname, zprop_source_t source, uint64_t value) argument
780 dsl_prop_set_string(const char *dsname, const char *propname, zprop_source_t source, const char *value) argument
793 dsl_prop_inherit(const char *dsname, const char *propname, zprop_source_t source) argument
948 const char *propname; local
1177 const char *propname = zfs_prop_to_name(prop); local
1200 const char *propname = zfs_prop_to_name(prop); local
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/compression/
H A Dcompress_003_pos.ksh63 for propname in "compression" "compress"
67 log_must zfs set $propname=$value $fs
71 real_val=$(get_prop $propname $fs)
73 log_fail "Set property $propname=$value failed."
H A Dcompress_004_pos.ksh87 for propname in "compression" "compress"
92 real_val=$(get_prop $propname $fs)
97 log_fail "Set property $propname=$value failed."
/illumos-gate/usr/src/cmd/fs.d/nfs/lockd/
H A Dlockd.c143 char *propname = NULL; local
176 propname = "grace_period"; /* also -g */
177 ret = nfs_smf_get_iprop(propname, &val,
182 "Invalid %s from SMF"), propname);
187 "value", propname);
190 propname = "lockd_listen_backlog"; /* also -l */
191 ret = nfs_smf_get_iprop(propname, &val,
196 "Invalid %s from SMF"), propname);
201 "value", propname);
204 propname
[all...]
/illumos-gate/usr/src/common/fs/
H A Dbootfsops.c140 char propname[32]; local
145 (void) snprintf(propname, sizeof (propname),
147 if (do_bsys_getproplen(NULL, propname) < 0)
155 (void) do_bsys_getprop(NULL, propname, cpath);
158 (void) snprintf(propname, sizeof (propname),
160 if (do_bsys_getproplen(NULL, propname) != sizeof (uint64_t)) {
164 (void) do_bsys_getprop(NULL, propname, &propval);
167 (void) snprintf(propname, sizeo
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_scfutil.c190 char *propname, char *valstr)
207 propname, SCF_TYPE_ASTRING) == 0 ||
209 propname, SCF_TYPE_ASTRING) == 0) {
253 smb_smf_get_string_property(smb_scfhandle_t *handle, char *propname, argument
266 (scf_pg_get_property(handle->scf_pg, propname, prop) == 0)) {
290 smb_smf_set_integer_property(smb_scfhandle_t *handle, char *propname, argument
308 propname, SCF_TYPE_INTEGER) == 0 ||
310 propname, SCF_TYPE_INTEGER) == 0) {
347 smb_smf_get_integer_property(smb_scfhandle_t *handle, char *propname, argument
360 (scf_pg_get_property(handle->scf_pg, propname, pro
189 smb_smf_set_string_property(smb_scfhandle_t *handle, char *propname, char *valstr) argument
385 smb_smf_set_boolean_property(smb_scfhandle_t *handle, char *propname, uint8_t valbool) argument
442 smb_smf_get_boolean_property(smb_scfhandle_t *handle, char *propname, uint8_t *valbool) argument
478 smb_smf_set_opaque_property(smb_scfhandle_t *handle, char *propname, void *voidval, size_t sz) argument
541 smb_smf_get_opaque_property(smb_scfhandle_t *handle, char *propname, void *v, size_t sz) argument
576 smb_smf_delete_property(smb_scfhandle_t *handle, char *propname) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/maps/SUNW,Sun-Fire-X4500/
H A DSun-Fire-X4500-disk-hc-topology.xmlgen84 <propmethod name='ipmi_entity' version='0' propname='entity_ref'
93 propname='mode' proptype='uint32' mutable='1'>
101 <propmethod name='ipmi_entity' version='0' propname='entity_ref'
110 propname='mode' proptype='uint32' mutable='1'>
118 <propmethod name='ipmi_entity' version='0' propname='entity_ref'
126 <propmethod name='bay_indicator_mode' version='0' propname='mode'
135 <propmethod name='ipmi_entity' version='0' propname='entity_ref'
143 <propmethod name='x4500_present_mode' version='0' propname='mode'
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_object.c328 char *lastpropname = NULL, *propname; local
338 &propname, &value)) == NWAM_SUCCESS) {
340 ret = cb(propname, value, data);
350 lastpropname = propname;
523 nwam_get_prop_table_entry(struct nwam_prop_table table, const char *propname) argument
528 assert(propname != NULL);
531 if (strcmp(propname, cur->prop_name) == 0)
538 nwam_get_prop_description(struct nwam_prop_table table, const char *propname, argument
543 assert(propname != NULL && descriptionp != NULL);
545 if ((pte = nwam_get_prop_table_entry(table, propname))
555 nwam_get_prop_type(struct nwam_prop_table table, const char *propname, nwam_value_type_t *typep) argument
571 nwam_prop_multivalued(struct nwam_prop_table table, const char *propname, boolean_t *multip) argument
590 nwam_prop_read_only(struct nwam_prop_table table, const char *propname, boolean_t *readp) argument
621 nwam_validate_prop_internal(const char *propname, nwam_value_t value, void *arg) argument
676 nwam_validate_prop(struct nwam_prop_table table, struct nwam_handle *hp, const char *propname, nwam_value_t value) argument
[all...]
H A Dlibnwam_enm.c248 nwam_enm_delete_prop(nwam_enm_handle_t enmh, const char *propname) argument
255 assert(enmh != NULL && propname != NULL);
257 if ((err = nwam_enm_prop_read_only(propname, &ro)) != NWAM_SUCCESS)
264 if (strcmp(propname, NWAM_ENM_PROP_ENABLED) != 0)
280 if ((err = nwam_delete_prop(enmh->nwh_data, propname))
297 nwam_enm_set_prop_value(nwam_enm_handle_t enmh, const char *propname, argument
303 assert(enmh != NULL && propname != NULL && value != NULL);
305 if ((err = nwam_enm_validate_prop(enmh, propname, value))
307 (err = nwam_enm_prop_read_only(propname, &ro)) != NWAM_SUCCESS)
312 return (nwam_set_prop_value(enmh->nwh_data, propname, valu
316 nwam_enm_get_prop_value(nwam_enm_handle_t enmh, const char *propname, nwam_value_t *valuep) argument
350 nwam_enm_get_prop_description(const char *propname, const char **descriptionp) argument
357 nwam_enm_prop_read_only(const char *propname, boolean_t *readp) argument
497 nwam_enm_validate_prop(nwam_enm_handle_t enmh, const char *propname, nwam_value_t value) argument
509 nwam_enm_get_prop_type(const char *propname, nwam_value_type_t *typep) argument
515 nwam_enm_prop_multivalued(const char *propname, boolean_t *multip) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/maps/Joyent,Joyent-Compute-Platform-1101/
H A DJoyent-Compute-Platform-1101-disk-hc-topology.xmlgenksh44 <propmethod name='mptsas_led_mode' version='0' propname='mode'
53 <propmethod name='mptsas_led_mode' version='0' propname='mode'
62 <propmethod name='mptsas_led_mode' version='0' propname='mode'
/illumos-gate/usr/src/lib/fm/topo/maps/SUNW,Sun-Fire-X4540/
H A DSun-Fire-X4540-disk-hc-topology.xmlgen84 <propmethod name='ipmi_entity' version='0' propname='entity_ref'
94 propname='mode' proptype='uint32' mutable='1'>
102 <propmethod name='ipmi_entity' version='0' propname='entity_ref'
114 propname='mode' proptype='uint32' mutable='1'>
122 <propmethod name='ipmi_entity' version='0' propname='entity_ref'
133 <propmethod name='bay_indicator_mode' version='0' propname='mode'
/illumos-gate/usr/src/lib/libshell/common/scripts/
H A Dsvcproptree1.sh58 typeset propname
74 propname="${name#~(El).*:properties/}"
78 nameref node=tree[${servicename}].properties[${propname}]
/illumos-gate/usr/src/cmd/acctadm/
H A Daconf.c54 char *propname; member in struct:props
343 p->propname, p->proptype) == -1)
356 free(p->propname);
448 aconf_get_string(const char *pgname, const char *propname, char *buf, argument
466 scf_pg_get_property(pg, propname, prop) == -1 ||
478 aconf_get_bool(const char *pgname, const char *propname, uint8_t *rval) argument
495 scf_pg_get_property(pg, propname, prop) == -1 ||
507 aconf_set_string(const char *propname, const char *value) argument
511 if ((p = aconf_prop(propname, SCF_TYPE_ASTRING)) == NULL)
520 aconf_set_bool(const char *propname, boolean_ argument
532 aconf_prop(const char *propname, int proptype) argument
[all...]
/illumos-gate/usr/src/lib/libshare/smbfs/
H A Dsmbfs_scfutil.c529 smb_smf_delete_property(smb_scfhandle_t *handle, char *propname) argument
545 propname) != 0) {
574 char *propname, char *valstr)
592 propname, SCF_TYPE_ASTRING) == 0 ||
594 propname, SCF_TYPE_ASTRING) == 0) {
638 smb_smf_get_string_property(smb_scfhandle_t *handle, char *propname, argument
652 (scf_pg_get_property(handle->scf_pg, propname, prop) == 0)) {
676 smb_smf_set_integer_property(smb_scfhandle_t *handle, char *propname, argument
695 propname, SCF_TYPE_INTEGER) == 0 ||
697 propname, SCF_TYPE_INTEGE
573 smb_smf_set_string_property(smb_scfhandle_t *handle, char *propname, char *valstr) argument
734 smb_smf_get_integer_property(smb_scfhandle_t *handle, char *propname, int64_t *valint) argument
773 smb_smf_set_boolean_property(smb_scfhandle_t *handle, char *propname, uint8_t valbool) argument
831 smb_smf_get_boolean_property(smb_scfhandle_t *handle, char *propname, uint8_t *valbool) argument
868 smb_smf_set_opaque_property(smb_scfhandle_t *handle, char *propname, void *voidval, size_t sz) argument
932 smb_smf_get_opaque_property(smb_scfhandle_t *handle, char *propname, void *v, size_t sz) argument
[all...]

Completed in 264 milliseconds

123456