/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/ |
H A D | user_property_004_pos.ksh | 78 prop_name=$(valid_user_property 10) 80 log_must eval "$ZFS set $prop_name='$value' $fs" 81 log_must eval "check_user_prop $fs $prop_name '$value'" 86 log_mustnot nonexist_user_prop $prop_name $fssnap 88 log_must eval "$ZFS set $prop_name='$value' $fssnap" 89 log_mustnot nonexist_user_prop $prop_name $fssnap 91 log_must nonexist_user_prop $prop_name $fssnap 92 log_mustnot eval "$ZFS set $prop_name='$value' $fssnap" 93 log_must nonexist_user_prop $prop_name $fssnap
|
H A D | user_property_002_pos.ksh | 101 prop_name=$(valid_user_property 10) 103 log_must eval "$ZFS set $prop_name='$value' $pool" 104 log_must eval "check_user_prop $pool $prop_name '$value'" 105 log_must inherit_check $prop_name $pool $fs $vol $fsclone $volclone 110 log_must inherit_check $prop_name $pool $fs $new_fsclone $new_volclone 114 log_must eval "$ZFS set $prop_name='$new_value' $fs" 115 log_must eval "check_user_prop $fs $prop_name '$new_value'" 116 log_must inherit_check $prop_name $fs $new_fsclone $new_volclone
|
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_snapshot/ |
H A D | zfs_snapshot_006_pos.ksh | 77 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 $fssnap
|
H A D | zfs_snapshot_007_neg.ksh | 83 prop_name=$(valid_user_property 10) 86 log_must eval "$ZFS snapshot -o $prop_name='$value' $fssnap" 88 log_mustnot nonexist_user_prop $prop_name $fssnap 95 log_must eval "$ZFS snapshot -o $prop_name='$value' -o $prop_name2='$value2' $fssnap" 97 log_mustnot nonexist_user_prop $prop_name $fssnap 105 prop_name=$(valid_user_property 10) 108 log_must eval "$ZFS snapshot -r -o $prop_name='$value' $TESTPOOL@snap" 112 log_mustnot nonexist_user_prop $prop_name $fssnap 120 log_must eval "$ZFS snapshot -r -o $prop_name='$value' -o $prop_name2='$value2' $TESTPOOL@snap" 124 log_mustnot nonexist_user_prop $prop_name $fssnap
|
/titanic_41/usr/src/lib/lvm/libsvm/common/ |
H A D | update_mdconf.c | 56 char *prop_name; member 76 set_upgrade_prop(char *prop_name, int val) in set_upgrade_prop() argument 82 for (; upp->prop_name != NULL; upp++) { in set_upgrade_prop() 83 if (strcmp(upp->prop_name, prop_name) == 0) { in set_upgrade_prop() 91 is_upgrade_prop(char *prop_name) in is_upgrade_prop() argument 97 for (; upp->prop_name != NULL; upp++) { in is_upgrade_prop() 98 if (strcmp(upp->prop_name, prop_name) == 0) { in is_upgrade_prop() 106 create_in_file_prop(char *prop_name, char *fname) in create_in_file_prop() argument 118 for (; upp->prop_name != NULL; upp++) { in create_in_file_prop() 119 if (strcmp(upp->prop_name, prop_name) == 0) { in create_in_file_prop() [all …]
|
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_inherit/ |
H A D | zfs_inherit_003_pos.ksh | 57 typeset prop_name=$(valid_user_property 10) 60 log_must eval "$ZFS set $prop_name='$value' $ds" 64 typeset snapvalue=$(get_prop $prop_name $ds@$TESTSNAP) 67 log_fail "The '$ds@$TESTSNAP '$prop_name' value '$snapvalue' " \ 72 log_must eval "$ZFS set $prop_name='$snapvalue' $ds@$TESTSNAP" 74 log_must $ZFS inherit $prop_name $ds@$TESTSNAP 76 snapvalue=$(get_prop $prop_name $ds@$TESTSNAP) 79 log_fail "The '$ds@$TESTSNAP '$prop_name' value '$snapvalue' " \
|
/titanic_41/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() 42 "%s: %s prop update failed", __func__, prop_name); in pmcs_smhba_add_hba_prop() 47 prop_name, (char *)prop_val)) { in pmcs_smhba_add_hba_prop() 49 "%s: %s prop update failed", __func__, prop_name); in pmcs_smhba_add_hba_prop() 55 __func__, dt, prop_name); 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() 75 "%s: %s prop update failed", __func__, prop_name); in pmcs_smhba_add_iport_prop() 80 prop_name, (char *)prop_val)) { in pmcs_smhba_add_iport_prop() [all …]
|
/titanic_41/usr/src/common/mdesc/ |
H A D | mdesc_getproparcs.c | 59 mde_str_cookie_t prop_name; in md_get_prop_arcs() local 68 prop_name = md_find_name(ptr, namep); in md_get_prop_arcs() 69 if (prop_name == MDE_INVAL_STR_COOKIE) { in md_get_prop_arcs() 73 result = md_find_node_arcs(mdp, node, prop_name, MDET_PROP_ARC, arcp, in md_get_prop_arcs() 86 mde_str_cookie_t prop_name, int tag_type, mde_cookie_t *arcp, in md_find_node_arcs() argument 109 (MDE_NAME(mdep) == prop_name)) { in md_find_node_arcs()
|
H A D | mdesc_getpropstr.c | 36 mde_str_cookie_t prop_name; in md_get_prop_str() local 46 prop_name = md_find_name(ptr, namep); in md_get_prop_str() 47 if (prop_name == MDE_INVAL_STR_COOKIE) { in md_get_prop_str() 51 elem = md_find_node_prop(mdp, node, prop_name, MDET_PROP_STR); in md_get_prop_str()
|
H A D | mdesc_getpropval.c | 43 mde_str_cookie_t prop_name; in md_get_prop_val() local 53 prop_name = md_find_name(ptr, namep); in md_get_prop_val() 54 if (prop_name == MDE_INVAL_STR_COOKIE) { in md_get_prop_val() 58 elem = md_find_node_prop(mdp, node, prop_name, MDET_PROP_VAL); in md_get_prop_val()
|
H A D | mdesc_getpropdata.c | 37 mde_str_cookie_t prop_name; in md_get_prop_data() local 47 prop_name = md_find_name(ptr, namep); in md_get_prop_data() 48 if (prop_name == MDE_INVAL_STR_COOKIE) { in md_get_prop_data() 52 elem = md_find_node_prop(mdp, node, prop_name, MDET_PROP_DAT); in md_get_prop_data()
|
H A D | mdesc_findnodeprop.c | 37 mde_str_cookie_t prop_name, in md_find_node_prop() argument 44 prop_name == MDE_INVAL_STR_COOKIE) { in md_find_node_prop() 69 if (MDE_NAME(mdep) == prop_name) { in md_find_node_prop()
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/snowbird/common/ |
H A D | snowbird.c | 123 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) in picldiag_get_uint_propval() argument 141 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in picldiag_get_uint_propval() 229 picldiag_get_string_propval(picl_nodehdl_t modh, char *prop_name, char **outbuf) in picldiag_get_string_propval() argument 236 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in picldiag_get_string_propval() 782 char *prop_name; in pd_check_location_parent() local 789 prop_name = (char *) malloc(sizeof (char) * PICL_PROPNAMELEN_MAX); in pd_check_location_parent() 790 if (prop_name == NULL) { in pd_check_location_parent() 794 if (picl_get_propval_by_name(parenth, PICL_PROP_NAME, (void *)prop_name, in pd_check_location_parent() 796 free(prop_name); in pd_check_location_parent() [all …]
|
/titanic_41/usr/src/cmd/fs.d/nfs/lib/ |
H A D | smfcfg.c | 107 fs_smf_set_prop(smf_fstype_t fstype, char *prop_name, char *valbuf, in fs_smf_set_prop() argument 183 entry, prop_name, SCF_TYPE_INTEGER) == 0) { in fs_smf_set_prop() 193 prop_name, SCF_TYPE_ASTRING) == 0) { in fs_smf_set_prop() 216 prop_name, SCF_TYPE_BOOLEAN) == 0) { in fs_smf_set_prop() 240 fs_smf_get_prop(smf_fstype_t fstype, char *prop_name, char *cbuf, in fs_smf_get_prop() argument 297 if (scf_pg_get_property(pg, prop_name, in fs_smf_get_prop() 356 nfs_smf_get_prop(char *prop_name, char *propbuf, char *instance, in nfs_smf_get_prop() argument 359 return (fs_smf_get_prop(NFS_SMF, prop_name, propbuf, in nfs_smf_get_prop() 365 nfs_smf_get_iprop(char *prop_name, int *rvp, char *instance, in nfs_smf_get_iprop() argument 372 rc = fs_smf_get_prop(NFS_SMF, prop_name, propbuf, in nfs_smf_get_iprop() [all …]
|
/titanic_41/usr/src/cmd/mdb/common/modules/usba/ |
H A D | usba.c | 53 char prop_name[128]; in mdb_usba_is_root_hub() local 59 if (mdb_readstr(prop_name, sizeof (prop_name), in mdb_usba_is_root_hub() 60 (uintptr_t)prop.prop_name) == -1) { in mdb_usba_is_root_hub() 64 if (strcmp(prop_name, "root-hub") == 0) { in mdb_usba_is_root_hub()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/ |
H A D | piclsensors.c | 328 char prop_name[PICL_PROPNAMELEN_MAX]; in get_sensor_thr() local 333 (void) strncpy(prop_name, pi.piclinfo.name, sizeof (prop_name)); in get_sensor_thr() 337 if (strcmp(prop_name, PICL_PROP_LOW_WARNING) == 0) { in get_sensor_thr() 339 } else if (strcmp(prop_name, PICL_PROP_LOW_SHUTDOWN) == 0) { in get_sensor_thr() 341 } else if (strcmp(prop_name, PICL_PROP_LOW_POWER_OFF) == 0) { in get_sensor_thr() 343 } else if (strcmp(prop_name, PICL_PROP_HIGH_WARNING) == 0) { in get_sensor_thr() 345 } else if (strcmp(prop_name, PICL_PROP_HIGH_SHUTDOWN) == 0) { in get_sensor_thr() 347 } else if (strcmp(prop_name, PICL_PROP_HIGH_POWER_OFF) == 0) { in get_sensor_thr() 368 char prop_name[PICL_PROPNAMELEN_MAX]; in set_sensor_thr() local 373 (void) strncpy(prop_name, pi.piclinfo.name, sizeof (prop_name)); in set_sensor_thr() [all …]
|
/titanic_41/usr/src/lib/libdladm/common/ |
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 100 status = i_dladm_set_prop_temp(handle, flow, prop_name, in dladm_set_flowprop() 109 if (i_dladm_is_prop_temponly(prop_name, errprop, &prop_tbl)) in dladm_set_flowprop() 112 status = i_dladm_set_flowprop_db(handle, flow, prop_name, 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() 146 if (i_dladm_is_prop_temponly(prop_name, NULL, &prop_tbl)) in dladm_get_flowprop() 148 return (i_dladm_get_flowprop_db(handle, flow, prop_name, in dladm_get_flowprop() 152 status = i_dladm_get_prop_temp(handle, flow, type, prop_name, 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 | 517 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() 530 if (strcasecmp(prop_name, prop_tbl->pt_table[i].pd_name) == 0) in i_dladm_get_prop_temp() 622 const char *prop_name, char **prop_val, uint_t val_cnt, uint_t flags, in i_dladm_set_prop_temp() argument 633 if (prop_name != NULL && in i_dladm_set_prop_temp() 634 (strcasecmp(prop_name, pdp->pd_name) != 0)) in i_dladm_set_prop_temp() 641 if (prop_name != NULL) { in i_dladm_set_prop_temp() 662 i_dladm_is_prop_temponly(const char *prop_name, char **errprop, in i_dladm_is_prop_temponly() argument 667 if (prop_name == NULL) in i_dladm_is_prop_temponly() 673 if (strcasecmp(prop_name, pdp->pd_name) != 0) in i_dladm_is_prop_temponly()
|
H A D | linkprop.c | 1017 const char *prop_name, char **prop_val, uint_t val_cnt, uint_t flags, in i_dladm_set_linkprop() argument 1028 if (prop_name != NULL && in i_dladm_set_linkprop() 1029 (strcasecmp(prop_name, pdp->pd_name) != 0)) in i_dladm_set_linkprop() 1035 if (prop_name != NULL) { in i_dladm_set_linkprop() 1058 if (prop_name[0] == '_') { in i_dladm_set_linkprop() 1061 prop_name, prop_val, val_cnt, flags); in i_dladm_set_linkprop() 1074 const char *prop_name, char **prop_val, uint_t val_cnt, uint_t flags) in dladm_set_linkprop() argument 1084 (prop_name == NULL && prop_val != NULL)) { in dladm_set_linkprop() 1096 status = i_dladm_set_linkprop(handle, linkid, prop_name, prop_val, in dladm_set_linkprop() 1107 status = i_dladm_set_linkprop_db(handle, linkid, prop_name, in dladm_set_linkprop() [all …]
|
/titanic_41/usr/src/uts/common/io/ |
H A D | devpool.c | 222 char *prop_name; in pool_ioctl() local 498 prop_name = kmem_alloc(propget.pp_o_prop_name_size + 1, in pool_ioctl() 500 if (ddi_copyin(propget.pp_o_prop_name, prop_name, in pool_ioctl() 502 kmem_free(prop_name, propget.pp_o_prop_name_size + 1); in pool_ioctl() 507 kmem_free(prop_name, propget.pp_o_prop_name_size + 1); in pool_ioctl() 510 ret = pool_propget(prop_name, propget.pp_o_id_type, in pool_ioctl() 513 kmem_free(prop_name, propget.pp_o_prop_name_size + 1); in pool_ioctl() 628 prop_name = kmem_alloc(proprm.pp_o_prop_name_size + 1, in pool_ioctl() 630 if (ddi_copyin(proprm.pp_o_prop_name, prop_name, in pool_ioctl() 632 kmem_free(prop_name, proprm.pp_o_prop_name_size + 1); in pool_ioctl() [all …]
|
/titanic_41/usr/src/lib/lvm/libsvm/common/hdrs/ |
H A D | svm.h | 86 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);
|
/titanic_41/usr/src/cmd/pools/poolcfg/ |
H A D | poolcfg.y | 500 $$->prop_name = $3; 540 $$->prop_name = $2; 1239 free((void *)tmp->prop_name); in free_cmd() 1378 if (pool_put_property(conf, pe, prop->prop_name, in prop_list_walk() 1381 prop->prop_name, get_errstr()); in prop_list_walk() 1384 if (pool_rm_property(conf, pe, prop->prop_name) != 0) in prop_list_walk() 1386 prop->prop_name, get_errstr()); in prop_list_walk() 1558 if ((pos = strstr(prop->prop_name, min_suffix)) != NULL) in process_min_max() 1559 if (pos == prop->prop_name + strlen(prop->prop_name) in process_min_max() 1562 if ((pos = strstr(prop->prop_name, max_suffix)) != NULL) in process_min_max() [all …]
|
/titanic_41/usr/src/lib/libdiskmgt/common/ |
H A D | findevs.c | 109 static char *get_byte_prop(char *prop_name, di_node_t node); 112 static int get_prom_int(char *prop_name, di_node_t node, 114 static char *get_prom_str(char *prop_name, di_node_t node, 116 static int get_prop(char *prop_name, di_node_t node); 117 static char *get_str_prop(char *prop_name, di_node_t node); 1413 get_byte_prop(char *prop_name, di_node_t node) in get_byte_prop() argument 1420 cnt = di_prop_lookup_bytes(DDI_DEV_T_ANY, node, prop_name, &bytes); in get_byte_prop() 1453 get_prom_int(char *prop_name, di_node_t node, di_prom_handle_t ph) in get_prom_int() argument 1457 if (di_prom_prop_lookup_ints(ph, node, prop_name, &n) == 1) { in get_prom_int() 1465 get_prom_str(char *prop_name, di_node_t node, di_prom_handle_t ph) in get_prom_str() argument [all …]
|
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_user/misc/ |
H A D | setup.ksh | 88 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
|
/titanic_41/usr/src/uts/sun/io/dada/impl/ |
H A D | dcd_hba.c | 129 char *prop_name; in dcd_hba_attach() local 176 prop_name = "dcd_options"; in dcd_hba_attach() 178 if (ddi_prop_op(DDI_DEV_T_ANY, dip, PROP_LEN, 0, prop_name, in dcd_hba_attach() 182 prop_name, value) != DDI_PROP_SUCCESS) { in dcd_hba_attach() 183 cmn_err(CE_CONT, errmsg, prop_name, in dcd_hba_attach()
|