/illumos-gate/usr/src/cmd/svc/svccfg/ |
H A D | svccfg_tmpl.c | 290 uint64_t ei_count; /* Number of prop values */ 303 const char *ei_prop_name; /* Name of prop */ 332 pgroup_t *ite_pg; /* Non-conforming prop. group */ 623 property_t *prop; local 625 for (prop = uu_list_first(pg->sc_pgroup_props); 626 prop != NULL; 627 prop = uu_list_next(pg->sc_pgroup_props, prop)) { 628 if (uu_avl_find(tree, prop, NULL, &marker) == NULL) { 637 uu_avl_insert(tree, prop, marke 777 count_prop_values(property_t *prop) argument 996 property_t *prop; local 1035 property_t *prop; local 1054 find_count_value(property_t *prop, uint64_t *count) argument 1096 property_t *prop; local 1126 property_t *prop; local 1673 add_scf_error(tmpl_errors_t *errs, scf_tmpl_error_type_t ec, pgroup_t *pg_pattern, pgroup_t *pg, pgroup_t *prop_pattern, property_t *prop, value_t *val, error_info_t *einfo) argument 1818 tmpl_errors_add_im(tmpl_errors_t *errs, tmpl_validate_status_t ec, entity_t *e, pgroup_t *pg_pattern, pgroup_t *pg, pgroup_t *prop_pattern, property_t *prop, value_t *val, error_info_t *einfo) argument 1994 property_t *prop; local 2501 property_is_type(property_t *prop, scf_type_t type) argument 2592 property_t *prop; local 3083 tmpl_find_prop_pattern(entity_t *inst, pgroup_t *pg_pattern, property_t *prop, pgroup_t **prop_pattern) argument 3282 tmpl_validate_cardinality(pgroup_t *prop_pattern, property_t *prop, pgroup_t *pg, pgroup_t *pg_pattern, tmpl_errors_t *errs) argument 3498 tmpl_validate_value_range(pgroup_t *pattern, property_t *prop, pgroup_t *pg, pgroup_t *pg_pattern, tmpl_errors_t *errs) argument 3574 tmpl_validate_values(pgroup_t *prop_pattern, property_t *prop, pgroup_t *pg, pgroup_t *pg_pattern, tmpl_errors_t *errs) argument 3665 tmpl_validate_value_constraints(pgroup_t *pattern, property_t *prop, pgroup_t *pg, pgroup_t *pg_pattern, tmpl_errors_t *errs) argument 3693 tmpl_validate_prop(property_t *prop, pgroup_t *tmpl, pgroup_t *pg, pgroup_t *pg_pattern, tmpl_errors_t *errs) argument 3775 property_t *prop; local [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_cvt.c | 195 di_prop_t prop = DI_PROP_NIL; local 282 while ((prop = di_prop_next(dev_node, prop)) != 286 di_prop_name(prop)))) && 287 (di_prop_type(prop) == 293 if (prop != DI_PROP_NIL) { 294 count = di_prop_bytes(prop, &port_wwn_data); 317 prop = DI_PROP_NIL; 374 prop = DI_PROP_NIL; 375 while ((prop 585 di_prop_t prop = DI_PROP_NIL; local [all...] |
/illumos-gate/usr/src/cmd/fm/eversholt/files/sparc/sun4/ |
H A D | fire.esc | 197 prop fault.io.fire.asic@hostbridge/pciexrc (0)-> 232 prop fault.io.fire.sw-epkt@hostbridge/pciexrc, 237 prop fault.io.fire.sw-epkt@hostbridge, 242 prop fault.io.fire.hb.sw-config@hostbridge/pciexrc (0)-> 245 prop fault.io.fire.dmc.sw-algorithm@hostbridge/pciexrc (0)-> 248 prop fault.io.fire.dmc.sw-state@hostbridge/pciexrc (0)-> 290 prop fault.io.ebus@hostbridge/pciexrc (1)-> 299 prop error.io.fire.jbc.asic@hostbridge/pciexrc (1)-> 316 prop error.io.fire.jbc.bad_link@hostbridge/pciexrc (1)-> 334 prop faul [all...] |
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_fmri.c | 402 const char *pname, nvlist_t *args, nvlist_t **prop, 431 *prop = NULL; 433 TOPO_METH_PROP_GET_VERSION, in, prop, err); 440 if (*prop == NULL) 449 nvlist_t *ap, *prop = NULL; local 452 nvl, &prop, err) < 0) 455 if (nvlist_lookup_nvlist(prop, TOPO_PROP_VAL_VAL, &ap) != 0) 457 prop)); 461 prop)); 463 nvlist_free(prop); 401 fmri_prop(topo_hdl_t *thp, nvlist_t *rsrc, const char *pgname, const char *pname, nvlist_t *args, nvlist_t **prop, int *err) argument 471 nvlist_t *fp, *prop = NULL; local 493 nvlist_t *prop = NULL; local 516 nvlist_t *prop = NULL; local 549 topo_fmri_getprop(topo_hdl_t *thp, nvlist_t *nvl, const char *pg, const char *pname, nvlist_t *args, nvlist_t **prop, int *err) argument 558 topo_fmri_setprop(topo_hdl_t *thp, nvlist_t *nvl, const char *pg, nvlist_t *prop, int flag, nvlist_t *args, int *err) argument [all...] |
/illumos-gate/usr/src/cmd/svc/svcadm/ |
H A D | synch.c | 102 scf_property_t *prop, const char *name) 107 if (scf_pg_get_property(pg, name, prop) == -1) { 117 if (scf_property_get_value(prop, val) != 0) { 148 scf_property_t *prop; local 151 (prop = scf_property_create(h)) == NULL) 154 if (scf_pg_get_property(pg, name, prop) != 0) { 164 if (scf_iter_property_values(iter, prop) != 0) { 170 scf_property_destroy(prop); 173 scf_property_destroy(prop); 456 scf_property_t *prop; local 101 read_astring_prop(scf_propertygroup_t *pg, scf_value_t *val, scf_property_t *prop, const char *name) argument [all...] |
/illumos-gate/usr/src/cmd/svc/svcprop/ |
H A D | svcprop.c | 220 * identification (the FMRI if fmris is true, pg/prop otherwise) and the type 224 display_prop(scf_propertygroup_t *pg, scf_property_t *prop) argument 242 if (scf_property_to_fmri(prop, buf, buf_sz) == -1) 256 if (scf_property_get_name(prop, buf, buf_sz) < 0) 265 if (scf_property_type(prop, &ty) == -1) 275 if (scf_iter_property_values(iter, prop) == -1) 309 scf_property_t *prop; local 315 if ((prop = scf_property_create(hndl)) == NULL || 322 while ((ret = scf_iter_next_property(iter, prop)) == 1) 323 display_prop(pg, prop); 417 scf_property_t *prop; local 603 scf_property_t *prop; local 669 process_prop(scf_propertygroup_t *pg, scf_property_t *prop) argument 774 scf_property_t *prop; local [all...] |
/illumos-gate/usr/src/lib/librestart/common/ |
H A D | librestart.c | 1376 scf_property_t *prop = NULL; local 1397 prop = scf_property_create(h); 1401 if (pg == NULL || prop == NULL || iter == NULL || t == NULL) { 1448 if (scf_pg_get_property(pg, pname, prop) == 0) { 1475 if (scf_property_is_type(prop, SCF_TYPE_COUNT) == 0) { 1476 if (scf_iter_property_values(iter, prop) != 0) { 1650 scf_property_destroy(prop); 1676 scf_property_t *prop = NULL; local 1691 prop = scf_property_create(h); 1695 if (pg == NULL || prop 1982 get_astring_val(scf_propertygroup_t *pg, const char *name, char *buf, size_t bufsz, scf_property_t *prop, scf_value_t *val) argument 2008 get_boolean_val(scf_propertygroup_t *pg, const char *name, uint8_t *b, scf_property_t *prop, scf_value_t *val) argument 2374 get_profile(scf_propertygroup_t *methpg, scf_propertygroup_t *instpg, scf_property_t *prop, scf_value_t *val, const char *cmdline, struct method_context *ci, mc_error_t *merr) argument 2507 get_ids(scf_propertygroup_t *methpg, scf_propertygroup_t *instpg, scf_property_t *prop, scf_value_t *val, struct method_context *ci, mc_error_t *merr) argument 2684 get_environment(scf_handle_t *h, scf_propertygroup_t *pg, struct method_context *mcp, scf_property_t *prop, scf_value_t *val) argument 2798 scf_property_t *prop = NULL; local 3893 scf_property_t *prop; local 3942 scf_property_t *prop; local 3981 scf_property_t *prop; local 4080 scf_property_t *prop; local [all...] |
/illumos-gate/usr/src/cmd/fm/eversholt/files/common/ |
H A D | pciexrc.esc | 112 prop fault.io.pciex.rc.generic-sw@hostbridge -> 120 prop fault.io.pciex.rc.generic-fw@hostbridge -> 126 prop fault.io.pciex.rc.generic-ce@hostbridge { IS_CE } -> 133 prop fault.io.pciex.rc.generic-ue@hostbridge -> 140 prop error.io.pciex.rc.generic-ue1@hostbridge { IS_UE && !IS_BLOCKED } -> 154 prop error.io.pciex.rc.generic-ue2@hostbridge { IS_UE && !IS_BLOCKED } -> 169 prop error.io.pciex.rc.stall@hostbridge (0) -> 171 prop error.io.pciex.rc.stall@hostbridge { IS_UE && IS_BLOCKED } -> 179 prop error.io.pciex.rc.poiscomp@hostbridge (0) -> 185 prop erro [all...] |
/illumos-gate/usr/src/lib/pyzfs/common/ |
H A D | userspace.py | 49 def skiptype(options, prop): 51 (field, isgroup) = props[prop] 103 def process_one_raw(acct, options, prop, elem): 105 information from this elem from Dataset.userspace(prop).""" 108 (field, isgroup) = props[prop] 217 for prop in props.keys(): 218 if skiptype(options, prop): 220 for elem in ds.userspace(prop): 221 process_one_raw(acct, options, prop, elem)
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/misc/ |
H A D | zfs_get_001_neg.ksh | 57 ACTUAL=$( zfs get $PROP -o value -H snapdir $TESTPOOl/$TESTFS/prop )
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg.c | 68 #define SHELP_CLEAR "clear <prop-name>" 77 #define SHELP_GET "get [-V] <prop-name>" 82 #define SHELP_SET "set <prop-name>=<value1>[,<value2>...]" 659 /* Given an int for a prop, returns it as string */ 821 properr(const char *prop) argument 823 nerr("Invalid property: '%s'", prop); 1933 /* Given an int for prop, returns it as string */ 1947 /* Given a prop as a string, returns it as an int */ 1949 prop_to_pt(nwam_object_type_t object_type, const char *prop) argument 1955 if (strcmp(prop, prop_tabl 1963 prop_value_type(nwam_object_type_t object_type, const char *prop) argument 2291 show_prop_test(nwam_object_type_t object_type, const char *prop, prop_display_entry_t *display_list, char **checked_props, int num_checked) argument 2425 is_prop_read_only(nwam_object_type_t object_type, const char *prop) argument 2451 is_prop_multivalued(nwam_object_type_t object_type, const char *prop) argument 2481 invalid_set_prop_msg(const char *prop, nwam_error_t err) argument 2526 const char *prop; local 2659 str2str(void *s, const char *prop, char *str) argument 2667 str2qstr(void *s, const char *prop, char *qstr) argument 2676 int2str(void *in, const char *prop, char *instr) argument 2683 uint2str(void *uin, const char *prop, char *uintstr) argument 2696 bool2str(void *bool, const char *prop, char *boolstr) argument 2781 output_propname_common(const char *prop, nwam_value_t values, void *arg, int width) argument 2800 output_propname(const char *prop, nwam_value_t values, void *arg) argument 2807 output_loc_propname(const char *prop, nwam_value_t values, void *arg) argument 3202 write_export_command(nwam_object_type_t object_type, const char *prop, nwam_value_t values, FILE *of) argument 3748 const char *prop; local 3818 const char *prop; local 3865 print_all_prop_choices(nwam_object_type_t object_type, const char *prop) argument [all...] |
/illumos-gate/usr/src/lib/libc/amd64/sys/ |
H A D | uadmin.c | 120 scf_simple_prop_t *prop = NULL; local 137 prop = real_scf_simple_prop_get(NULL, fmri, "config", 139 if (prop) { 140 if ((ret_val = real_scf_simple_prop_next_boolean(prop)) != 144 real_scf_simple_prop_free(prop);
|
/illumos-gate/usr/src/lib/libc/i386/sys/ |
H A D | uadmin.c | 119 scf_simple_prop_t *prop = NULL; local 136 prop = real_scf_simple_prop_get(NULL, fmri, "config", 138 if (prop) { 139 if ((ret_val = real_scf_simple_prop_next_boolean(prop)) != 143 real_scf_simple_prop_free(prop);
|
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | sun4u_memlist.c | 54 struct memlist *fill_memlists(char *name, char *prop, struct memlist *); 75 fill_memlists(char *name, char *prop, struct memlist *old) argument 110 if ((links = prom_getproplen(node, prop)) == -1) 114 name, prop); 120 (void) prom_getprop(node, prop, (caddr_t)pm);
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | bootops.c | 83 fakelook(const char *prop) argument 88 if (strcmp(prop, fpp->bootname) == 0) 390 char *prop; local 395 prop = fpp->promname; 398 prop = (char *)name; 400 return (prom_getproplen(node, prop)); 412 char *prop; local 417 prop = fpp->promname; 420 prop = (char *)name; 422 return (prom_getprop(node, prop, valu [all...] |
/illumos-gate/usr/src/cmd/coreadm/ |
H A D | coreadm.c | 408 scf_propvec_t *prop; local 440 for (prop = prop_option; prop->pv_prop != NULL; prop++) 441 if ((alloptions & prop->pv_aux) != 0) 442 addprop(properties, MAX_PROPS, count++, prop, &options); 446 prop = NULL; 448 &prop) == SCF_FAILED) { 449 if (prop != NULL) { 452 prop 617 scf_propvec_t *prop; local [all...] |
/illumos-gate/usr/src/cmd/audit/ |
H A D | audit.c | 172 scf_simple_prop_t *prop = NULL; local 175 if ((prop = scf_simple_prop_get(NULL, AUDITD_FMRI, SCF_PG_RESTARTER, 180 if ((scf_simple_prop_numvalues(prop) < 0) || 181 (cid = scf_simple_prop_next_count(prop)) == NULL) { 182 scf_simple_prop_free(prop); 188 scf_simple_prop_free(prop); 191 scf_simple_prop_free(prop);
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_virtual.c | 97 char *prop; local 107 prop = param_arr[param_vlan_ids].fcode_name; 117 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, hxgep->dip, 0, prop, 139 hxgep->dip, prop, (int *)good_cfg, good_count); 158 char *prop; local 166 prop = param_arr[param_vlan_ids].fcode_name; 168 status = ddi_prop_lookup_int_array(DDI_DEV_T_ANY, hxgep->dip, 0, prop, 172 hxgep->dip, prop, vlan_cfg_val, vlan_cnt); 177 prop = pa->fcode_name; 178 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, hxgep->dip, 0, prop, 231 char *prop; local 390 char *prop; local [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dsl_prop.c | 46 dodefault(zfs_prop_t prop, int intsz, int numints, void *buf) argument 53 if (prop == ZPROP_INVAL || 54 (zfs_prop_readonly(prop) && !zfs_prop_setonce(prop))) 57 if (zfs_prop_get_type(prop) == PROP_TYPE_STRING) { 60 (void) strncpy(buf, zfs_prop_default_string(prop), 66 *(uint64_t *)buf = zfs_prop_default_numeric(prop); 79 zfs_prop_t prop; local 90 prop = zfs_name_to_prop(propname); 91 inheritable = (prop 163 zfs_prop_t prop = zfs_name_to_prop(propname); local 366 zfs_prop_t prop = zfs_name_to_prop(propname); local 940 zfs_prop_t prop; local 1169 dsl_prop_nvlist_add_uint64(nvlist_t *nv, zfs_prop_t prop, uint64_t value) argument 1192 dsl_prop_nvlist_add_string(nvlist_t *nv, zfs_prop_t prop, const char *value) argument [all...] |
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | libdevinfo_sun4u.c | 200 Prop *prop = NULL; /* tail of properties list */ local 331 else if (prop != NULL) 332 prop->next = temp; 333 prop = temp; 334 prop->next = NULL; 398 } else if (prop != NULL) { 399 prop->next = temp; 401 prop = temp; 402 prop->next = NULL;
|
H A D | cpu.c | 64 Prop *prop; local 68 if ((prop = find_prop(pnode, "clock-frequency")) == NULL) { 72 if ((value = (uint_t *)get_prop_val(prop)) == NULL) {
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/serengeti/common/ |
H A D | serengeti.c | 126 void *get_prop_val(Prop *prop); 210 char *slot_name = NULL; /* info in "slot-names" prop */ 780 /* Get the board number of this board from the portid prop */ 1931 get_prop_val(Prop *prop) argument 1933 if (prop == NULL) 1938 return ((void *)(prop->value.val_ptr)); 1940 if (prop->value.opp.holds_array) 1941 return ((void *)(prop->value.opp.oprom_array)); 1943 return ((void *)(&prop->value.opp.oprom_node[0])); 1954 Prop *prop; local 1985 Prop *prop; local 2013 Prop *prop; local [all...] |
/illumos-gate/usr/src/cmd/fm/eversholt/files/sparc/sun4v/ |
H A D | n2piu.esc | 158 prop error.io.fire.pec.adjacentnode@hostbridge/pciexrc (0) -> 164 prop fault.io.fire.asic@hostbridge/pciexrc (0)-> 171 prop upset.io.fire.nodiag@hostbridge (0)-> 177 prop fault.io.n2.soc@hostbridge/pciexrc (1)-> 184 prop fault.io.n2.crossbar@hostbridge/pciexrc (1)-> 189 prop fault.io.n2.dmu@hostbridge/pciexrc (1)-> 197 prop fault.io.n2.ncu@hostbridge/pciexrc (1)-> 205 prop fault.io.n2.siu@hostbridge/pciexrc (1)-> 215 prop fault.io.n2.niu@hostbridge/pciexrc (0)-> 234 prop faul [all...] |
/illumos-gate/usr/src/cmd/zonestat/zonestat/ |
H A D | zonestat.c | 1118 zs_property_t *prop, *propb; local 1123 prop = alloca(zs_property_size()); 1155 zs_zone_property(zonea, ZS_PZ_PROP_CPU_SHARES, prop); 1156 resa = zs_property_uint64(prop); 1159 zs_zone_property(zoneb, ZS_PZ_PROP_CPU_SHARES, prop); 1160 resb = zs_property_uint64(prop); 1179 zs_zone_property(zonea, ZS_ZONE_PROP_NAME, prop); 1182 res = strcmp(zs_property_string(prop), 1238 zs_property_t *prop, *propb; local 1243 prop 1306 ZS_ZONE_PROP_NAME, prop); local 1337 zs_property_t *prop; local 1450 zs_property_t *prop; local 1726 zs_property_t *prop; local 2292 scf_simple_prop_t *prop; local [all...] |
/illumos-gate/usr/src/lib/libstmf/common/ |
H A D | store.c | 294 scf_property_t *prop = NULL; local 324 ((prop = scf_property_create(handle)) == NULL) || 380 if (scf_pg_get_property(pg, groupName, prop) == -1) { 401 if (scf_iter_property_values(valueIter, prop) == -1) { 588 if (prop != NULL) { 589 scf_property_destroy(prop); 638 scf_property_t *prop = NULL; local 665 ((prop = scf_property_create(handle)) == NULL) || 747 if (scf_pg_get_property(pg, STMF_VE_CNT, prop) == -1) { 757 if (scf_property_get_value(prop, valu 1386 scf_property_t *prop = NULL; local 1693 scf_property_t *prop = NULL; local 1866 scf_property_t *prop = NULL; local 2073 scf_property_t *prop = NULL; local 2288 scf_property_t *prop = NULL; local 2645 scf_property_t *prop = NULL; local 2843 scf_property_t *prop = NULL; local 3496 scf_property_t *prop = NULL; local 3689 scf_property_t *prop = NULL; local 4003 scf_property_t *prop = NULL; local 4239 scf_property_t *prop = NULL; local 4426 scf_property_t *prop = NULL; local [all...] |