Home
last modified time | relevance | path

Searched refs:propname (Results 1 – 25 of 130) sorted by relevance

123456

/titanic_41/usr/src/uts/common/fs/zfs/
H A Ddsl_prop.c45 dodefault(const char *propname, int intsz, int numints, void *buf) in dodefault() argument
54 if ((prop = zfs_name_to_prop(propname)) == ZPROP_INVAL || in dodefault()
74 dsl_prop_get_dd(dsl_dir_t *dd, const char *propname, in dsl_prop_get_dd() argument
91 prop = zfs_name_to_prop(propname); in dsl_prop_get_dd()
93 inheritstr = kmem_asprintf("%s%s", propname, ZPROP_INHERIT_SUFFIX); in dsl_prop_get_dd()
94 recvdstr = kmem_asprintf("%s%s", propname, ZPROP_RECVD_SUFFIX); in dsl_prop_get_dd()
109 propname, intsz, numints, buf); in dsl_prop_get_dd()
152 err = dodefault(propname, intsz, numints, buf); in dsl_prop_get_dd()
161 dsl_prop_get_ds(dsl_dataset_t *ds, const char *propname, in dsl_prop_get_ds() argument
164 zfs_prop_t prop = zfs_name_to_prop(propname); in dsl_prop_get_ds()
[all …]
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Ddsl_prop.h57 int dsl_prop_register(struct dsl_dataset *ds, const char *propname,
59 int dsl_prop_unregister(struct dsl_dataset *ds, const char *propname,
64 int dsl_prop_get(const char *ddname, const char *propname,
66 int dsl_prop_get_integer(const char *ddname, const char *propname,
70 int dsl_prop_get_ds(struct dsl_dataset *ds, const char *propname,
72 int dsl_prop_get_int_ds(struct dsl_dataset *ds, const char *propname,
74 int dsl_prop_get_dd(struct dsl_dir *dd, const char *propname,
80 void dsl_prop_set_sync_impl(struct dsl_dataset *ds, const char *propname,
84 int dsl_prop_set_int(const char *dsname, const char *propname,
86 int dsl_prop_set_string(const char *dsname, const char *propname,
[all …]
/titanic_41/usr/src/cmd/fs.d/nfs/lockd/
H A Dlockd.c143 char *propname = NULL; in main() local
176 propname = "grace_period"; /* also -g */ in main()
177 ret = nfs_smf_get_iprop(propname, &val, in main()
182 "Invalid %s from SMF"), propname); in main()
187 "value", propname); in main()
190 propname = "lockd_listen_backlog"; /* also -l */ in main()
191 ret = nfs_smf_get_iprop(propname, &val, in main()
196 "Invalid %s from SMF"), propname); in main()
201 "value", propname); in main()
204 propname = "lockd_servers"; /* also argv[1] */ in main()
[all …]
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dproperty_alias_001_pos.ksh91 for propname in ${ro_prop[*]}; do
92 $ZFS get -pH -o value $propname $ds >/dev/null 2>&1
120 for propname in "volblocksize" "volblock" ; do
121 $ZFS get -pH -o value $propname $ds >/dev/null 2>&1
123 log_fail "Get the property $propname of $ds failed."
129 for propname in "recordsize" "recsize"; do
131 if [[ $propname == "recordsize" ]]; then
132 set_and_check $ds $propname $val "recsize"
134 set_and_check $ds $propname $val "recordsize"
/titanic_41/usr/src/uts/sparc/zfs/
H A Dspa_boot.c38 spa_get_bootprop(char *propname) in spa_get_bootprop() argument
43 proplen = BOP_GETPROPLEN(bootops, propname); in spa_get_bootprop()
48 if (BOP_GETPROP(bootops, propname, value) == -1) { in spa_get_bootprop()
57 spa_free_bootprop(char *propname) in spa_free_bootprop() argument
59 kmem_free(propname, strlen(propname) + 1); in spa_free_bootprop()
/titanic_41/usr/src/lib/libnwam/common/
H A Dlibnwam_object.c328 char *lastpropname = NULL, *propname; in nwam_walk_props() local
338 &propname, &value)) == NWAM_SUCCESS) { in nwam_walk_props()
340 ret = cb(propname, value, data); in nwam_walk_props()
350 lastpropname = propname; in nwam_walk_props()
523 nwam_get_prop_table_entry(struct nwam_prop_table table, const char *propname) in nwam_get_prop_table_entry() argument
528 assert(propname != NULL); in nwam_get_prop_table_entry()
531 if (strcmp(propname, cur->prop_name) == 0) in nwam_get_prop_table_entry()
538 nwam_get_prop_description(struct nwam_prop_table table, const char *propname, in nwam_get_prop_description() argument
543 assert(propname != NULL && descriptionp != NULL); in nwam_get_prop_description()
545 if ((pte = nwam_get_prop_table_entry(table, propname)) == NULL) { in nwam_get_prop_description()
[all …]
H A Dlibnwam_enm.c248 nwam_enm_delete_prop(nwam_enm_handle_t enmh, const char *propname) in nwam_enm_delete_prop() argument
255 assert(enmh != NULL && propname != NULL); in nwam_enm_delete_prop()
257 if ((err = nwam_enm_prop_read_only(propname, &ro)) != NWAM_SUCCESS) in nwam_enm_delete_prop()
264 if (strcmp(propname, NWAM_ENM_PROP_ENABLED) != 0) in nwam_enm_delete_prop()
280 if ((err = nwam_delete_prop(enmh->nwh_data, propname)) in nwam_enm_delete_prop()
297 nwam_enm_set_prop_value(nwam_enm_handle_t enmh, const char *propname, in nwam_enm_set_prop_value() argument
303 assert(enmh != NULL && propname != NULL && value != NULL); in nwam_enm_set_prop_value()
305 if ((err = nwam_enm_validate_prop(enmh, propname, value)) in nwam_enm_set_prop_value()
307 (err = nwam_enm_prop_read_only(propname, &ro)) != NWAM_SUCCESS) in nwam_enm_set_prop_value()
312 return (nwam_set_prop_value(enmh->nwh_data, propname, value)); in nwam_enm_set_prop_value()
[all …]
H A Dlibnwam_loc.c359 nwam_loc_delete_prop(nwam_loc_handle_t loch, const char *propname) in nwam_loc_delete_prop() argument
365 assert(loch != NULL && propname != NULL); in nwam_loc_delete_prop()
367 if ((err = nwam_loc_prop_read_only(propname, &ro)) != NWAM_SUCCESS) in nwam_loc_delete_prop()
379 if ((err = nwam_delete_prop(loch->nwh_data, propname)) in nwam_loc_delete_prop()
396 nwam_loc_set_prop_value(nwam_loc_handle_t loch, const char *propname, in nwam_loc_set_prop_value() argument
402 assert(loch != NULL && propname != NULL && value != NULL); in nwam_loc_set_prop_value()
404 if ((err = nwam_loc_validate_prop(loch, propname, value)) in nwam_loc_set_prop_value()
406 (err = nwam_loc_prop_read_only(propname, &ro)) != NWAM_SUCCESS) in nwam_loc_set_prop_value()
411 return (nwam_set_prop_value(loch->nwh_data, propname, value)); in nwam_loc_set_prop_value()
415 nwam_loc_get_prop_value(nwam_loc_handle_t loch, const char *propname, in nwam_loc_get_prop_value() argument
[all …]
H A Dlibnwam_known_wlan.c296 nwam_known_wlan_delete_prop(nwam_known_wlan_handle_t kwh, const char *propname) in nwam_known_wlan_delete_prop() argument
301 assert(kwh != NULL && propname != NULL); in nwam_known_wlan_delete_prop()
310 if ((err = nwam_delete_prop(kwh->nwh_data, propname)) != NWAM_SUCCESS) { in nwam_known_wlan_delete_prop()
327 const char *propname, nwam_value_t value) in nwam_known_wlan_set_prop_value() argument
331 assert(kwh != NULL && propname != NULL && value != NULL); in nwam_known_wlan_set_prop_value()
333 if ((err = nwam_known_wlan_validate_prop(kwh, propname, value)) in nwam_known_wlan_set_prop_value()
337 return (nwam_set_prop_value(kwh->nwh_data, propname, value)); in nwam_known_wlan_set_prop_value()
342 const char *propname, nwam_value_t *valuep) in nwam_known_wlan_get_prop_value() argument
344 return (nwam_get_prop_value(kwh->nwh_data, propname, valuep)); in nwam_known_wlan_get_prop_value()
486 nwam_known_wlan_get_prop_description(const char *propname, in nwam_known_wlan_get_prop_description() argument
[all …]
H A Dlibnwam_ncp.c1042 nwam_ncu_delete_prop(nwam_ncu_handle_t ncuh, const char *propname) in nwam_ncu_delete_prop() argument
1048 assert(ncuh != NULL && propname != NULL); in nwam_ncu_delete_prop()
1051 (err = nwam_ncu_prop_read_only(propname, &ro_prop)) != NWAM_SUCCESS) in nwam_ncu_delete_prop()
1063 if ((err = nwam_delete_prop(ncuh->nwh_data, propname)) in nwam_ncu_delete_prop()
1080 nwam_ncu_set_prop_value(nwam_ncu_handle_t ncuh, const char *propname, in nwam_ncu_set_prop_value() argument
1087 assert(ncuh != NULL && propname != NULL && value != NULL); in nwam_ncu_set_prop_value()
1090 (err = nwam_ncu_prop_read_only(propname, &ro_prop)) != NWAM_SUCCESS) in nwam_ncu_set_prop_value()
1106 if ((err = nwam_ncu_validate_prop(ncuh, propname, value)) in nwam_ncu_set_prop_value()
1110 return (nwam_set_prop_value(ncuh->nwh_data, propname, value)); in nwam_ncu_set_prop_value()
1114 nwam_ncu_get_prop_value(nwam_ncu_handle_t ncuh, const char *propname, in nwam_ncu_get_prop_value() argument
[all …]
/titanic_41/usr/src/common/fs/
H A Dbootfsops.c140 char propname[32]; in bbootfs_init() local
145 (void) snprintf(propname, sizeof (propname), in bbootfs_init()
147 if (do_bsys_getproplen(NULL, propname) < 0) in bbootfs_init()
155 (void) do_bsys_getprop(NULL, propname, cpath); in bbootfs_init()
158 (void) snprintf(propname, sizeof (propname), in bbootfs_init()
160 if (do_bsys_getproplen(NULL, propname) != sizeof (uint64_t)) { in bbootfs_init()
164 (void) do_bsys_getprop(NULL, propname, &propval); in bbootfs_init()
167 (void) snprintf(propname, sizeof (propname), in bbootfs_init()
169 if (do_bsys_getproplen(NULL, propname) != sizeof (uint64_t)) { in bbootfs_init()
173 (void) do_bsys_getprop(NULL, propname, &propval); in bbootfs_init()
/titanic_41/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_scfutil.c182 char *propname, char *valstr) in smb_smf_set_string_property() argument
199 propname, SCF_TYPE_ASTRING) == 0 || in smb_smf_set_string_property()
201 propname, SCF_TYPE_ASTRING) == 0) { in smb_smf_set_string_property()
245 smb_smf_get_string_property(smb_scfhandle_t *handle, char *propname, in smb_smf_get_string_property() argument
258 (scf_pg_get_property(handle->scf_pg, propname, prop) == 0)) { in smb_smf_get_string_property()
282 smb_smf_set_integer_property(smb_scfhandle_t *handle, char *propname, in smb_smf_set_integer_property() argument
300 propname, SCF_TYPE_INTEGER) == 0 || in smb_smf_set_integer_property()
302 propname, SCF_TYPE_INTEGER) == 0) { in smb_smf_set_integer_property()
339 smb_smf_get_integer_property(smb_scfhandle_t *handle, char *propname, in smb_smf_get_integer_property() argument
352 (scf_pg_get_property(handle->scf_pg, propname, prop) == 0)) { in smb_smf_get_integer_property()
[all …]
/titanic_41/usr/src/uts/sun4u/taco/io/
H A Dppm.conf135 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";
/titanic_41/usr/src/lib/libshare/smbfs/
H A Dsmbfs_scfutil.c529 smb_smf_delete_property(smb_scfhandle_t *handle, char *propname) in smb_smf_delete_property() argument
545 propname) != 0) { in smb_smf_delete_property()
574 char *propname, char *valstr) in smb_smf_set_string_property() argument
592 propname, SCF_TYPE_ASTRING) == 0 || in smb_smf_set_string_property()
594 propname, SCF_TYPE_ASTRING) == 0) { in smb_smf_set_string_property()
638 smb_smf_get_string_property(smb_scfhandle_t *handle, char *propname, in smb_smf_get_string_property() argument
652 (scf_pg_get_property(handle->scf_pg, propname, prop) == 0)) { in smb_smf_get_string_property()
676 smb_smf_set_integer_property(smb_scfhandle_t *handle, char *propname, in smb_smf_set_integer_property() argument
695 propname, SCF_TYPE_INTEGER) == 0 || in smb_smf_set_integer_property()
697 propname, SCF_TYPE_INTEGER) == 0) { in smb_smf_set_integer_property()
[all …]
/titanic_41/usr/src/uts/sun4u/enchilada/io/
H A Dppm.conf176 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";
/titanic_41/usr/src/cmd/acctadm/
H A Daconf.c54 char *propname; member
343 p->propname, p->proptype) == -1) in aconf_save()
356 free(p->propname); in aconf_save()
448 aconf_get_string(const char *pgname, const char *propname, char *buf, in aconf_get_string() argument
466 scf_pg_get_property(pg, propname, prop) == -1 || in aconf_get_string()
478 aconf_get_bool(const char *pgname, const char *propname, uint8_t *rval) in aconf_get_bool() argument
495 scf_pg_get_property(pg, propname, prop) == -1 || in aconf_get_bool()
507 aconf_set_string(const char *propname, const char *value) in aconf_set_string() argument
511 if ((p = aconf_prop(propname, SCF_TYPE_ASTRING)) == NULL) in aconf_set_string()
520 aconf_set_bool(const char *propname, boolean_t value) in aconf_set_bool() argument
[all …]
/titanic_41/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."
/titanic_41/usr/src/uts/sun4v/promif/
H A Dpromif_stree.c180 char *propname; in promif_stree_nextprop() local
188 propname = nextprop(pnp, name); in promif_stree_nextprop()
189 if (propname == NULL) in promif_stree_nextprop()
192 (void) prom_strcpy(next, propname); in promif_stree_nextprop()
380 char propname[OBP_MAXPROPNAME]; in create_node() local
398 (void) prom_nextprop(node, prvname, propname); in create_node()
399 if (prom_strlen(propname) == 0) in create_node()
401 if ((proplen = prom_getproplen(node, propname)) == -1) in create_node()
406 (void) prom_getprop(node, propname, propval); in create_node()
408 create_prop(pnp, propname, propval, proplen); in create_node()
[all …]
/titanic_41/usr/src/lib/libpicl/
H A Dpicl2door.h147 char propname[PICL_PROPNAMELEN_MAX]; member
155 char propname[PICL_PROPNAMELEN_MAX]; member
213 char propname[PICL_PROPNAMELEN_MAX]; member
220 char propname[PICL_PROPNAMELEN_MAX]; member
274 char propname[PICL_PROPNAMELEN_MAX]; member
283 char propname[PICL_PROPNAMELEN_MAX]; member
318 char propname[PICL_PROPNAMELEN_MAX]; member
/titanic_41/usr/src/lib/libshare/autofs/
H A Dlibshare_autofs.c231 findprotoopt(char *propname) in findprotoopt() argument
236 if (strcmp(proto_options[i].name, propname) == 0) in findprotoopt()
246 char *propname; in autofs_validate_property() local
254 propname = sa_get_property(property, "type"); in autofs_validate_property()
255 if (propname == NULL) in autofs_validate_property()
258 if ((optionindex = findprotoopt(propname)) < 0) in autofs_validate_property()
262 if (propname != NULL) in autofs_validate_property()
263 sa_free_attr_string(propname); in autofs_validate_property()
290 if (propname != NULL) in autofs_validate_property()
291 sa_free_attr_string(propname); in autofs_validate_property()
/titanic_41/usr/src/stand/lib/sa/sparc/
H A Dprom_misc.c33 prom_create_encoded_prop(char *propname, void *prop_data, int prop_datalen, in prom_create_encoded_prop() argument
63 (uintptr_t)prop_data, strlen(propname), (uintptr_t)propname); in prom_create_encoded_prop()
/titanic_41/usr/src/cmd/svc/svcprop/
H A Dsvcprop.c776 const char *propname; in do_wait() local
792 propname = strrchr(wip->fmri, '/') + 1; in do_wait()
804 propname = p->spn_comp1; in do_wait()
806 if (scf_pg_get_property(wip->pg, propname, prop) != in do_wait()
812 "\"%s\".\n"), propname); in do_wait()
826 propname = NULL; in do_wait()
856 propname = p->spn_comp2; in do_wait()
858 if (propname != NULL) { in do_wait()
859 if (scf_pg_get_property(lpg, propname, prop) != in do_wait()
865 "\"%s\".\n"), propname); in do_wait()
[all …]
/titanic_41/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_cmn.c67 #define eib_prop_get_and_test(inst, dp, propname, propval) \ argument
70 DDI_PROP_DONTPASS | DDI_PROP_NOTPROM, (propname), -1); \
74 "property '%s'", (propname)); \
79 #define eib_prop64_get_and_test(inst, dp, propname, propval) \ argument
82 DDI_PROP_DONTPASS | DDI_PROP_NOTPROM, (propname), -1); \
86 "property '%s'", (propname)); \
91 #define eib_propstr_get_and_test(inst, dp, propname, propval_p) \ argument
98 DDI_PROP_DONTPASS | DDI_PROP_NOTPROM, (propname), \
103 "property '%s'", (propname)); \
/titanic_41/usr/src/common/zfs/
H A Dzprop_common.c212 const char *propname = prop_entry->pd_name; in propname_match() local
218 if (len == strlen(propname) && in propname_match()
219 strncmp(p, propname, len) == 0) in propname_match()
237 const char *propname; member
246 if (propname_match(data->propname, strlen(data->propname), in zprop_name_to_prop_cb()
254 zprop_name_to_prop(const char *propname, zfs_type_t type) in zprop_name_to_prop() argument
259 cb_data.propname = propname; in zprop_name_to_prop()
/titanic_41/usr/src/lib/efcode/engine/
H A Dproperties.c123 char *propname; in stack_find_property() local
125 propname = pop_a_string(env, NULL); in stack_find_property()
126 return (find_property(d, propname)); in stack_find_property()
133 char *propname, *srcptr; in property() local
151 propname = pop_a_string(env, NULL); in property()
152 p = find_property(d, propname); in property()
157 p->name = STRDUP(propname); in property()
170 lookup_package_property(fcode_env_t *env, char *propname, device_t *d) in lookup_package_property() argument
174 p = find_property(d, propname); in lookup_package_property()
183 push_a_string(env, propname); in lookup_package_property()
[all …]

123456