Home
last modified time | relevance | path

Searched refs:prop (Results 26 – 50 of 554) sorted by relevance

12345678910>>...23

/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_scfutil.c257 scf_property_t *prop; in smb_smf_get_string_property() local
264 if (value && prop && in smb_smf_get_string_property()
278 if (prop != NULL) in smb_smf_get_string_property()
279 scf_property_destroy(prop); in smb_smf_get_string_property()
349 scf_property_t *prop = NULL; in smb_smf_get_integer_property() local
356 if ((prop) && (value) && in smb_smf_get_integer_property()
371 if (prop != NULL) in smb_smf_get_integer_property()
449 if ((prop) && (value) && in smb_smf_get_boolean_property()
464 if (prop != NULL) in smb_smf_get_boolean_property()
546 if ((prop) && (value) && in smb_smf_get_opaque_property()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.get_string_props.zcp48 function match(n, prop, ans, src, expected)
49 if ((prop == 'clones') or (prop == 'redact_snaps')) then
56 for prop, expected in pairs(props) do
57 ans, src = zfs.get_prop(fs, prop)
58 if not (match(1, prop, ans, src, expected)) then
59 fs_fails[prop] = {ans, src}
62 ans, src = zfs.get_prop(snap, prop)
63 if not (match(2, prop, ans, src, expected)) then
64 snap_fails[prop] = {ans, src}
67 ans, src = zfs.get_prop(clone, prop)
[all …]
H A Dtst.set_props.zcp47 pos_props["a:prop"] = {"hello"}
68 for prop, values in pairs(pos_props) do
70 old_val, src = zfs.get_prop(fs, prop)
73 err = zfs.sync.set_prop(fs, prop, val)
76 set_fail[prop] = err -- tuple of prop, val that resulted in error
79 new_val, src = zfs.get_prop(fs, prop)
81 val_fail[prop] = new_val
90 err = zfs.sync.inherit(fs, prop)
98 for prop, expected in pairs(neg_props) do
103 err = zfs.sync.set_prop(fs, prop, exp_val)
[all …]
/illumos-gate/usr/src/cmd/fm/eversholt/files/common/
H A Dpci.esc250 prop error.io.pcix.scpe-u@PCIFN (1)->
384 prop error.io.pcix.tx-oor@PCIFN (1)->
390 prop error.io.pci.f-dpe-u@PCIFN (1)->
395 prop error.io.pci.f-dpe-u@PCIFN (1)->
624 prop error.io.pci.perr-d@PCIFN (1)->
796 prop error.io.pci.ta-d@PCIFN (1)->
809 prop error.io.pci.ape-u@PCIFN (0)->
815 prop error.io.pci.ape-u@PCIFN (0)->
822 prop error.io.pci.ape-u@PCIFN (1)->
874 prop error.io.pci.ape-d@PCIFN (1)->
[all …]
H A Dpciex.esc198 prop error.io.device.f-device@PCIEXFN (1)->
206 prop error.io.device.f-device@PCIEXFN (0)->
234 prop error.io.pciex.lost-d@PCIEXFN (1)->
238 prop error.io.pciex.lost-d@PCIEXFN (0)->
906 prop error.io.pciex.fatal@PCIEXFN1 (1)->
911 prop error.io.pciex.fatal@PCIEXFN (0)->
1424 prop error.io.pciex.nr-d@PCIEXFN (1)->
1479 prop error.io.pciex.mtlp-d@PCIEXFN (1)->
1541 prop error.io.pciex.ca-d@PCIEXFN (1)->
1944 prop error.io.pcix.uscmd@PCIEXFN (4)->
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/frudata/
H A Dfru_data.c927 ptree_propinfo_t prop; in create_packet_table() local
938 prop.read = NULL; in create_packet_table()
939 prop.write = NULL; in create_packet_table()
1118 ptree_propinfo_t prop; in add_row_to_table() local
1402 ptree_propinfo_t prop; in create_segment_node() local
1420 prop.read = NULL; in create_segment_node()
1421 prop.write = NULL; in create_segment_node()
1755 ptree_propinfo_t prop; in create_section_node() local
1767 prop.read = NULL; in create_section_node()
1768 prop.write = NULL; in create_section_node()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_inherit/
H A Dzfs_inherit_002_neg.ksh71 for prop in ${props[@]}; do
72 log_mustnot eval "zfs inherit $opt $prop $ds \
78 for prop in "${illprops[@]}"; do
79 log_mustnot eval "zfs inherit $prop $ds >/dev/null 2>&1"
80 log_mustnot eval "zfs inherit -r $prop $ds >/dev/null 2>&1"
97 for prop in ${props[@]}; do
98 log_mustnot eval "zfs inherit $prop >/dev/null 2>&1"
99 log_mustnot eval "zfs inherit -r $prop >/dev/null 2>&1"
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Drc_scf.c56 scf_property_t *prop = NULL; in cf_get_client_uuid() local
64 (prop = scf_property_create(h)) == NULL || in cf_get_client_uuid()
77 if (scf_property_get_value(prop, val) != 0) in cf_get_client_uuid()
86 scf_property_destroy(prop); in cf_get_client_uuid()
116 scf_property_t *prop = NULL; in rc_scf_get_sharectl() local
132 (prop = scf_property_create(h)) == NULL || in rc_scf_get_sharectl()
156 if (scf_pg_get_property(pg, "section", prop) != 0) in rc_scf_get_sharectl()
158 if (scf_property_get_value(prop, val) != 0) in rc_scf_get_sharectl()
178 if (scf_property_get_name(prop, prop_name, in rc_scf_get_sharectl()
186 if (scf_property_get_value(prop, val) != 0) in rc_scf_get_sharectl()
[all …]
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_ndd.c127 char **options, *prop; in bge_nd_init() local
154 prop = options[noptions-1]; in bge_nd_init()
157 if (strstr(prop, "1000")) { in bge_nd_init()
158 if (strstr(prop, "auto")) { in bge_nd_init()
162 } else if (strstr(prop, "full")) in bge_nd_init()
164 else if (strstr(prop, "half")) in bge_nd_init()
167 if (strstr(prop, "auto")) { in bge_nd_init()
173 else if (strstr(prop, "half")) in bge_nd_init()
175 } else if (strstr(prop, "10")) { in bge_nd_init()
176 if (strstr(prop, "auto")) { in bge_nd_init()
[all …]
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_stree.c156 void *prop; in promif_stree_getprop() local
167 prop = getprop(pnp, name); in promif_stree_getprop()
168 bcopy(prop, value, len); in promif_stree_getprop()
278 struct prom_prop *prop; in promif_stree_setprop() local
290 for (prop = pnp->pn_propp; prop; prop = prop->pp_next) in promif_stree_setprop()
298 kmem_free(prop->pp_val, prop->pp_len); in promif_stree_setprop()
300 prop->pp_val = NULL; in promif_stree_setprop()
306 prop->pp_len = len; in promif_stree_setprop()
421 struct prom_prop *prop; in create_prop() local
443 for (prop = pnp->pn_propp; prop->pp_next != NULL; prop = prop->pp_next) in create_prop()
[all …]
/illumos-gate/usr/src/cmd/smbsrv/smbadm/
H A Dsmbadm.c1776 return (pinfo->p_chkfn(prop)); in smbadm_prop_validate()
1783 prop->p_name); in smbadm_prop_validate()
1797 prop->p_name = prop->p_value = NULL; in smbadm_prop_parse()
1804 prop->p_name = arg; in smbadm_prop_parse()
1812 prop->p_value = equal; in smbadm_prop_parse()
1876 if (strcasecmp(prop->p_value, "on") == 0) { in smbadm_group_setpriv()
1977 smbadm_chkprop_priv(smbadm_prop_t *prop) in smbadm_chkprop_priv() argument
1979 if (prop->p_value == NULL || *prop->p_value == '\0') { in smbadm_chkprop_priv()
1985 if (strcasecmp(prop->p_value, "on") == 0) in smbadm_chkprop_priv()
1988 if (strcasecmp(prop->p_value, "off") == 0) in smbadm_chkprop_priv()
[all …]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_protocol.c44 nvlist_t *prop, *ap; in topo_node_asru() local
47 TOPO_PROP_ASRU, priv, &prop, err) < 0) in topo_node_asru()
50 if (nvlist_lookup_nvlist(prop, TOPO_PROP_VAL_VAL, &ap) != 0 || in topo_node_asru()
53 nvlist_free(prop); in topo_node_asru()
57 nvlist_free(prop); in topo_node_asru()
65 nvlist_t *prop, *fp; in topo_node_fru() local
68 priv, &prop, err) < 0) in topo_node_fru()
71 if (nvlist_lookup_nvlist(prop, TOPO_PROP_VAL_VAL, &fp) != 0 || in topo_node_fru()
74 nvlist_free(prop); in topo_node_fru()
78 nvlist_free(prop); in topo_node_fru()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/
H A Drsend_011_pos.ksh63 for prop in $(fs_inherit_prop); do
64 value=$(get_prop $prop $POOL/$FS)
65 log_must zfs set $prop=$value $POOL/$FS
72 for prop in $(fs_inherit_prop) ; do
73 zfs inherit $prop $ds
75 log_fail "zfs inherit $prop $ds"
80 for prop in $(vol_inherit_prop) ; do
81 zfs inherit $prop $POOL/$FS/vol
83 log_fail "zfs inherit $prop $POOL/$FS/vol"
H A Drsend_012_pos.ksh76 typeset prop value
77 while read prop value ; do
78 eval zfs set $prop='$value' $ds
80 log_fail "zfs set $prop=$value $ds"
97 typeset prop
98 for prop in $(fs_inherit_prop) ; do
99 log_must zfs inherit $prop $POOL
100 log_must zfs inherit $prop $POOL2
139 rand_set_prop $fs user:prop "aaa" "bbb" "23421" "()-+?"
149 rand_set_prop $vol user:prop "aaa" "bbb" "23421" "()-+?"
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-device.c345 lh_prop_t *prop; in add_udi() local
386 prop = NULL; in add_udi()
394 prop = free_properties(prop); in add_udi()
484 p->next = *prop; in process_property()
485 *prop = p; in process_property()
539 p->next = *prop; in process_property()
540 *prop = p; in process_property()
638 for(; prop; prop = next) { in free_properties()
639 next = prop->next; in free_properties()
641 free(prop->key); in free_properties()
[all …]
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dconfig.c63 scf_property_t *prop = NULL; in load_config() local
78 prop = scf_property_create(handle); in load_config()
84 prop == NULL || value == NULL || value_iter == NULL) { in load_config()
120 if (scf_pg_get_property(pg, CONFIG_ESI_THRESHOLD, prop) == -1) { in load_config()
126 if (scf_property_get_value(prop, value) == -1) { in load_config()
150 if (scf_pg_get_property(pg, CONFIG_MGMT_SCN, prop) == -1) { in load_config()
156 if (scf_property_get_value(prop, value) == -1) { in load_config()
180 if (scf_property_get_value(prop, value) == -1) { in load_config()
204 if (scf_iter_property_values(value_iter, prop) == -1) { in load_config()
267 if (prop != NULL) { in load_config()
[all …]
/illumos-gate/usr/src/cmd/svc/svcprop/
H A Dsvcprop.c309 scf_property_t *prop; in display_pg() local
323 display_prop(pg, prop); in display_pg()
328 scf_property_destroy(prop); in display_pg()
417 scf_property_t *prop; in process_ent() local
587 display_prop(pg, prop); in process_ent()
603 scf_property_t *prop; in process_pg() local
615 if (prop == NULL) in process_pg()
678 display_prop(pg, prop); in process_prop()
692 if (wip->prop != NULL) { in process_fmri()
772 scf_property_t *prop; in do_wait() local
[all …]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/
H A Dworkfile.c401 if (prop == NULL) in get_prop_val()
414 Prop *prop; in find_prop() local
422 prop = pnode->props; in find_prop()
423 if (prop == NULL) in find_prop()
430 prop = prop->next; in find_prop()
432 return (prop); in find_prop()
443 Prop *prop; in get_node_name() local
449 prop = pnode->props; in get_node_name()
453 prop = prop->next; in get_node_name()
466 Prop *prop; in get_node_type() local
[all …]
/illumos-gate/usr/src/cmd/isns/isnsd/xml/
H A Ddata.c462 char prop; in parse_xml_prop() local
468 prop >= 'a' && prop <= 'z') { in parse_xml_prop()
469 prop -= 'a'; in parse_xml_prop()
639 char prop; in locate_xml_node() local
716 char prop; in make_xml_node() local
732 while (prop >= 'a' && prop <= 'z') { in make_xml_node()
733 prop -= 'a'; in make_xml_node()
1109 char prop; in xml_modify_obj() local
1139 while (prop >= 'a' && prop <= 'z') { in xml_modify_obj()
1140 prop -= 'a'; in xml_modify_obj()
[all …]
/illumos-gate/usr/src/lib/libshare/smbfs/
H A Dsmbfs_scfutil.c635 scf_property_t *prop; in smb_smf_get_string_property() local
643 if (value && prop && in smb_smf_get_string_property()
657 if (prop != NULL) in smb_smf_get_string_property()
658 scf_property_destroy(prop); in smb_smf_get_string_property()
729 scf_property_t *prop = NULL; in smb_smf_get_integer_property() local
737 if ((prop) && (value) && in smb_smf_get_integer_property()
752 if (prop != NULL) in smb_smf_get_integer_property()
832 if ((prop) && (value) && in smb_smf_get_boolean_property()
847 if (prop != NULL) in smb_smf_get_boolean_property()
931 if ((prop) && (value) && in smb_smf_get_opaque_property()
[all …]
/illumos-gate/usr/src/cmd/svc/startd/
H A Dlibscf.c512 scf_property_t *prop; in libscf_read_state() local
536 scf_property_destroy(prop); in libscf_read_state()
595 scf_property_t *prop; in depgroup_empty() local
617 scf_property_destroy(prop); in depgroup_empty()
626 scf_property_t *prop; in depgroup_read_scheme() local
647 scf_property_destroy(prop); in depgroup_read_scheme()
677 scf_property_destroy(prop); in depgroup_read_grouping()
727 scf_property_t *prop; in get_boolean() local
850 scf_property_t *prop; in get_count() local
2992 prop) == -1) { in libscf_get_method()
[all …]
/illumos-gate/usr/src/cmd/pools/poolcfg/
H A Dpoolcfg.y201 prop_t *prop; member
509 for (prop = cmd->cmd_prop_list; prop != NULL;
510 prop = prop->prop_next)
523 for (prop = cmd->cmd_prop_list; prop != NULL;
524 prop = prop->prop_next)
1235 prop = prop->prop_next; in free_cmd()
1286 free(prop); in alloc_prop()
1373 for (prop = cmd->cmd_prop_list; prop != NULL; prop = prop->prop_next) { in prop_list_walk()
1553 for (prop = cmd->cmd_prop_list; prop != NULL; prop = prop->prop_next) { in process_min_max()
1557 if (pos == prop->prop_name + strlen(prop->prop_name) in process_min_max()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dllp.c298 const char *prop; in upgrade_llp_config() local
352 prop = NWAM_NCU_PROP_PRIORITY_MODE; in upgrade_llp_config()
370 prop)) != NWAM_SUCCESS) in upgrade_llp_config()
373 prop = NWAM_NCU_PROP_IPV4_ADDR; in upgrade_llp_config()
376 prop)) != NWAM_SUCCESS) in upgrade_llp_config()
387 prop)) != NWAM_SUCCESS) in upgrade_llp_config()
390 prop = NWAM_NCU_PROP_IPV6_ADDR; in upgrade_llp_config()
393 prop)) != NWAM_SUCCESS) in upgrade_llp_config()
400 prop = NWAM_NCU_PROP_IP_VERSION; in upgrade_llp_config()
403 prop)) != NWAM_SUCCESS) in upgrade_llp_config()
[all …]
/illumos-gate/usr/src/lib/libndmp/common/
H A Dlibndmp_prop.c110 ndmp_get_prop(const char *prop, char **value) in ndmp_get_prop() argument
120 if (ndmp_smf_get_pg_name(handle, prop, &pgname)) { in ndmp_get_prop()
186 scf_property_t *prop; in ndmp_smf_get_pg_name() local
207 scf_property_destroy(prop); in ndmp_smf_get_pg_name()
213 scf_property_destroy(prop); in ndmp_smf_get_pg_name()
448 scf_property_t *prop = NULL; in ndmp_smf_set_property() local
461 (scf_property_get_value(prop, value) != 0)) { in ndmp_smf_set_property()
510 scf_property_destroy(prop); in ndmp_smf_set_property()
526 scf_property_t *prop = NULL; in ndmp_smf_get_property() local
535 if (scf_property_get_value(prop, value) == 0) { in ndmp_smf_get_property()
[all …]
/illumos-gate/usr/src/cmd/dfs.cmds/sharectl/
H A Dsharectl.c128 sa_property_t prop; in sc_get() local
195 prop != NULL; in sc_get()
196 prop = sa_get_next_protocol_property(prop, NULL)) { in sc_get()
201 value = sa_get_property_attr(prop, in sc_get()
228 prop != NULL; in sc_get()
229 prop = sa_get_next_protocol_property( in sc_get()
231 value = sa_get_property_attr(prop, in sc_get()
274 sa_property_t prop; in sc_set() local
339 prop = sa_get_protocol_property(propset, in sc_set()
348 prop = sa_create_property( in sc_set()
[all …]

12345678910>>...23