/illumos-gate/usr/src/uts/i86pc/io/pci/ |
H A D | pci_common.c | 204 char *prop; local 345 prop = NULL; 348 prop = "pci-msi-capid-pointer"; 350 prop = "pci-msix-capid-pointer"; 356 if (prop != NULL) { 358 DDI_PROP_DONTPASS, prop, 0);
|
/illumos-gate/usr/src/uts/common/io/sdcard/adapters/sdhost/ |
H A D | sdhost.c | 1499 sdhost_getprop(void *arg, sda_prop_t prop, uint32_t *val) argument 1510 switch (prop) { 1572 sdhost_setprop(void *arg, sda_prop_t prop, uint32_t val) argument 1584 switch (prop) {
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_hba.c | 1945 int32_t *prop; local 2140 "reg", &prop, &num_prop) == DDI_PROP_SUCCESS) { 2143 (uint8_t)((prop[0] & 0x00000700) >> 8); 2145 (uint8_t)((prop[0] & 0x0000f800) >> 11); 2146 hba->pci_bus_number = (uint8_t)((prop[0] & 0x00ff0000) >> 16); 2147 ddi_prop_free((void *)prop);
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | parallel.cc | 123 Property prop; local 137 if (((prop = get_prop(dmake_name->prop, macro_prop)) != NULL) && 138 ((dmake_value = prop->body.macro.value) != NULL)) { 154 if (((prop = get_prop(dmake_name->prop, macro_prop)) != NULL) && 155 ((dmake_value = prop->body.macro.value) != NULL)) { 829 line = get_prop(rp->target->prop, line_prop); 1000 get_prop((*tp)->prop, conditional_prop), 1041 line = get_prop(target->prop, line_pro [all...] |
H A D | doname.cc | 189 source_line = get_prop(source->prop, line_prop); 307 line = get_prop(target->prop, line_prop); 333 true_target = get_prop(target->prop, 339 time = get_prop(true_target->prop, time_prop); 479 if ((line = get_prop(target->prop, line_prop)) != NULL) { 534 get_prop(target->prop, 549 ((member = get_prop(target->prop, member_prop)) != 569 get_prop(target->prop, 604 prop, 651 get_prop(target->prop, 1327 Property prop; local [all...] |
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_values.c | 514 nvpair_t *prop; local 527 if ((nverr = nvlist_lookup_nvpair(list, name, &prop)) != 0) { 534 switch (nvpair_type(prop)) { 536 if ((nverr = nvpair_value_boolean_array(prop, 544 if ((nverr = nvpair_value_int64_array(prop, 552 if ((nverr = nvpair_value_uint64_array(prop, 560 if ((nverr = nvpair_value_string_array(prop,
|
/illumos-gate/usr/src/uts/common/io/i40e/ |
H A D | i40e_main.c | 1500 i40e_get_prop(i40e_t *i40e, char *prop, int min, int max, int def) argument 1505 prop, def);
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_backup_reader.c | 1202 zfs_put_prop_cb(int prop, void *pp) argument 1223 if (zfs_prop_get(mhd->ml_handle, prop, vbuf, sizeof (vbuf), 1229 (void) strlcpy(mpp->mp_name, zfs_prop_to_name(prop), 1305 zfs_count_prop_cb(int prop, void *pp) argument
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_persist.c | 1557 scf_simple_prop_t *prop; local 1559 prop = scf_simple_prop_get(res->sr_handle, IPMGMTD_FMRI, pgname, pname); 1560 numvals = scf_simple_prop_numvalues(prop); 1565 *(int64_t **)pval = scf_simple_prop_next_integer(prop); 1568 *(char **)pval = scf_simple_prop_next_astring(prop); 1572 scf_simple_prop_free(prop);
|
/illumos-gate/usr/src/cmd/halt/ |
H A D | halt.c | 206 scf_property_t *prop = NULL; local 214 ((prop = scf_property_create(h)) == NULL) || 219 NULL, NULL, NULL, NULL, prop, SCF_DECODE_FMRI_EXACT) != 0) 222 if (scf_property_is_type(prop, SCF_TYPE_COUNT) != 0 || 223 scf_property_get_value(prop, val) != 0 || 231 scf_property_destroy(prop); 276 scf_property_t *prop = NULL; local 306 (prop = scf_property_create(h)) == NULL || 336 prop) != 0 || 337 scf_property_get_value(prop, va [all...] |
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libsharecore.c | 915 sa_property_t popt, prop; local 961 prop = sa_get_property(localoptions, tag); 962 if (prop != NULL) { 965 pvalue = sa_get_property_attr(prop, 981 prop); 990 prop = sa_get_property(localoptions, NULL); 991 if (prop == NULL && sa_is_share(group)) { 1008 for (prop = sa_get_property(localoptions, NULL); 1009 prop != NULL; 1010 prop 1610 sa_has_prop(sa_optionset_t optionset, sa_property_t prop) argument 1737 sa_property_t prop; local 1807 sa_property_t prop; local 1874 sa_property_t prop; local 2184 scf_simple_prop_t *prop; local [all...] |
H A D | libshare.c | 823 #define GETPROP(prop) scf_simple_prop_next_astring(prop) 836 scf_simple_prop_t *prop; local 901 prop = scf_simple_prop_get 906 if (prop != NULL) { 908 i64 = GETPROP(prop); 914 scf_simple_prop_free(prop); 1013 prop = scf_simple_prop_get( 1017 if (prop != NULL) { 1020 scf_simple_prop_next_astring(prop); 2257 sa_get_property_attr(sa_property_t prop, char *tag) argument 2440 sa_get_property(sa_optionset_t optionset, char *prop) argument 3068 sa_set_prop_by_prop(sa_optionset_t optionset, sa_group_t group, sa_property_t prop, int type) argument 3484 sa_get_next_protocol_section(sa_property_t prop, char *find) argument 3529 sa_get_protocol_property(sa_protocol_properties_t propset, char *prop) argument 3572 sa_get_next_protocol_property(sa_property_t prop, char *find) argument 3607 sa_set_protocol_property(sa_property_t prop, char *section, char *value) argument 3635 sa_add_protocol_property(sa_protocol_properties_t propset, sa_property_t prop) argument 4114 sa_property_t prop; local 4232 sa_property_t prop; local 4292 sa_property_t prop; local [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_util.c | 1172 zprop_parse_value(libzfs_handle_t *hdl, nvpair_t *elem, int prop, argument 1183 proptype = zpool_prop_get_type(prop); 1184 propname = zpool_prop_to_name(prop); 1186 proptype = zfs_prop_get_type(prop); 1187 propname = zfs_prop_to_name(prop); 1232 (prop == ZFS_PROP_QUOTA || prop == ZFS_PROP_REFQUOTA)) { 1243 (prop == ZFS_PROP_FILESYSTEM_LIMIT || 1244 prop == ZFS_PROP_SNAPSHOT_LIMIT)) { 1258 if (zprop_string_to_index(prop, valu 1295 int prop; local 1447 zprop_expand_list_cb(int prop, void *cb) argument [all...] |
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | midlevel.c | 76 const char *prop) 82 if (prop == NULL) { 101 strlen(prop) + 1; 125 (void) strcat(fmri_buf, prop); 135 fill_prop(scf_property_t *prop, const char *pgname, const char *propname, argument 172 if (scf_property_type(prop, &ret->pr_type) == -1) 182 if (scf_iter_property_values(iter, prop) == -1) 360 scf_simple_pg *thispg, scf_property_t *prop, size_t namelen, 367 while ((propiter_ret = scf_iter_next_property(propiter, prop)) == 1) { 369 if (scf_property_get_name(prop, propnam 75 assemble_fmri(scf_handle_t *h, const char *base, const char *pg, const char *prop) argument 359 insert_app_props(scf_iter_t *propiter, char *pgname, char *propname, struct scf_simple_pg *thispg, scf_property_t *prop, size_t namelen, scf_handle_t *h) argument 718 scf_property_t *prop = NULL; local 965 scf_property_t *prop = NULL; local 1226 scf_simple_prop_t *prop; local 1254 scf_simple_prop_t *prop; local 1282 scf_simple_prop_t *prop; local 1452 scf_property_t *prop = scf_property_create(simple_h->h); local 1655 scf_property_t *prop = NULL; local 1746 scf_simple_prop_free(scf_simple_prop_t *prop) argument 1790 scf_property_t *prop = NULL; local 2233 scf_simple_prop_t *prop; local 2274 scf_simple_prop_next_reset(scf_simple_prop_t *prop) argument 2282 scf_simple_prop_numvalues(const scf_simple_prop_t *prop) argument 2292 scf_simple_prop_type(const scf_simple_prop_t *prop) argument 2302 scf_simple_prop_name(const scf_simple_prop_t *prop) argument 2314 scf_simple_prop_pgname(const scf_simple_prop_t *prop) argument 2326 scf_next_val(scf_simple_prop_t *prop, scf_type_t type) argument 2367 scf_simple_prop_next_boolean(scf_simple_prop_t *prop) argument 2381 scf_simple_prop_next_count(scf_simple_prop_t *prop) argument 2395 scf_simple_prop_next_integer(scf_simple_prop_t *prop) argument 2408 scf_simple_prop_next_time(scf_simple_prop_t *prop, int32_t *nsec) argument 2424 scf_simple_prop_next_astring(scf_simple_prop_t *prop) argument 2437 scf_simple_prop_next_ustring(scf_simple_prop_t *prop) argument 2450 scf_simple_prop_next_opaque(scf_simple_prop_t *prop, size_t *length) argument 2535 scf_propvec_t *prop; local 2601 scf_propvec_t *prop; local 2770 scf_propvec_t *prop; local 3034 scf_simple_prop_t *prop; local [all...] |
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devfsmap.c | 107 begin, parent, drvname, drvclass, prop, enumerator in enum:__anon3107 467 state = prop; 477 case prop:
|
/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...] |
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool_internal.c | 347 elem_name_init(pool_prop_t *prop) argument 349 return (string_init(prop, "default")); 353 elem_comment_init(pool_prop_t *prop) argument 355 return (string_init(prop, "")); 359 pool_importance_init(pool_prop_t *prop) argument 361 return (int_init(prop, 1)); 365 pool_active_init(pool_prop_t *prop) argument 367 return (bool_init(prop, PO_TRUE)); 371 res_max_init(pool_prop_t *prop) argument 373 return (uint_init(prop, 377 res_min_init(pool_prop_t *prop) argument 383 res_size_init(pool_prop_t *prop) argument 389 res_load_init(pool_prop_t *prop) argument 395 pset_units_init(pool_prop_t *prop) argument 401 cpu_status_init(pool_prop_t *prop) argument 742 uint_init(pool_prop_t *prop, uint64_t val) argument 754 int_init(pool_prop_t *prop, int64_t val) argument 766 double_init(pool_prop_t *prop, double val) argument 778 bool_init(pool_prop_t *prop, uchar_t val) argument 790 string_init(pool_prop_t *prop, const char *val) argument 869 prop_is_type(int prop_type, const pool_prop_t *prop) argument 879 prop_is_stored(const pool_prop_t *prop) argument 889 prop_is_readonly(const pool_prop_t *prop) argument 900 prop_is_init(const pool_prop_t *prop) argument 910 prop_is_hidden(const pool_prop_t *prop) argument 920 prop_is_optional(const pool_prop_t *prop) argument 1661 pool_validate_resource(const pool_conf_t *conf, const char *type, const char *prop, int64_t delta) argument [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/montecarlo/common/ |
H A D | montecarlo.c | 1210 di_prop_t prop, next; local 1219 prop = next; 1220 next = nxtprop(node, prop); 1222 * get prop length and value: 1225 prop_len = di_prop_rawdata(prop, &prop_data); 1226 if (di_prop_type(prop) == DDI_PROP_UNDEF_IT) { 1261 (strcmp(di_prop_name(prop), 1270 (strcmp(di_prop_name(prop), HSC_PROP_NAME) == 0)) { 1341 (strcmp(di_prop_name(prop), HSC_MODE) == 0)) { 1345 (strcmp(di_prop_name(prop), HSC_MOD [all...] |
/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/lib/libraidcfg/common/ |
H A D | raidcfg_spi.h | 333 char prop[1]; member in struct:__anon3848
|
/illumos-gate/usr/src/lib/libinetsvc/common/ |
H A D | inetsvc.c | 151 find_prop(const inetd_prop_t *prop, const char *name, inet_type_t type) argument 155 while (prop[i].ip_name != NULL && strcmp(name, prop[i].ip_name) != 0) 158 if (prop[i].ip_name == NULL) 161 if (prop[i].ip_type != type) 164 return ((inetd_prop_t *)prop + i); 173 get_prop_value_int(const inetd_prop_t *prop, const char *name) argument 177 p = find_prop(prop, name, INET_TYPE_INTEGER); 187 get_prop_value_count(const inetd_prop_t *prop, const char *name) argument 191 p = find_prop(prop, nam 201 get_prop_value_boolean(const inetd_prop_t *prop, const char *name) argument 215 get_prop_value_string(const inetd_prop_t *prop, const char *name) argument 229 get_prop_value_string_list(const inetd_prop_t *prop, const char *name) argument 243 put_prop_value_int(inetd_prop_t *prop, const char *name, int64_t value) argument 258 put_prop_value_count(inetd_prop_t *prop, const char *name, uint64_t value) argument 273 put_prop_value_boolean(inetd_prop_t *prop, const char *name, boolean_t value) argument 289 put_prop_value_string(inetd_prop_t *prop, const char *name, const char *value) argument 310 put_prop_value_string_list(inetd_prop_t *prop, const char *name, char **value) argument 572 valid_props(inetd_prop_t *prop, const char *fmri, basic_cfg_t **cfgpp, uu_list_pool_t *proto_info_pool, uu_list_pool_t *tlx_ci_pool) argument 1206 free_instance_props(inetd_prop_t *prop) argument 1431 scf_property_t *prop = NULL; local [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_list.c | 1194 di_prop_t prop = DI_PROP_NIL; local 1247 while ((prop = di_prop_next(node, prop)) 1250 di_prop_name(prop)) == 0) && 1251 (di_prop_type(prop) == 1257 if (prop != DI_PROP_NIL) { 1258 count = di_prop_bytes(prop, &port_wwn_data);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcpolicy/ |
H A D | psvcpolicy.c | 1474 int *prop; local 1494 n = di_prop_lookup_ints(DDI_DEV_T_ANY, node, "target", &prop); 1497 target = *prop;
|
/illumos-gate/usr/src/cmd/prtconf/ |
H A D | pdevinfo.c | 484 prop_type_guess(const dumpops_t *propops, void *prop, void **prop_data, argument 489 type = PROPTYPE(propops)(prop); 497 len = PROPINTS(propops)(prop, (int **)prop_data); 500 len = PROPINT64(propops)(prop, (int64_t **)prop_data); 503 len = PROPBYTES(propops)(prop, (uchar_t **)prop_data); 506 len = PROPSTRINGS(propops)(prop, (char **)prop_data); 509 len = PROPSTRINGS(propops)(prop, (char **)prop_data); 515 len = PROPINTS(propops)(prop, (int **)prop_data); 528 len = PROPRAWDATA(propops)(prop, (uchar_t **)prop_data); 547 void *prop local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
H A D | ilbd_scf.c | 106 /* add new rule related prop here */ 109 /* add new sg related prop here */ 115 /* add new hc related prop here */ 254 * If create is set, create a new prop group, destroy the old one if exists. 255 * If create not set, try to find the prop group with given name. 867 scf_property_t *prop = NULL; local 887 if ((prop = scf_property_create(h)) == NULL) 906 logdebug("ilbd_scf_set_prop: create scf prop failed\n"); 913 logdebug("ilbd_scf_set_prop: change scf prop failed\n"); 944 if (prop ! 958 scf_property_t *prop = NULL; local 1297 scf_property_t *prop; local [all...] |