Home
last modified time | relevance | path

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

123456789

/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}}
36 props['usedbychildren'] = {{true, nil}, {nil, nil}, {true, nil}}
[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}}
26 props['mountpoint'] = {{'/' .. fs, 'default'}, {nil, nil}, {'/' .. clone, 'default'}}
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
[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
1445 SES_NV_CTL64(props, SES_PROP_THRESH_CRIT_HI, tip->sti_high_crit); in elem_setdef_threshold()
1446 SES_NV_CTL64(props, SES_PROP_THRESH_CRIT_LO, tip->sti_low_crit); in elem_setdef_threshold()
1447 SES_NV_CTL64(props, SES_PROP_THRESH_WARN_HI, tip->sti_high_warn); in elem_setdef_threshold()
1448 SES_NV_CTL64(props, SES_PROP_THRESH_WARN_LO, tip->sti_low_warn); in elem_setdef_threshold()
1458 nvlist_t *props = ses_node_props(np); in elem_setdef_device() local
1460 SES_NV_CTLBOOL(props, SES_PROP_IDENT, dip->sdci_rqst_ident); in elem_setdef_device()
1461 SES_NV_CTLBOOL(props, SES_PROP_RMV, dip->sdci_rqst_remove); in elem_setdef_device()
1462 SES_NV_CTLBOOL(props, SES_DEV_PROP_READY_TO_INSERT, in elem_setdef_device()
1464 SES_NV_CTLBOOL(props, SES_DEV_PROP_REQ_MISSING, in elem_setdef_device()
[all …]
H A Dses2_pages.c43 nvlist_t *props = ses_node_props(np); in ses2_ctl_common_setdef() local
48 SES_NV_CTLBOOL_INVERT(props, SES_PROP_SWAP, eip->seci_rst_swap); in ses2_ctl_common_setdef()
49 SES_NV_CTLBOOL(props, SES_PROP_DISABLED, eip->seci_disable); in ses2_ctl_common_setdef()
50 SES_NV_CTLBOOL(props, SES_PROP_PRDFAIL, eip->seci_prdfail); in ses2_ctl_common_setdef()
64 nvlist_t *props = ses_node_props(np); in ses2_aes_index() local
69 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_ONLY_INDEX, in ses2_aes_index()
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
168 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_INDEX, in ses2_threshold_index()
[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
215 VERIFY(nvlist_lookup_uint64(props, SES_EN_PROP_EID, &eid) == 0); in enc_ctl_nick()
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()
[all …]
/illumos-gate/usr/src/lib/nsswitch/ad/common/
H A Dad_common.c46 nssad_cfg_free_props(nssad_prop_t *props) in nssad_cfg_free_props() argument
48 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()
52 if (props->domain_controller != 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
65 if (props->domain_controller == NULL) in nssad_cfg_discover_props()
66 props->domain_controller = in nssad_cfg_discover_props()
[all …]
/illumos-gate/usr/src/uts/sparc/os/
H A Dcpr_sparc.c62 #define CPR_PROP_PTR(dfp, idx) &(dfp)->props[idx]
113 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()
138 if (rc < 0 || prom_getproplen(node, props->name) != len) { in cpr_update_nvram()
140 props->name, props->value); in cpr_update_nvram()
156 cprop_t *props; in cpr_set_properties() local
[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";
157 die "$name:$line: name \"$props{'name'}\" doesn't match \"$dname\" from filename\n"
158 unless $props{'name'} eq $dname;
162 unless $props{'maxkey'} =~ /^\d+$/;
[all …]
/illumos-gate/usr/src/lib/scsi/plugins/ses/SUN-Storage-J4500/common/
H A Dloki.c42 nvlist_t *props = ses_node_props(np); in sun_loki_fix_bay() local
64 SES_NV_ADD(uint64, nverr, props, SES_PROP_BAY_NUMBER, in sun_loki_fix_bay()
74 nvlist_t *props = ses_node_props(np); in sun_loki_parse_node() local
92 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_TYPE, in sun_loki_parse_node()
102 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_CLASS_INDEX, in sun_loki_parse_node()
124 VERIFY(nvlist_lookup_nvlist(props, SES_EN_PROP_LID, &lid) == 0); in sun_loki_parse_node()
128 SES_NV_ADD(string, nverr, props, LIBSES_EN_PROP_CSN, serial); in sun_loki_parse_node()
156 SES_NV_ADD(fixed_string_trunc, nverr, props, in sun_loki_parse_node()
180 props, LIBSES_PROP_PART, in sun_loki_parse_node()
206 props, LIBSES_PROP_PART, in sun_loki_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
171 verify((props = ses_node_props(np)) != NULL); in ses_indicator_mode()
211 if (nvlist_lookup_boolean_value(props, in ses_indicator_mode()
219 if (altprop != NULL && nvlist_lookup_boolean_value(props, in ses_indicator_mode()
256 nvlist_t *args, *props; in ses_sensor_reading() local
283 verify((props = ses_node_props(np)) != NULL); in ses_sensor_reading()
285 if (nvlist_lookup_uint64(props, prop, &current) == 0) { in ses_sensor_reading()
287 } else if (nvlist_lookup_int64(props, prop, &scurrent) == 0) { in ses_sensor_reading()
325 nvlist_t *nvl, *args, *props; in ses_sensor_state() local
343 verify((props = ses_node_props(np)) != NULL); in ses_sensor_state()
[all …]
H A Dses.c1062 nvlist_t *props, *nvl; in ses_present() local
1068 verify((props = ses_node_props(np)) != NULL); in ses_present()
1069 verify(nvlist_lookup_uint64(props, in ses_present()
1198 ses_create_disk_bridge(ses_enum_data_t *sdp, tnode_t *pnode, nvlist_t *props, in ses_create_disk_bridge() argument
1205 if (nvlist_lookup_nvlist_array(props, SES_SAS_PROP_PHYS, &phys, in ses_create_disk_bridge()
1247 ses_create_disk(ses_enum_data_t *sdp, tnode_t *pnode, nvlist_t *props) in ses_create_disk() argument
1262 if (nvlist_lookup_uint64(props, SES_PROP_STATUS_CODE, &status) != 0) in ses_create_disk()
1317 if (ses_create_disk_bridge(sdp, pnode, props, &child) != 0) in ses_create_disk()
1364 nvlist_t *props; in ses_add_bay_props() local
1376 props = ses_node_props(np); in ses_add_bay_props()
[all …]
/illumos-gate/usr/src/lib/scsi/plugins/ses/libses/common/
H A Dlibses.c37 nvlist_t *props; in libses_parse_node() local
43 props = ses_node_props(np); in libses_parse_node()
45 if (nvlist_lookup_uint64(props, SES_PROP_ELEMENT_TYPE, in libses_parse_node()
51 SES_NV_ADD(string, nverr, props, in libses_parse_node()
62 if (nvlist_lookup_nvlist(props, SES_EN_PROP_LID, &lid) != 0) in libses_parse_node()
68 SES_NV_ADD(string, nverr, props, LIBSES_EN_PROP_CSN, csn); in libses_parse_node()
/illumos-gate/usr/src/cmd/fwflash/plugins/transport/common/
H A Dses.c153 static int get_status(nvlist_t *props, ucode_status_t *sp);
298 nvlist_t *props; in fw_identify() local
432 if ((props = ses_node_props(rootnodep)) == NULL) { in fw_identify()
444 if ((nvlist_lookup_string(props, SCSI_PROP_VENDOR, in fw_identify()
446 (nvlist_lookup_string(props, SCSI_PROP_PRODUCT, in fw_identify()
448 (nvlist_lookup_string(props, SCSI_PROP_REVISION, in fw_identify()
463 if ((props = ses_node_props(nodep)) == NULL) { in fw_identify()
481 if (nvlist_lookup_string(props, LIBSES_EN_PROP_CSN, in fw_identify()
584 get_status(nvlist_t *props, ucode_status_t *sp) in get_status() argument
589 if (nvlist_lookup_uint64(props, SES_EN_PROP_UCODE, &status) != 0) { in get_status()
[all …]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_crypto.c700 char *keylocation, nvlist_t *props, uint8_t **wkeydata, uint_t *wkeylen) in populate_create_encryption_params_nvlists() argument
732 ret = nvlist_add_uint64(props, in populate_create_encryption_params_nvlists()
746 ret = nvlist_lookup_uint64(props, in populate_create_encryption_params_nvlists()
750 ret = nvlist_add_uint64(props, in populate_create_encryption_params_nvlists()
761 ret = nvlist_lookup_uint64(props, in populate_create_encryption_params_nvlists()
796 proplist_has_encryption_props(nvlist_t *props) in proplist_has_encryption_props() argument
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()
817 ret = nvlist_lookup_uint64(props, in proplist_has_encryption_props()
[all …]
/illumos-gate/usr/src/cmd/scsi/sestopo/common/
H A Dsestopo.c55 nvlist_t *props; in node() local
60 if ((props = ses_node_props(np)) == NULL) { in node()
65 (void) nvlist_lookup_uint64(props, SES_PROP_ELEMENT_TYPE, &val); in node()
66 if (nvlist_lookup_string(props, LIBSES_PROP_ELEMENT_TYPE_NAME, in node()
71 nvlist_print(stdout, props); in node()
/illumos-gate/usr/src/lib/fm/libdiagcode/common/
H A Ddiagcode.c59 } *props; member
213 dhp->props = NULL; in fm_dc_opendict()
283 propp->next = dhp->props; in fm_dc_opendict()
284 dhp->props = propp; in fm_dc_opendict()
321 struct fm_dc_prop *props; in fm_dc_closedict() local
332 props = dhp->props; in fm_dc_closedict()
333 while (props) { in fm_dc_closedict()
334 if (props->lhs != NULL) in fm_dc_closedict()
335 free((void *) props->lhs); in fm_dc_closedict()
336 if (props->rhs != NULL) in fm_dc_closedict()
[all …]
/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()
271 dam_present = nvlist_lookup_uint64(props, "dmask", &deassertmask) == 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()
[all …]
H A Ddiskmon_conf.c142 dm_prop_lookup(nvlist_t *props, const char *prop_name) in dm_prop_lookup() argument
146 if (nvlist_lookup_string(props, prop_name, &str) == 0) in dm_prop_lookup()
153 dm_prop_lookup_int(nvlist_t *props, const char *prop_name, int *value) in dm_prop_lookup_int() argument
155 const char *prop = dm_prop_lookup(props, prop_name); in dm_prop_lookup_int()
337 dmp->props = nvlp; in new_diskmon()
339 (void) nvlist_alloc(&dmp->props, NV_UNIQUE_NAME, 0); in new_diskmon()
376 nvlist_free(dmp->props); in diskmon_free()
398 cdp->props = namevalpr_to_nvlist(nvp); in new_cfgdata()
399 else if (nvlist_alloc(&cdp->props, NV_UNIQUE_NAME, 0) != 0) { in new_cfgdata()
412 if (cfgp->props == NULL) { in cfgdata_add_namevalpr()
[all …]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dwctype.c47 } props[] = { in wctype_l() local
69 while (props[i].name != NULL && strcmp(props[i].name, property) != 0) in wctype_l()
72 return (props[i].mask); in wctype_l()
/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()
938 } else if( strcasecmp(props[i], "noactive") == 0 ) { in nsldapi_sasl_secprops()
942 } else if( strcasecmp(props[i], "noanonymous") == 0 ) { in nsldapi_sasl_secprops()
946 } else if( strcasecmp(props[i], "nodict") == 0 ) { in nsldapi_sasl_secprops()
950 } else if( strcasecmp(props[i], "noplain") == 0 ) { in nsldapi_sasl_secprops()
954 } else if( strcasecmp(props[i], "forwardsec") == 0 ) { 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()
1260 if (pool_value_set_string(props[0], sz_type) != PO_SUCCESS || in pool_resource_create()
1261 pool_value_set_name(props[0], c_type) != PO_SUCCESS) { in pool_resource_create()
1265 if ((resources = pool_query_resources(conf, &nelem, props)) == NULL) { in pool_resource_create()
1704 const pool_prop_t *props = provider_get_props(elem); in pool_walk_any_properties() local
1712 if (props == NULL) { in pool_walk_any_properties()
1725 for (i = 0; props[i].pp_pname != NULL; i++) { in pool_walk_any_properties()
1731 if (strcmp(props[i].pp_pname, c_type) == 0) { in pool_walk_any_properties()
1734 if (pool_value_set_name(&val, props[i].pp_pname) == in pool_walk_any_properties()
[all …]
/illumos-gate/usr/src/lib/scsi/plugins/ses/SUN-Storage-J4400/common/
H A Driverwalk.c74 nvlist_t *props = ses_node_props(np); in sun_riverwalk_parse_node() local
113 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_TYPE, in sun_riverwalk_parse_node()
115 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_CLASS_INDEX, in sun_riverwalk_parse_node()
194 SES_NV_ADD(string, nverr, props, LIBSES_PROP_PART, in sun_riverwalk_parse_node()
201 SES_NV_ADD(string, nverr, props, LIBSES_PROP_SERIAL, in sun_riverwalk_parse_node()
217 SES_NV_ADD(string, nverr, props, LIBSES_EN_PROP_CSN, in sun_riverwalk_parse_node()
/illumos-gate/usr/src/lib/libzfs_core/common/
H A Dlibzfs_core.c248 lzc_create(const char *fsname, enum lzc_dataset_type type, nvlist_t *props, in lzc_create() argument
256 if (props != NULL) in lzc_create()
257 fnvlist_add_nvlist(args, "props", props); in lzc_create()
273 lzc_clone(const char *fsname, const char *origin, nvlist_t *props) in lzc_clone() argument
280 if (props != NULL) in lzc_clone()
281 fnvlist_add_nvlist(args, "props", props); in lzc_clone()
364 lzc_snapshot(nvlist_t *snaps, nvlist_t *props, nvlist_t **errlist) in lzc_snapshot() argument
382 if (props != NULL) in lzc_snapshot()
383 fnvlist_add_nvlist(args, "props", props); in lzc_snapshot()
859 lzc_receive(const char *snapname, nvlist_t *props, const char *origin, in lzc_receive() argument
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_mm.c968 pUM->props.link_speed = 0; in BnxeLinkStatus()
969 pUM->props.link_duplex = B_FALSE; in BnxeLinkStatus()
970 pUM->props.link_txpause = B_FALSE; in BnxeLinkStatus()
971 pUM->props.link_rxpause = B_FALSE; in BnxeLinkStatus()
972 pUM->props.uptime = 0; in BnxeLinkStatus()
991 pUM->props.uptime = ddi_get_time(); in BnxeLinkStatus()
996 pUM->props.link_duplex = B_FALSE; in BnxeLinkStatus()
1001 pUM->props.link_duplex = B_TRUE; in BnxeLinkStatus()
1007 pUM->props.link_rxpause = B_TRUE; in BnxeLinkStatus()
1012 pUM->props.link_rxpause = B_FALSE; in BnxeLinkStatus()
[all …]

123456789