Searched refs:prop_name (Results 1 - 25 of 122) sorted by relevance

12345

/illumos-gate/usr/src/common/mdesc/
H A Dmdesc_getpropstr.c36 mde_str_cookie_t prop_name; local
46 prop_name = md_find_name(ptr, namep);
47 if (prop_name == MDE_INVAL_STR_COOKIE) {
51 elem = md_find_node_prop(mdp, node, prop_name, MDET_PROP_STR);
H A Dmdesc_getpropdata.c37 mde_str_cookie_t prop_name; local
47 prop_name = md_find_name(ptr, namep);
48 if (prop_name == MDE_INVAL_STR_COOKIE) {
52 elem = md_find_node_prop(mdp, node, prop_name, MDET_PROP_DAT);
H A Dmdesc_getpropval.c43 mde_str_cookie_t prop_name; local
53 prop_name = md_find_name(ptr, namep);
54 if (prop_name == MDE_INVAL_STR_COOKIE) {
58 elem = md_find_node_prop(mdp, node, prop_name, MDET_PROP_VAL);
H A Dmdesc_getproparcs.c59 mde_str_cookie_t prop_name; local
68 prop_name = md_find_name(ptr, namep);
69 if (prop_name == MDE_INVAL_STR_COOKIE) {
73 result = md_find_node_arcs(mdp, node, prop_name, MDET_PROP_ARC, arcp,
81 * Find the number of arcs in the node of the requested prop_name. If storage
86 mde_str_cookie_t prop_name, int tag_type, mde_cookie_t *arcp,
109 (MDE_NAME(mdep) == prop_name)) {
85 md_find_node_arcs(md_impl_t *mdp, mde_cookie_t node, mde_str_cookie_t prop_name, int tag_type, mde_cookie_t *arcp, size_t arcsize) argument
H A Dmdesc_findnodeprop.c37 mde_str_cookie_t prop_name,
44 prop_name == MDE_INVAL_STR_COOKIE) {
69 if (MDE_NAME(mdep) == prop_name) {
35 md_find_node_prop(md_impl_t *mdp, mde_cookie_t node, mde_str_cookie_t prop_name, int tag_type) argument
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Duser_property_004_pos.ksh82 prop_name=$(valid_user_property 10)
84 log_must eval "zfs set $prop_name='$value' $fs"
85 log_must eval "check_user_prop $fs $prop_name '$value'"
90 log_mustnot nonexist_user_prop $prop_name $fssnap
92 log_must eval "zfs set $prop_name='$value' $fssnap"
93 log_mustnot nonexist_user_prop $prop_name $fssnap
95 log_must nonexist_user_prop $prop_name $fssnap
96 log_mustnot eval "zfs set $prop_name='$value' $fssnap"
97 log_must nonexist_user_prop $prop_name $fssnap
H A Duser_property_002_pos.ksh105 prop_name=$(valid_user_property 10)
107 log_must eval "zfs set $prop_name='$value' $pool"
108 log_must eval "check_user_prop $pool $prop_name '$value'"
109 log_must inherit_check $prop_name $pool $fs $vol $fsclone $volclone
114 log_must inherit_check $prop_name $pool $fs $new_fsclone $new_volclone
118 log_must eval "zfs set $prop_name='$new_value' $fs"
119 log_must eval "check_user_prop $fs $prop_name '$new_value'"
120 log_must inherit_check $prop_name $fs $new_fsclone $new_volclone
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_inherit/
H A Dzfs_inherit_003_pos.ksh61 typeset prop_name=$(valid_user_property 10)
64 log_must eval "zfs set $prop_name='$value' $ds"
68 typeset snapvalue=$(get_prop $prop_name $ds@$TESTSNAP)
71 log_fail "The '$ds@$TESTSNAP '$prop_name' value '$snapvalue' " \
76 log_must eval "zfs set $prop_name='$snapvalue' $ds@$TESTSNAP"
78 log_must zfs inherit $prop_name $ds@$TESTSNAP
80 snapvalue=$(get_prop $prop_name $ds@$TESTSNAP)
83 log_fail "The '$ds@$TESTSNAP '$prop_name' value '$snapvalue' " \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_snapshot/
H A Dzfs_snapshot_006_pos.ksh77 prop_name=$(valid_user_property 10)
80 log_must eval "zfs snapshot -o $prop_name='$value' $fssnap"
82 log_mustnot nonexist_user_prop $prop_name $fssnap
89 log_must eval "zfs snapshot -o $prop_name='$value' -o $prop_name2='$value2' $fssnap"
91 log_mustnot nonexist_user_prop $prop_name $fssnap
97 prop_name=$(valid_user_property 10)
100 log_must eval "zfs snapshot -r -o $prop_name='$value' $TESTPOOL@snap"
104 log_mustnot nonexist_user_prop $prop_name $fssnap
114 log_must eval "zfs snapshot -r -o $prop_name='$value' -o $prop_name2='$value2' $TESTPOOL@snap"
118 log_mustnot nonexist_user_prop $prop_name
[all...]
H A Dzfs_snapshot_007_neg.ksh87 prop_name=$(valid_user_property 10)
90 log_must eval "zfs snapshot -o $prop_name='$value' $fssnap"
92 log_mustnot nonexist_user_prop $prop_name $fssnap
99 log_must eval "zfs snapshot -o $prop_name='$value' -o $prop_name2='$value2' $fssnap"
101 log_mustnot nonexist_user_prop $prop_name $fssnap
109 prop_name=$(valid_user_property 10)
112 log_must eval "zfs snapshot -r -o $prop_name='$value' $TESTPOOL@snap"
116 log_mustnot nonexist_user_prop $prop_name $fssnap
124 log_must eval "zfs snapshot -r -o $prop_name='$value' -o $prop_name2='$value2' $TESTPOOL@snap"
128 log_mustnot nonexist_user_prop $prop_name
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/usba/
H A Dusba.c53 char prop_name[128]; local
59 if (mdb_readstr(prop_name, sizeof (prop_name),
60 (uintptr_t)prop.prop_name) == -1) {
64 if (strcmp(prop_name, "root-hub") == 0) {
/illumos-gate/usr/src/lib/lvm/libsvm/common/
H A Dupdate_mdconf.c56 char *prop_name; member in struct:__anon4243
76 set_upgrade_prop(char *prop_name, int val) argument
82 for (; upp->prop_name != NULL; upp++) {
83 if (strcmp(upp->prop_name, prop_name) == 0) {
91 is_upgrade_prop(char *prop_name) argument
97 for (; upp->prop_name != NULL; upp++) {
98 if (strcmp(upp->prop_name, prop_name) == 0) {
106 create_in_file_prop(char *prop_name, cha argument
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_smhba.c33 char *prop_name, void *prop_val)
40 prop_name, *(int *)prop_val)) {
42 "%s: %s prop update failed", __func__, prop_name);
47 prop_name, (char *)prop_val)) {
49 "%s: %s prop update failed", __func__, prop_name);
55 __func__, dt, prop_name);
65 char *prop_name, void *prop_val)
73 prop_name, *(int *)prop_val)) {
75 "%s: %s prop update failed", __func__, prop_name);
80 prop_name, (cha
32 pmcs_smhba_add_hba_prop(pmcs_hw_t *pwp, data_type_t dt, char *prop_name, void *prop_val) argument
64 pmcs_smhba_add_iport_prop(pmcs_iport_t *iport, data_type_t dt, char *prop_name, void *prop_val) argument
96 pmcs_smhba_add_tgt_prop(pmcs_xscsi_t *tgt, data_type_t dt, char *prop_name, void *prop_val) argument
[all...]
/illumos-gate/usr/src/lib/lvm/libsvm/common/hdrs/
H A Dsvm.h86 extern void set_upgrade_prop(char *prop_name, int val);
87 extern int is_upgrade_prop(char *prop_name);
88 extern int create_in_file_prop(char *prop_name, char *fname);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/snowbird/common/
H A Dsnowbird.c123 picldiag_get_uint_propval(picl_nodehdl_t modh, char *prop_name, int *ret);
131 picldiag_get_uint_propval(picl_nodehdl_t modh, char *prop_name, int *ret) argument
141 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph);
229 picldiag_get_string_propval(picl_nodehdl_t modh, char *prop_name, char **outbuf) argument
236 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph);
782 char *prop_name; local
789 prop_name = (char *) malloc(sizeof (char) * PICL_PROPNAMELEN_MAX);
790 if (prop_name == NULL) {
794 if (picl_get_propval_by_name(parenth, PICL_PROP_NAME, (void *)prop_name,
796 free(prop_name);
836 char *prop_name, *valbuf; local
[all...]
/illumos-gate/usr/src/cmd/pools/poolcfg/
H A Dpoolcfg.h52 const char *prop_name; member in struct:prop
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dsmfcfg.c107 fs_smf_set_prop(smf_fstype_t fstype, char *prop_name, char *valbuf, argument
183 entry, prop_name, SCF_TYPE_INTEGER) == 0) {
193 prop_name, SCF_TYPE_ASTRING) == 0) {
216 prop_name, SCF_TYPE_BOOLEAN) == 0) {
240 fs_smf_get_prop(smf_fstype_t fstype, char *prop_name, char *cbuf, argument
297 if (scf_pg_get_property(pg, prop_name,
356 nfs_smf_get_prop(char *prop_name, char *propbuf, char *instance, argument
359 return (fs_smf_get_prop(NFS_SMF, prop_name, propbuf,
365 nfs_smf_get_iprop(char *prop_name, int *rvp, char *instance, argument
372 rc = fs_smf_get_prop(NFS_SMF, prop_name, propbu
385 nfs_smf_set_prop(char *prop_name, char *value, char *instance, scf_type_t type, char *svc_name) argument
393 autofs_smf_set_prop(char *prop_name, char *value, char *instance, scf_type_t type, char *svc_name) argument
401 autofs_smf_get_prop(char *prop_name, char *propbuf, char *instance, scf_type_t sctype, char *svc_name, int *bufsz) argument
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/
H A Dpiclsensors.c328 char prop_name[PICL_PROPNAMELEN_MAX]; local
333 (void) strncpy(prop_name, pi.piclinfo.name, sizeof (prop_name));
337 if (strcmp(prop_name, PICL_PROP_LOW_WARNING) == 0) {
339 } else if (strcmp(prop_name, PICL_PROP_LOW_SHUTDOWN) == 0) {
341 } else if (strcmp(prop_name, PICL_PROP_LOW_POWER_OFF) == 0) {
343 } else if (strcmp(prop_name, PICL_PROP_HIGH_WARNING) == 0) {
345 } else if (strcmp(prop_name, PICL_PROP_HIGH_SHUTDOWN) == 0) {
347 } else if (strcmp(prop_name, PICL_PROP_HIGH_POWER_OFF) == 0) {
368 char prop_name[PICL_PROPNAMELEN_MA local
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/misc/
H A Dsetup.ksh88 prop_name=${props[$i]}
90 log_must zfs set $prop_name=$prop_val $TESTPOOL/$TESTFS/prop
149 prop_name=${props[$i]}
151 log_must zpool set $prop_name=$prop_val $TESTPOOL
/illumos-gate/usr/src/lib/libdladm/common/
H A Dflowprop.c90 const char *prop_name, char **prop_val, uint_t val_cnt, uint_t flags,
100 status = i_dladm_set_prop_temp(handle, flow, prop_name,
109 if (i_dladm_is_prop_temponly(prop_name, errprop, &prop_tbl))
112 status = i_dladm_set_flowprop_db(handle, flow, prop_name,
137 const char *prop_name, char **prop_val, uint_t *val_cntp)
141 if (flow == NULL || prop_name == NULL || prop_val == NULL ||
146 if (i_dladm_is_prop_temponly(prop_name, NULL, &prop_tbl))
148 return (i_dladm_get_flowprop_db(handle, flow, prop_name,
152 status = i_dladm_get_prop_temp(handle, flow, type, prop_name,
167 const char *prop_name, cha
89 dladm_set_flowprop(dladm_handle_t handle, const char *flow, const char *prop_name, char **prop_val, uint_t val_cnt, uint_t flags, char **errprop) argument
136 dladm_get_flowprop(dladm_handle_t handle, const char *flow, uint32_t type, const char *prop_name, char **prop_val, uint_t *val_cntp) argument
166 i_dladm_set_flowprop_db(dladm_handle_t handle, const char *flow, const char *prop_name, char **prop_val, uint_t val_cnt) argument
182 i_dladm_get_flowprop_db(dladm_handle_t handle, const char *flow, const char *prop_name, char **prop_val, uint_t *val_cntp) argument
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Ddevpool.c222 char *prop_name; local
498 prop_name = kmem_alloc(propget.pp_o_prop_name_size + 1,
500 if (ddi_copyin(propget.pp_o_prop_name, prop_name,
502 kmem_free(prop_name, propget.pp_o_prop_name_size + 1);
507 kmem_free(prop_name, propget.pp_o_prop_name_size + 1);
510 ret = pool_propget(prop_name, propget.pp_o_id_type,
513 kmem_free(prop_name, propget.pp_o_prop_name_size + 1);
628 prop_name = kmem_alloc(proprm.pp_o_prop_name_size + 1,
630 if (ddi_copyin(proprm.pp_o_prop_name, prop_name,
632 kmem_free(prop_name, propr
[all...]
/illumos-gate/usr/src/uts/sun/io/dada/impl/
H A Ddcd_hba.c129 char *prop_name; local
176 prop_name = "dcd_options";
178 if (ddi_prop_op(DDI_DEV_T_ANY, dip, PROP_LEN, 0, prop_name,
182 prop_name, value) != DDI_PROP_SUCCESS) {
183 cmn_err(CE_CONT, errmsg, prop_name,
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dfindevs.c110 static char *get_byte_prop(char *prop_name, di_node_t node);
113 static int get_prom_int(char *prop_name, di_node_t node,
115 static char *get_prom_str(char *prop_name, di_node_t node,
117 static int get_prop(char *prop_name, di_node_t node);
118 static char *get_str_prop(char *prop_name, di_node_t node);
1414 get_byte_prop(char *prop_name, di_node_t node) argument
1421 cnt = di_prop_lookup_bytes(DDI_DEV_T_ANY, node, prop_name, &bytes);
1454 get_prom_int(char *prop_name, di_node_t node, di_prom_handle_t ph) argument
1458 if (di_prom_prop_lookup_ints(ph, node, prop_name, &n) == 1) {
1466 get_prom_str(char *prop_name, di_node_ argument
1481 get_prop(char *prop_name, di_node_t node) argument
1500 get_str_prop(char *prop_name, di_node_t node) argument
1715 char prop_name[MAXPROPLEN]; local
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/
H A Derie.h100 int64_t erie_get_int_propval(picl_nodehdl_t modh, char *prop_name,
H A Dhuron.h107 int64_t huron_get_int_propval(picl_nodehdl_t modh, char *prop_name,

Completed in 114 milliseconds

12345