Home
last modified time | relevance | path

Searched refs:props (Results 1 – 25 of 227) sorted by relevance

12345678910

/illumos-gate/usr/src/test/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.get_index_props.zcp20 props = {}
23 props['redundant_metadata'] = {{'all', 'default'}, {nil, nil}}
24 props['sync'] = {{'standard', 'default'}, {nil, nil}}
25 props['checksum'] = {{'on', 'default'}, {nil, nil}}
26 props['dedup'] = {{'off', 'default'}, {nil, nil}}
27 props['compression'] = {{'off', 'default'}, {nil, nil}}
28 props['snapdir'] = {{'hidden', 'default'}, {nil, nil}}
29 props['aclmode'] = {{'discard', 'default'}, {nil, nil}}
30 props['aclinherit'] = {{'restricted','default'}, {nil, nil}}
31 props['copies'] = {{'1', 'default'}, {nil, nil}}
[all …]
H A Dtst.get_number_props.zcp21 props = {}
28 props['used'] = {{true, nil}, {true, nil}, {true, nil}}
29 props['available'] = {{true, nil}, {nil, nil}, {true, nil}}
30 props['referenced'] = {{true, nil}, {true, nil}, {true, nil}}
31 props['compressratio'] = {{true, nil}, {true, nil}, {true, nil}}
32 props['refcompressratio'] = {{true, nil}, {true, nil}, {true, nil}}
33 props['volblocksize'] = {{nil, nil}, {nil, nil}, {true, nil}}
34 props['usedbysnapshots'] = {{true, nil}, {nil, nil}, {true, nil}}
35 props['usedbydataset'] = {{true, nil}, {nil, nil}, {true, nil}}
53 -- hidden props
[all …]
H A Dtst.get_string_props.zcp21 props = {}
24 props['origin'] = {{nil, nil}, {nil, nil}, {snap, nil}}
25 props['clones'] = {{nil, nil}, {{clone}, nil}, {nil, nil}}
27 props['sharenfs'] = {{'off', 'default'}, {nil, nil}, {'off', 'default'}}
28 props['type'] = {{'filesystem', nil}, {'snapshot', nil}, {'filesystem', nil}}
29 props['sharesmb'] = {{'off', 'default'}, {nil, nil}, {'off', 'default'}}
30 props['mlslabel'] = {{'none', 'default'}, {'none', 'default'}, {'none', 'default'}}
31 props['receive_resume_token'] = {{nil, nil}, {nil, nil}, {nil, nil}}
32 -- hidden props
33 props['name'] = {{fs, nil}, {snap, nil}, {clone, nil}}
[all …]
/illumos-gate/usr/src/lib/scsi/plugins/ses/ses2/common/
H A Dses2_element_ctl.c1443 nvlist_t *props = ses_node_props(np); in elem_setdef_threshold() local
1458 nvlist_t *props = ses_node_props(np); in elem_setdef_device() local
1484 nvlist_t *props = ses_node_props(np); in elem_setdef_psu() local
1498 nvlist_t *props = ses_node_props(np); in elem_setdef_cooling() local
1514 nvlist_t *props = ses_node_props(np); in elem_setdef_temp() local
1530 nvlist_t *props = ses_node_props(np); in elem_setdef_lock() local
1544 nvlist_t *props = ses_node_props(np); in elem_setdef_alarm() local
1563 nvlist_t *props = ses_node_props(np); in elem_setdef_esc() local
1578 nvlist_t *props = ses_node_props(np); in elem_setdef_scc() local
1591 nvlist_t *props = ses_node_props(np); in elem_setdef_cache() local
[all …]
H A Dses2_pages.c43 nvlist_t *props = ses_node_props(np); in ses2_ctl_common_setdef() local
64 nvlist_t *props = ses_node_props(np); in ses2_aes_index() local
71 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_INDEX, in ses2_aes_index()
73 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_TYPE, in ses2_aes_index()
164 nvlist_t *props = ses_node_props(np); in ses2_threshold_index() local
186 nvlist_t *props = ses_node_props(np); in ses2_element_index() local
234 nvlist_t *props = ses_node_props(np); in ses2_status_index() local
237 if (nvlist_lookup_uint64(props, SES_PROP_ELEMENT_INDEX, in ses2_status_index()
265 nvlist_t *props = ses_node_props(np); in ses2_ctl_fill() local
319 nvlist_t *props = ses_node_props(np); in ses2_threshout_ctl_fill() local
[all …]
H A Dses2_enclosure_ctl.c42 nvlist_t *props = ses_node_props(np); in enc_do_ucode() local
64 if (nvlist_lookup_uint64(props, SES_EN_PROP_UCODE_SZ, in enc_do_ucode()
73 (void) nvlist_lookup_uint64(props, SES_EN_PROP_UCODE_BUF, in enc_do_ucode()
168 nvlist_t *props = ses_node_props(np); in enc_ctl_string() local
173 VERIFY(nvlist_lookup_uint64(props, SES_EN_PROP_EID, &eid) == 0); in enc_ctl_string()
206 nvlist_t *props = ses_node_props(np); in enc_ctl_nick() local
291 nvlist_t *props = ses_node_props(np); in enc_setdef_one() local
296 SES_NV_CTLBOOL(props, SES_PROP_IDENT, tp->seci_rqst_ident); in enc_setdef_one()
297 SES_NV_CTLBOOL(props, SES_PROP_WARN_REQ, in enc_setdef_one()
299 SES_NV_CTLBOOL(props, SES_PROP_FAIL_REQ, in enc_setdef_one()
[all …]
/illumos-gate/usr/src/lib/nsswitch/ad/common/
H A Dad_common.c48 if (props->domain_name != NULL) { in nssad_cfg_free_props()
49 free(props->domain_name); in nssad_cfg_free_props()
50 props->domain_name = NULL; in nssad_cfg_free_props()
53 free(props->domain_controller); in nssad_cfg_free_props()
54 props->domain_controller = NULL; in nssad_cfg_free_props()
60 nssad_prop_t *props) in nssad_cfg_discover_props() argument
66 props->domain_controller = in nssad_cfg_discover_props()
124 nssad_prop_t props; in nssad_cfg_refresh() local
127 (void) memset(&props, 0, sizeof (props)); in nssad_cfg_refresh()
129 &props) < 0) in nssad_cfg_refresh()
[all …]
/illumos-gate/usr/src/uts/sparc/os/
H A Dcpr_sparc.c113 cpr_update_nvram(cprop_t *props) in cpr_update_nvram() argument
124 for (tail = props + CPR_MAXPROP; props < tail; props++) { in cpr_update_nvram()
127 props->mod, props->name, props->value); in cpr_update_nvram()
129 if (props->mod == PROP_NOMOD) in cpr_update_nvram()
136 len = strlen(props->value); in cpr_update_nvram()
137 rc = prom_setprop(node, props->name, props->value, len + 1); in cpr_update_nvram()
140 props->name, props->value); in cpr_update_nvram()
156 cprop_t *props; in cpr_set_properties() local
158 props = new ? new_def_info->props : orig_def_info.props; in cpr_set_properties()
159 return (cpr_update_nvram(props)); in cpr_set_properties()
[all …]
/illumos-gate/usr/src/cmd/fm/scripts/
H A Ddictck.pl100 my %props;
139 $props{$lhs} = $rhs;
146 unless defined($props{'version'});
148 unless defined($props{'name'});
150 unless defined($props{'maxkey'});
153 die "$name:$line: unexpected version: \"$props{'version'}\"\n"
154 unless $props{'version'} eq "1";
158 unless $props{'name'} eq $dname;
162 unless $props{'maxkey'} =~ /^\d+$/;
166 if defined($props{'bits'});
[all …]
/illumos-gate/usr/src/lib/scsi/plugins/ses/SUN-Storage-J4500/common/
H A Dloki.c44 nvlist_t *props = ses_node_props(np); in sun_loki_fix_bay() local
66 SES_NV_ADD(uint64, nverr, props, SES_PROP_BAY_NUMBER, in sun_loki_fix_bay()
76 nvlist_t *props = ses_node_props(np); in sun_loki_parse_node() local
94 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_TYPE, in sun_loki_parse_node()
104 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_CLASS_INDEX, in sun_loki_parse_node()
126 VERIFY(nvlist_lookup_nvlist(props, SES_EN_PROP_LID, &lid) == 0); in sun_loki_parse_node()
130 SES_NV_ADD(string, nverr, props, LIBSES_EN_PROP_CSN, serial); in sun_loki_parse_node()
158 SES_NV_ADD(fixed_string_trunc, nverr, props, in sun_loki_parse_node()
182 props, LIBSES_PROP_PART, in sun_loki_parse_node()
208 props, LIBSES_PROP_PART, in sun_loki_parse_node()
/illumos-gate/usr/src/lib/scsi/plugins/ses/libses/common/
H A Dlibses.c39 nvlist_t *props; in libses_parse_node() local
45 props = ses_node_props(np); in libses_parse_node()
47 if (nvlist_lookup_uint64(props, SES_PROP_ELEMENT_TYPE, in libses_parse_node()
53 SES_NV_ADD(string, nverr, props, in libses_parse_node()
64 if (nvlist_lookup_nvlist(props, SES_EN_PROP_LID, &lid) != 0) in libses_parse_node()
70 SES_NV_ADD(string, nverr, props, LIBSES_EN_PROP_CSN, csn); in libses_parse_node()
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/
H A Dses_facility.c145 nvlist_t *args, *pargs, *props; in ses_indicator_mode() local
211 if (nvlist_lookup_boolean_value(props, in ses_indicator_mode()
256 nvlist_t *args, *props; in ses_sensor_reading() local
325 nvlist_t *nvl, *args, *props; in ses_sensor_state() local
364 if (nvlist_lookup_boolean_value(props, in ses_sensor_state()
367 if (nvlist_lookup_boolean_value(props, in ses_sensor_state()
370 if (nvlist_lookup_boolean_value(props, in ses_sensor_state()
414 nvlist_t *nvl, *props; in ses_psu_state() local
773 nvlist_t *props; in ses_node_enum_facility() local
874 nvlist_t *props, *aprops; in ses_add_enclosure_sensors() local
[all …]
H A Dses.c1061 nvlist_t *props, *nvl; in ses_present() local
1363 nvlist_t *props; in ses_add_bay_props() local
1452 nvlist_t *props, *aprops; in ses_create_generic() local
1461 props = ses_node_props(np); in ses_create_generic()
1636 nvlist_t *props, **phylist; in ses_set_expander_props() local
1898 nvlist_t *props; in ses_set_connector_props() local
1989 nvlist_t *props, *psprops; in ses_create_esc_sasspecific() local
2358 nvlist_t *props; in ses_create_subchassis() local
2591 nvlist_t *props; in ses_construct_phys_tree() local
2908 nvlist_t *props; in ses_create_chassis() local
[all …]
/illumos-gate/usr/src/cmd/fwflash/plugins/transport/common/
H A Dses.c298 nvlist_t *props; in fw_identify() local
432 if ((props = ses_node_props(rootnodep)) == NULL) { in fw_identify()
463 if ((props = ses_node_props(nodep)) == NULL) { in fw_identify()
584 get_status(nvlist_t *props, ucode_status_t *sp) in get_status() argument
631 nvlist_t *props; in print_updated_status() local
635 if ((props = ses_node_props(np)) == NULL) { in print_updated_status()
639 if (get_status(props, &status) != FWFLASH_SUCCESS) in print_updated_status()
661 nvlist_t *props; in sendimg() local
679 props = ses_node_props(np); in sendimg()
680 if ((props == NULL) || in sendimg()
[all …]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_crypto.c732 ret = nvlist_add_uint64(props, in populate_create_encryption_params_nvlists()
750 ret = nvlist_add_uint64(props, in populate_create_encryption_params_nvlists()
802 ret = nvlist_lookup_uint64(props, in proplist_has_encryption_props()
807 ret = nvlist_lookup_string(props, in proplist_has_encryption_props()
812 ret = nvlist_lookup_uint64(props, in proplist_has_encryption_props()
977 ret = nvlist_add_string(props, in zfs_crypto_create()
1421 nvlist_t *props = NULL; in zfs_crypto_rewrap() local
1620 if (props != NULL) in zfs_crypto_rewrap()
1621 nvlist_free(props); in zfs_crypto_rewrap()
1630 if (props != NULL) in zfs_crypto_rewrap()
[all …]
/illumos-gate/usr/src/cmd/scsi/sestopo/common/
H A Dsestopo.c57 nvlist_t *props; in node() local
62 if ((props = ses_node_props(np)) == NULL) { in node()
67 (void) nvlist_lookup_uint64(props, SES_PROP_ELEMENT_TYPE, &val); in node()
68 if (nvlist_lookup_string(props, LIBSES_PROP_ELEMENT_TYPE_NAME, in node()
73 nvlist_print(stdout, props); in node()
/illumos-gate/usr/src/lib/fm/libdiagcode/common/
H A Ddiagcode.c61 } *props; member
215 dhp->props = NULL; in fm_dc_opendict()
286 dhp->props = propp; in fm_dc_opendict()
334 props = dhp->props; in fm_dc_closedict()
335 while (props) { in fm_dc_closedict()
336 if (props->lhs != NULL) in fm_dc_closedict()
340 oprops = props; in fm_dc_closedict()
341 props = props->next; in fm_dc_closedict()
576 for (props = dhp->props; props; props = props->next) in fm_dc_getprop()
582 (props == NULL) ? "NULL" : props->rhs); in fm_dc_getprop()
[all …]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dwctype.c48 } props[] = { in wctype_l() local
71 while (props[i].name != NULL && strcmp(props[i].name, property) != 0) in wctype_l()
74 return (props[i].mask); in wctype_l()
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Ddm_platform.c184 platform_update_fru(nvlist_t *props, dm_fru_t *frup) in platform_update_fru() argument
191 if (nvlist_lookup_uint64(props, "gid", &gid) != 0 || in platform_update_fru()
192 nvlist_lookup_uint64(props, "hdd", &hdd) != 0) { in platform_update_fru()
261 platform_set_sensor(nvlist_t *props) in platform_set_sensor() argument
270 am_present = nvlist_lookup_uint64(props, "amask", &assertmask) == 0; in platform_set_sensor()
273 if (nvlist_lookup_uint64(props, "sid", &sid) != 0 || in platform_set_sensor()
371 nvlist_t *props; in do_action() local
386 if (parse_action_string(actionp, &cmd, &props)) { in do_action()
388 rv = platform_update_fru(props, fru); in do_action()
390 rv = platform_set_sensor(props); in do_action()
[all …]
H A Ddiskmon_conf.c142 dm_prop_lookup(nvlist_t *props, const char *prop_name) in dm_prop_lookup() argument
155 const char *prop = dm_prop_lookup(props, prop_name); in dm_prop_lookup_int()
337 dmp->props = nvlp; in new_diskmon()
376 nvlist_free(dmp->props); in diskmon_free()
398 cdp->props = namevalpr_to_nvlist(nvp); in new_cfgdata()
412 if (cfgp->props == NULL) { in cfgdata_add_namevalpr()
436 nvlist_free(cdp->props); in cfgdata_free()
750 if (dmp->props) { in print_disks()
751 print_props(dmp->props, fp, buf); in print_disks()
776 print_props(cfgp->props, fp, prefix); in print_cfgdata()
[all …]
/illumos-gate/usr/src/lib/libzfs_core/common/
H A Dlibzfs_core.c255 if (props != NULL) in lzc_create()
256 fnvlist_add_nvlist(args, "props", props); in lzc_create()
272 lzc_clone(const char *fsname, const char *origin, nvlist_t *props) in lzc_clone() argument
279 if (props != NULL) in lzc_clone()
280 fnvlist_add_nvlist(args, "props", props); in lzc_clone()
363 lzc_snapshot(nvlist_t *snaps, nvlist_t *props, nvlist_t **errlist) in lzc_snapshot() argument
381 if (props != NULL) in lzc_snapshot()
382 fnvlist_add_nvlist(args, "props", props); in lzc_snapshot()
891 lzc_receive_with_header(const char *snapname, nvlist_t *props, in lzc_receive_with_header() argument
1349 if (props != NULL) in lzc_change_key()
[all …]
/illumos-gate/usr/src/uts/common/tnf/
H A Dtnf_types.h148 #define TNF_ARRAY_TAG(type, eltag, props, slots, kind) \ argument
154 &props, \
170 #define TNF_DERIVED_TAG(type, basetag, props, size, align, kind) \ argument
176 &props, \
183 #define TNF_STD_DERIVED_TAG(type, base, props, kind) \ argument
184 TNF_DERIVED_TAG(type, &TAG_DATA(base), props, \
192 #define TNF_STRUCT_TAG(type, props, slots, names, size) \ argument
198 &props, \
216 #define TNF_METATAG(type, props, slots, desc) \ argument
222 &props, \
/illumos-gate/usr/src/lib/scsi/plugins/ses/SUN-Storage-J4400/common/
H A Driverwalk.c76 nvlist_t *props = ses_node_props(np); in sun_riverwalk_parse_node() local
115 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_TYPE, in sun_riverwalk_parse_node()
117 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_CLASS_INDEX, in sun_riverwalk_parse_node()
196 SES_NV_ADD(string, nverr, props, LIBSES_PROP_PART, in sun_riverwalk_parse_node()
203 SES_NV_ADD(string, nverr, props, LIBSES_PROP_SERIAL, in sun_riverwalk_parse_node()
219 SES_NV_ADD(string, nverr, props, LIBSES_EN_PROP_CSN, in sun_riverwalk_parse_node()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dsasl.c909 char **props = NULL; in nsldapi_sasl_secprops() local
927 props = ldap_str2charray( inp, "," ); in nsldapi_sasl_secprops()
930 if( props == NULL || secprops == NULL ) { in nsldapi_sasl_secprops()
934 for( i=0; props[i]; i++ ) { in nsldapi_sasl_secprops()
935 if( strcasecmp(props[i], "none") == 0 ) { in nsldapi_sasl_secprops()
962 } else if( strncasecmp(props[i], in nsldapi_sasl_secprops()
964 if( isdigit( props[i][sizeof("minssf")] ) ) { in nsldapi_sasl_secprops()
971 } else if( strncasecmp(props[i], in nsldapi_sasl_secprops()
973 if( isdigit( props[i][sizeof("maxssf")] ) ) { in nsldapi_sasl_secprops()
980 } else if( strncasecmp(props[i], in nsldapi_sasl_secprops()
[all …]
/illumos-gate/usr/src/lib/libpool/common/
H A Dpool.c1233 pool_value_t *props[] = { NULL, NULL }; in pool_resource_create() local
1258 props[0] = &val; in pool_resource_create()
1712 if (props == NULL) { in pool_walk_any_properties()
1757 props[i].pp_pname) == 0) in pool_walk_any_properties()
1767 if (props[i].pp_op.ppo_get_value) { in pool_walk_any_properties()
1824 props[0] = &val; in pool_get_pool()
1920 props[0] = &val0; in pool_get_resource()
1921 props[1] = &val1; in pool_get_resource()
1965 pool_value_t **props) in pool_query_resources() argument
2016 pool_value_t **props) in pool_query_components() argument
[all …]

12345678910