/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/psm/stand/cpr/common/ |
H A D | support.c | 95 cprop_t *prop, *tail; local 133 for (prop_errors = 0, prop = cdef.props, tail = prop + CPR_MAXPROP; 134 prop < tail; prop++) { 137 prop->mod, prop->name, prop->value); 139 if (prop->mod != PROP_MOD) 142 len = prom_strlen(prop [all...] |
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | misc.cc | 311 register Property prop; local 407 if (((prop = get_prop(p->prop, macro_prop)) != NULL) && 408 (prop->body.macro.value != NULL)) { 410 print_value(prop->body.macro.value, 411 (Daemon) prop->body.macro.daemon); 418 for (prop = get_prop(p->prop, conditional_prop); 419 prop != NULL; 420 prop [all...] |
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_scfutil.c | 258 scf_property_t *prop; local 264 prop = scf_property_create(handle->scf_handle); 265 if (value && prop && 266 (scf_pg_get_property(handle->scf_pg, propname, prop) == 0)) { 267 if (scf_property_get_value(prop, value) == 0) { 279 if (prop != NULL) 280 scf_property_destroy(prop); 352 scf_property_t *prop = NULL; local 358 prop = scf_property_create(handle->scf_handle); 359 if ((prop) 447 scf_property_t *prop = NULL; local 546 scf_property_t *prop = NULL; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/sbin/netstrategy/ |
H A D | netstrategy.c | 140 const char **prop = required_properties; local 151 while (*prop != NULL) { 153 dn, *prop, &prop_value) != 1) { 157 prop++;
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | plugin.c | 348 * sa_proto_valid_prop(handle, proto, prop, opt) 350 * Check to see if the specified prop is valid for this protocol. 354 sa_proto_valid_prop(sa_handle_t handle, char *proto, sa_property_t prop, argument 361 ret = ops->sa_valid_prop(handle, prop, opt); 483 * sa_proto_set_property(proto, prop) 489 sa_proto_set_property(char *proto, sa_property_t prop) argument 495 ret = ops->sa_set_proto_prop(prop);
|
/illumos-gate/usr/src/lib/libshare/smbfs/ |
H A D | libshare_smbfs.c | 350 scf_simple_prop_t *prop = NULL, *lastprop = NULL; local 360 lastprop = prop; 361 prop = (scf_simple_prop_t *) 363 if (prop == NULL) 367 pgname = scf_simple_prop_pgname(prop); 387 name = scf_simple_prop_name(prop); 388 value = scf_simple_prop_next_astring(prop); 632 * smbfs_set_proto_prop(prop) 634 * check that prop is valid. 638 smbfs_set_proto_prop(sa_property_t prop) argument [all...] |
H A D | smbfs_scfutil.c | 643 scf_property_t *prop; local 650 prop = scf_property_create(handle->scf_handle); 651 if (value && prop && 652 (scf_pg_get_property(handle->scf_pg, propname, prop) == 0)) { 653 if (scf_property_get_value(prop, value) == 0) { 665 if (prop != NULL) 666 scf_property_destroy(prop); 739 scf_property_t *prop = NULL; local 746 prop = scf_property_create(handle->scf_handle); 747 if ((prop) 836 scf_property_t *prop = NULL; local 937 scf_property_t *prop = NULL; local [all...] |
/illumos-gate/usr/src/lib/libndmp/common/ |
H A D | libndmp_prop.c | 110 ndmp_get_prop(const char *prop, char **value) argument 120 if (ndmp_smf_get_pg_name(handle, prop, &pgname)) { 134 if (ndmp_smf_get_property(handle, prop, lval, NDMP_PROP_LEN) != 0) { 186 scf_property_t *prop; local 197 if ((prop = scf_property_create(h->scf_handle)) == NULL) { 205 if ((scf_pg_get_property(h->scf_pg, pname, prop)) != 0) { 207 scf_property_destroy(prop); 213 scf_property_destroy(prop); 447 scf_property_t *prop = NULL; local 458 ((prop 525 scf_property_t *prop = NULL; local [all...] |
/illumos-gate/usr/src/lib/libprtdiag/inc/ |
H A D | pdevinfo.h | 54 * The prop structures associated with a Prom_node were formerly statically 59 * structs, and altering the prop structure. The prop structure's name and value 63 * as the former prop structure, but the *next element now points to a 64 * static_prop structure instead of a prop structure. 113 typedef struct prop Prop; 114 struct prop { struct
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | audit_scf.h | 73 scf_property_t *prop; /* property handle */ member in struct:asi_scfhandle 79 scf_iter_t *prop; /* property iter handle */ member in struct:asi_scfhandle_iter
|
/illumos-gate/usr/src/common/zfs/ |
H A D | zprop_common.c | 71 zprop_register_impl(int prop, const char *name, zprop_type_t type, argument 79 pd = &prop_tbl[prop]; 86 pd->pd_propnum = prop; 103 zprop_register_string(int prop, const char *name, const char *def, argument 107 zprop_register_impl(prop, name, PROP_TYPE_STRING, 0, def, attr, 113 zprop_register_number(int prop, const char *name, uint64_t def, argument 117 zprop_register_impl(prop, name, PROP_TYPE_NUMBER, def, NULL, attr, 122 zprop_register_index(int prop, const char *name, uint64_t def, argument 126 zprop_register_impl(prop, name, PROP_TYPE_INDEX, def, NULL, attr, 131 zprop_register_hidden(int prop, cons argument 169 int i, num_props, size, prop; local 242 zprop_name_to_prop_cb(int prop, void *cb_data) argument 256 int prop; local 269 zprop_string_to_index(int prop, const char *string, uint64_t *index, zfs_type_t type) argument 295 zprop_index_to_string(int prop, uint64_t index, const char **string, zfs_type_t type) argument 324 zprop_random_value(int prop, uint64_t seed, zfs_type_t type) argument 340 zprop_values(int prop, zfs_type_t type) argument 356 zprop_valid_for_type(int prop, zfs_type_t type) argument 375 zprop_width(int prop, boolean_t *fixed, zfs_type_t type) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | repval.c | 73 static scf_property_t *prop = NULL; variable 136 ((prop = scf_property_create(rep_handle)) == NULL)) { 167 scf_property_destroy(prop); 168 prop = NULL; 532 const char *prop, boolean_t store) 542 if (strcmp(prop, PR_NAME_START_PIDS) == 0) { 601 if ((ret = (store ? _store_rep_vals(vals, fmri, prop) : 602 _retrieve_rep_vals(vals, fmri, prop))) != 615 store_rep_vals(uu_list_t *vals, const char *fmri, const char *prop) argument 617 return (store_retrieve_rep_vals(vals, fmri, prop, B_TRU 531 store_retrieve_rep_vals(uu_list_t *vals, const char *fmri, const char *prop, boolean_t store) argument 621 retrieve_rep_vals(uu_list_t *vals, const char *fmri, const char *prop) argument [all...] |
/illumos-gate/usr/src/cmd/sbdadm/ |
H A D | sbdadm.c | 470 callModify(char *fname, stmfGuid *luGuid, uint32_t prop, const char *propVal, argument 477 stmfRet = stmfModifyLu(luGuid, prop, propVal); 479 stmfRet = stmfModifyLuByFname(STMF_DISK, fname, prop,
|
/illumos-gate/usr/src/cmd/acctadm/ |
H A D | aconf.c | 452 scf_property_t *prop; local 464 if ((prop = scf_property_create(handle)) == NULL || 466 scf_pg_get_property(pg, propname, prop) == -1 || 467 scf_property_get_value(prop, value) == -1 || 472 scf_property_destroy(prop); 481 scf_property_t *prop; local 493 if ((prop = scf_property_create(handle)) == NULL || 495 scf_pg_get_property(pg, propname, prop) == -1 || 496 scf_property_get_value(prop, value) == -1 || 501 scf_property_destroy(prop); [all...] |
/illumos-gate/usr/src/cmd/checknr/ |
H A D | checknr.c | 157 static void prop(int i); 382 prop(i); 387 prop(int i) function 473 prop(j+1); 476 prop(j+2);
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | llp.c | 298 const char *prop; local 346 prop = NWAM_NCU_PROP_ACTIVATION_MODE; 348 if ((err = nwamd_set_ncu_uint(phys_ncu, &uintval, 1, prop)) 352 prop = NWAM_NCU_PROP_PRIORITY_MODE; 354 if ((err = nwamd_set_ncu_uint(phys_ncu, &uintval, 1, prop)) 358 prop = NWAM_NCU_PROP_PRIORITY_GROUP; 360 if ((err = nwamd_set_ncu_uint(phys_ncu, &uintval, 1, prop)) 367 prop = NWAM_NCU_PROP_IPV4_ADDRSRC; 370 prop)) != NWAM_SUCCESS) 373 prop [all...] |
H A D | util.c | 383 * prop is the property within that group to look up 399 get_property_value(const char *fmri, const char *pg, const char *prop, argument 409 if (scf_pg_get_property(res->sr_pg, prop, res->sr_prop) != 0) { 597 nwamd_set_count_property(const char *fmri, const char *pg, const char *prop, argument 616 if (set_property_value(&res, prop, SCF_TYPE_COUNT) != 0) 624 "setting %s", scf_strerror(scf_error()), prop); 630 nwamd_set_string_property(const char *fmri, const char *pg, const char *prop, argument 650 if (set_property_value(&res, prop, SCF_TYPE_ASTRING) != 0) 658 "setting %s", scf_strerror(scf_error()), prop); 664 * Deletes property prop fro 668 nwamd_delete_scf_property(const char *fmri, const char *pg, const char *prop) argument [all...] |
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | property.c | 55 hal_property_free (HalProperty *prop) argument 58 g_free (prop->key); 60 if (prop->type == HAL_PROPERTY_TYPE_STRING) { 61 g_free (prop->v.str_value); 62 } else if (prop->type == HAL_PROPERTY_TYPE_STRLIST) { 64 for (i = prop->v.strlist_value; i != NULL; i = g_slist_next (i)) { 67 g_slist_free (prop->v.strlist_value); 70 g_free (prop); 76 HalProperty *prop; local 80 prop 103 HalProperty *prop; local 117 HalProperty *prop; local 131 HalProperty *prop; local 145 HalProperty *prop; local 157 hal_property_get_key(HalProperty *prop) argument 165 hal_property_get_type(HalProperty *prop) argument 173 hal_property_get_string(HalProperty *prop) argument 182 hal_property_get_int(HalProperty *prop) argument 191 hal_property_get_uint64(HalProperty *prop) argument 200 hal_property_get_bool(HalProperty *prop) argument 209 hal_property_to_string(HalProperty *prop) argument 258 hal_property_get_double(HalProperty *prop) argument 267 hal_property_set_string(HalProperty *prop, const char *value) argument 294 hal_property_set_int(HalProperty *prop, dbus_int32_t value) argument 305 hal_property_set_uint64(HalProperty *prop, dbus_uint64_t value) argument 316 hal_property_set_bool(HalProperty *prop, dbus_bool_t value) argument 327 hal_property_set_double(HalProperty *prop, double value) argument 338 hal_property_set_attribute(HalProperty *prop, enum PropertyAttribute attr, gboolean val) argument 358 hal_property_get_attribute(HalProperty *prop, enum PropertyAttribute attr) argument 378 HalProperty *prop; local 390 hal_property_get_strlist(HalProperty *prop) argument 399 hal_property_strlist_append(HalProperty *prop, const char *value) argument 410 hal_property_strlist_prepend(HalProperty *prop, const char *value) argument 421 hal_property_strlist_remove_elem(HalProperty *prop, guint index) argument 442 hal_property_strlist_add(HalProperty *prop, const char *value) argument 459 hal_property_strlist_remove(HalProperty *prop, const char *value) argument 477 hal_property_strlist_clear(HalProperty *prop) argument [all...] |
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal-device.c | 74 void process_property(LibHalContext *hal_ctx, char *buf, lh_prop_t **prop); 75 int add_properties(LibHalContext *hal_ctx, new_dev_t *nd, lh_prop_t *prop); 76 lh_prop_t *free_properties(lh_prop_t *prop); 345 lh_prop_t *prop; local 386 prop = NULL; 389 process_property(hal_ctx, buf, &prop); 392 err = add_properties(hal_ctx, &new_dev, prop); 394 prop = free_properties(prop); 447 void process_property(LibHalContext *hal_ctx, char *buf, lh_prop_t **prop) argument 545 add_properties(LibHalContext *hal_ctx, new_dev_t *nd, lh_prop_t *prop) argument 633 free_properties(lh_prop_t *prop) argument [all...] |
/illumos-gate/usr/src/cmd/svc/common/ |
H A D | manifest_hash.c | 122 scf_property_t *prop; local 139 (prop = scf_property_create(hndl)) == NULL || 160 if (scf_pg_get_property(pg, MHASH_PROP, prop) != SCF_SUCCESS) { 165 if (scf_property_get_value(prop, val) != SCF_SUCCESS) { 196 if (scf_pg_get_property(pg, MHASH_APPLY_PROP, prop) != 205 if (scf_property_get_value(prop, val) != SCF_SUCCESS) { 223 scf_property_destroy(prop); 238 scf_property_t *prop = NULL; local 254 (prop = scf_property_create(hndl)) == NULL) { 508 scf_property_destroy(prop); [all...] |
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | expand.c | 109 scf_property_t *prop) 122 if (scf_pg_get_property(pg, pn, prop) == 0) 132 if (scf_pg_get_property(pg, pn, prop) == 0) 165 scf_property_t *prop = NULL; local 190 (prop = scf_property_create(h)) == NULL) 203 if (scf_pg_get_property(pg, pn, prop) != 0) 215 if (get_prop(tmpinst, tmpsnap, pgn, pn, pg, prop) != 0) 221 /* Try prop or pg/prop in inst. */ 223 prop 107 get_prop(const scf_instance_t *inst, scf_snapshot_t *snap, const char *pgn, const char *pn, scf_propertygroup_t *pg, scf_property_t *prop) 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/uts/common/inet/ |
H A D | tunables.c | 293 mod_prop_info_t *ptbl, *prop; local 322 for (prop = ptbl; prop->mpi_name != NULL; prop++) { 323 if (prop->mpi_name[0] == '\0' || 324 strcmp(prop->mpi_name, "?") == 0) { 327 nbytes = snprintf(pval, size, "%s %d %d", prop->mpi_name, 328 prop->mpi_proto, prop_perm2const(prop)); 442 * # ipadm set-prop [all...] |
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/ |
H A D | cprboot.h | 162 caddr_t prop; member in struct:cb_props
|