Lines Matching defs:type
40 * the same description based on the object type, name, original name
45 nwam_handle_create(nwam_object_type_t type, const char *name,
59 (*hpp)->nwh_object_type = type;
68 nwam_lists_to_handle(nvlist_t *idp, nvlist_t *objp, nwam_object_type_t type,
81 (type == NWAM_OBJECT_TYPE_NCU &&
86 if ((err = nwam_handle_create(type, name, hpp)) != NWAM_SUCCESS)
95 * Read object of specified type from dbname.
98 nwam_read(nwam_object_type_t type, const char *dbname, const char *name,
110 if ((err = nwam_handle_create(type, name, hpp)) != NWAM_SUCCESS)
120 if (type == NWAM_OBJECT_TYPE_NCU) {
166 nwam_create(nwam_object_type_t type, const char *dbname, const char *name,
174 if (nwam_read(type, dbname, name, 0, &hp) == NWAM_SUCCESS) {
179 if ((err = nwam_handle_create(type, name, hpp)) != NWAM_SUCCESS)
630 * by nwam_validate_prop() to determine that the number, type and
643 nwam_value_type_t type;
649 (err = nwam_value_get_type(value, &type)) != NWAM_SUCCESS) {
673 /* Ensure type matches */
676 if (pte->prop_type != type) {
730 * Given the type and class flag representations, return the list of properties
731 * that can be set for that type/class combination. Note this list is a complete
733 * The type and class flags are only used for NCU objects at present.
739 uint64_t type, uint64_t class, const char ***prop_list, uint_t *numvalues)
748 /* Construct a list of all properties for required type/class */
756 if (((type & cur->prop_type_membership) == 0) ||