Searched defs:pg (Results 76 - 100 of 103) sorted by relevance

12345

/illumos-gate/usr/src/cmd/format/
H A Dctlr_scsi.c2216 struct mode_page *pg; local
2288 pg = (struct mode_page *)((ulong_t)mode_sense_buf +
2290 if (pg->code != page_code) {
2294 page_code, pg->code);
2309 if (((int)pg->length) > maximum) {
2313 page_code, pg->length, maximum);
2322 (void) memcpy(page_data, (caddr_t)pg, MODESENSE_PAGE_LEN(pg));
2331 MODESENSE_PAGE_LEN(pg), HEX_ONLY);
/illumos-gate/usr/src/cmd/iscsiadm/
H A Dsun_ima.c1763 iscsi_param_get_t pg; local
1769 (void) memset(&pg, 0, sizeof (iscsi_param_get_t));
1770 pg.g_vers = ISCSI_INTERFACE_VERSION;
1771 pg.g_oid = (uint32_t)oid->objectSequenceNumber;
1772 pg.g_param = paramIndex;
1773 pg.g_param_type = ISCSI_SESS_PARAM;
1775 if (ioctl(fd, ISCSI_PARAM_GET, &pg) != 0) {
1790 (pg.g_value.v_valid == B_TRUE) ?
1792 mp->currentValue = pg.g_value.v_integer.i_current;
1793 mp->defaultValue = pg
[all...]
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dobj.c1781 isns_obj_t *pg; local
1801 pg = obj_calloc(OBJ_PG);
1804 if (pg != NULL && pg_name != NULL && pg_addr != NULL) {
1806 attr = &pg->attrs[ATTR_INDEX_PG(ISNS_PG_ISCSI_NAME_ATTR_ID)];
1813 attr = &pg->attrs[ATTR_INDEX_PG(
1819 attr = &pg->attrs[ATTR_INDEX_PG(
1825 attr = &pg->attrs[ATTR_INDEX_PG(
1831 refp = get_ref_p(pg, OBJ_ISCSI);
1834 refp = get_ref_p(pg, OBJ_PORTAL);
1837 (void) set_parent_obj(pg, get_parent_ui
3068 setup_deref_lcp( lookup_ctrl_t *lcp, const isns_obj_t *pg, isns_type_t t ) argument
[all...]
/illumos-gate/usr/src/cmd/svc/configd/
H A Dfile_object.c607 rc_node_t *newnode, *pg; local
634 pg = rc_node_setup_pg(newnode, lp, name, type, flags, gen_id,
636 if (pg == NULL) {
641 rc_node_rele(pg);
899 propertygrp_setup_child_info(rc_node_t *pg, uint32_t type, child_info_t *cip) argument
905 cip->ci_parent = pg;
907 cip->ci_base_nl.rl_backend = pg->rn_id.rl_backend;
908 cip->ci_base_nl.rl_ids[ID_SERVICE] = pg->rn_id.rl_ids[ID_SERVICE];
909 cip->ci_base_nl.rl_ids[ID_INSTANCE] = pg->rn_id.rl_ids[ID_INSTANCE];
910 cip->ci_base_nl.rl_ids[ID_PG] = pg
[all...]
H A Drc_node.c1233 const char *instance, const char *pg)
1244 (pg != NULL)? "/:properties/" : "", (pg != NULL)? pg : "");
2297 general_enable_id(tx_commit_data_t *tx_data, size_t cmd_no, const char *pg, argument
2324 if (strcmp(pg, SCF_PG_GENERAL) == 0) {
2327 } else if (strcmp(pg, SCF_PG_GENERAL_OVR) == 0) {
2541 * If the propname property exists in pg, and it is of type string, add its
2542 * values as authorizations to pcp. pg must not be locked on entry, and it is
2544 * _DELETED - pg wa
1232 rc_notify_deletion(rc_notify_delete_t *ndp, const char *service, const char *instance, const char *pg) argument
2550 perm_add_pg_prop_values(permcheck_t *pcp, rc_node_t *pg, const char *propname) argument
2620 rc_node_t *pg; local
2676 perm_add_enabling_values(permcheck_t *pcp, rc_node_t *pg, const char *propname) argument
4166 rc_node_t *pg = NULL; local
5585 rc_node_t *pg = NULL, *spg = NULL, *svc, *prop; local
6468 rc_node_t *pg; local
6510 rc_node_t *pg; local
6826 tx_allow_value(const void *cmds_arg, size_t cmds_sz, rc_node_t *pg) argument
[all...]
/illumos-gate/usr/src/cmd/svc/startd/
H A Dlibscf.c429 scf_propertygroup_t *pg = scf_pg_create(h); local
436 if (h == NULL || pg == NULL) {
448 if (scf_instance_get_pg_composed(inst, NULL, pgname, pg) ==
461 if (scf_instance_get_pg_composed(inst, NULL, pgname, pg) ==
472 scf_pg_destroy(pg);
507 libscf_read_state(const scf_propertygroup_t *pg, const char *prop_name, argument
515 h = scf_pg_handle(pg);
518 if (scf_pg_get_property(pg, prop_name, prop) == -1) {
547 libscf_read_states(const scf_propertygroup_t *pg, argument
552 state_ret = libscf_read_state(pg, SCF_PROPERTY_STAT
590 depgroup_empty(scf_handle_t *h, scf_propertygroup_t *pg) argument
623 depgroup_read_scheme(scf_handle_t *h, scf_propertygroup_t *pg) argument
651 depgroup_read_grouping(scf_handle_t *h, scf_propertygroup_t *pg) argument
681 depgroup_read_restart(scf_handle_t *h, scf_propertygroup_t *pg) argument
723 get_boolean(scf_propertygroup_t *pg, const char *propname, uint8_t *valuep) argument
816 libscf_get_info_events_all(scf_propertygroup_t *pg) argument
846 get_count(scf_propertygroup_t *pg, const char *propname, uint64_t *valuep) argument
940 get_restarter(scf_handle_t *h, scf_propertygroup_t *pg, char **restarter) argument
1050 scf_propertygroup_t *pg; local
1118 scf_propertygroup_t *pg; local
1247 libscf_inst_get_or_add_pg(scf_instance_t *inst, const char *name, const char *type, uint32_t flags, scf_propertygroup_t *pg) argument
1414 pg_set_prop_value(scf_propertygroup_t *pg, const char *pname, scf_value_t *v) argument
1550 scf_propertygroup_t *pg = NULL; local
1611 scf_propertygroup_t *pg = NULL; local
1701 pg_get_milestone(scf_propertygroup_t *pg, scf_property_t *prop, scf_value_t *val, char *buf, size_t buf_sz) argument
1765 scf_propertygroup_t *pg; local
1903 libscf_clear_runlevel(scf_propertygroup_t *pg, const char *milestone) argument
2074 scf_propertygroup_t *pg = NULL; local
2208 scf_propertygroup_t *pg = NULL; local
2332 scf_propertygroup_t *pg = NULL; local
2466 scf_propertygroup_t *pg; local
2538 scf_propertygroup_t *pg; local
2617 scf_propertygroup_t *pg; local
2862 scf_propertygroup_t *pg = NULL, *pg_startd = NULL; local
3138 libscf_unset_action(scf_handle_t *h, scf_propertygroup_t *pg, admin_action_t a, hrtime_t ts) argument
3408 scf_propertygroup_t *pg; local
3854 scf_propertygroup_t *pg; local
[all...]
H A Dgraph.c1030 case GVT_GROUP: /* pg dependency */
1854 scf_propertygroup_t *pg = safe_scf_pg_create(h); local
1862 if (pg == NULL)
1875 scf_pg_destroy(pg);
1885 r = scf_instance_get_pg(scf_inst, SCF_PG_RESTARTER, pg);
1894 scf_pg_destroy(pg);
1904 r = libscf_read_states(pg, &state, &next_state);
1910 scf_pg_destroy(pg);
1918 scf_pg_destroy(pg);
2318 const char *pg_name; /* Name of dependency pg */
2345 const char *scope, *service, *instance, *pg; local
2532 process_dependency_pg(scf_propertygroup_t *pg, struct deppg_info *info) argument
3149 scf_propertygroup_t *pg; local
4171 dgraph_update_general(scf_propertygroup_t *pg) argument
5204 dgraph_set_runlevel(scf_propertygroup_t *pg, scf_property_t *prop) argument
5896 scf_propertygroup_t *pg; local
6278 process_actions(scf_handle_t *h, scf_propertygroup_t *pg, scf_instance_t *inst) argument
6477 process_pg_event(scf_handle_t *h, scf_propertygroup_t *pg, scf_instance_t *inst, char *pg_name) argument
6821 scf_propertygroup_t *pg; local
[all...]
/illumos-gate/usr/src/lib/storage/liba5k/common/
H A Dmon.c2308 uchar_t *pg; local
2344 if ((pg = (uchar_t *)g_zalloc(size)) == NULL) {
2350 if (status = g_scsi_rec_diag_cmd(fd, pg, size, page_code)) {
2351 (void) g_destroy_data((char *)pg);
2356 bcopy((const void *)pg, (void *)buf, (size_t)new_size);
2358 (void) g_destroy_data(pg);
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Disns_client.c1054 isns_portal_group_t *pg; local
1148 pg = &(combined_pg_list->pg_list[k]);
1150 pg, sizeof (isns_portal_group_t));
2449 isns_portal_group_t *pg; local
2548 pg = &((*pg_list)->pg_list[idx]);
2549 bcopy(&isns_server_addr->a_addr, &pg->isns_server_ip,
2551 pg->isns_server_port = isns_server_addr->a_port;
2560 pg = &((*pg_list)->pg_list[(*pg_list)->pg_out_cnt]);
2573 (char *)pg->pg_iscsi_name,
2580 char *, (char *)pg
[all...]
/illumos-gate/usr/src/lib/libshare/smb/
H A Dlibshare_smb.c1323 scf_propertygroup_t *pg; local
1352 pg = scf_pg_create(handle);
1360 if (service == NULL || iter == NULL || pg == NULL || prop == NULL ||
1392 while (scf_iter_next_pg(iter, pg) > 0) {
1396 * a dependency pg and only do operations on those.
1398 if (scf_pg_get_type(pg, type, SCFTYPE_LEN) <= 0)
1406 if (scf_pg_get_property(pg, SCF_PROPERTY_ENTITIES, prop) != 0)
1427 if (pg != NULL)
1428 scf_pg_destroy(pg);
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Didmap_config.c597 scf_propertygroup_t *pg,
619 if (scf_pg_update(pg) == -1) {
625 if (scf_transaction_start(tx, pg) != 0) {
670 scf_propertygroup_t *pg,
691 if (scf_pg_update(pg) == -1) {
698 if (scf_transaction_start(tx, pg) == -1) {
705 ret = scf_pg_get_property(pg, name, prop);
741 * is not the most recent. Update pg, reset tx and
771 scf_propertygroup_t *pg,
786 rc = set_val(handles, pg, nam
595 del_val( idmap_cfg_handles_t *handles, scf_propertygroup_t *pg, const char *name) argument
668 set_val( idmap_cfg_handles_t *handles, scf_propertygroup_t *pg, const char *name, scf_value_t *value) argument
769 set_val_integer( idmap_cfg_handles_t *handles, scf_propertygroup_t *pg, const char *name, int64_t val) argument
795 set_val_astring( idmap_cfg_handles_t *handles, scf_propertygroup_t *pg, const char *name, const char *val) argument
[all...]
/illumos-gate/usr/src/cmd/man/
H A Dman.c1193 format(char *path, char *dir, char *name, char *pg) argument
1208 dir + 3, pg);
1210 dir + 3, pg);
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_dev.c2700 * |<-- pg -->|
2708 ulong_t pg; local
2730 pg = page_get_pagesize(level);
2731 poff = ((base + offset) & ~(pg - 1));
2734 ((poff + pg) <= (base + dhp->dh_len)) &&
2735 VA_PA_ALIGNED((uintptr_t)uvaddr, poff, pg))
2745 ASSERT(VA_PA_ALIGNED((uintptr_t)uvaddr, poff, pg));
2748 *pagesize = pg;
2751 rlen = len + offset - (poff - base + pg);
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_xml.c696 int pg; local
701 for (pg = 0; pg < pad->tpad_pgcnt; pg++) {
702 e = nvlist_lookup_string(pad->tpad_pgs[pg],
710 e = nvlist_lookup_string(pad->tpad_pgs[pg],
723 e = nvlist_lookup_string(pad->tpad_pgs[pg],
736 e = nvlist_lookup_uint32(pad->tpad_pgs[pg],
756 e = nvlist_lookup_uint32(pad->tpad_pgs[pg],
763 e |= nvlist_lookup_nvlist_array(pad->tpad_pgs[pg],
[all...]
/illumos-gate/usr/src/lib/librestart/common/
H A Dlibrestart.c971 * Sets pg to the name property group of s_inst. If it doesn't exist, it is
984 const char *type, uint32_t flags, scf_propertygroup_t *pg)
987 if (scf_instance_get_pg(inst, name, pg) == 0)
1009 if (scf_instance_add_pg(inst, name, type, flags, pg) == 0)
1044 * ECANCELED - pg was deleted
1136 scf_propertygroup_t *pg = NULL; local
1141 (pg = scf_pg_create(h)) == NULL ||
1209 SCF_PG_RESTARTER_TYPE, SCF_PG_RESTARTER_FLAGS, pg)) {
1230 if (scf_transaction_start(t, pg) != 0) {
1324 if (scf_pg_update(pg)
983 instance_get_or_add_pg(scf_instance_t *inst, const char *name, const char *type, uint32_t flags, scf_propertygroup_t *pg) argument
1375 scf_propertygroup_t *pg = NULL; local
1675 scf_propertygroup_t *pg = NULL; local
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
2684 get_environment(scf_handle_t *h, scf_propertygroup_t *pg, struct method_context *mcp, scf_property_t *prop, scf_value_t *val) argument
2797 scf_propertygroup_t *pg = NULL; local
3892 scf_propertygroup_t *pg; local
3941 scf_propertygroup_t *pg; local
3980 scf_propertygroup_t *pg; local
4026 scf_propertygroup_t *pg; local
4079 scf_propertygroup_t *pg; local
[all...]
/illumos-gate/usr/src/lib/libscf/common/
H A Dscf_tmpl.c38 * are allocated by the callers through scf_tmpl_[pg|prop]_create(), and
39 * destroyed with scf_tmpl_[pg|prop]_destroy(). They are populated by
58 * followed by pg and prop template discovery functions, followed
220 _scf_get_pg_type(scf_propertygroup_t *pg) argument
227 } else if (scf_pg_get_type(pg, buf, sz) == -1) {
304 * Reads a single value from the pg and property name specified. On success,
323 * Property group specified by pg is not set.
327 _read_single_value_from_pg(scf_propertygroup_t *pg, const char *prop_name, argument
335 if ((h = scf_pg_handle(pg)) == NULL) {
348 if (scf_pg_get_property(pg, prop_nam
398 _scf_read_single_astring_from_pg(scf_propertygroup_t *pg, const char *prop_name) argument
489 _read_single_boolean_from_pg(scf_propertygroup_t *pg, const char *prop_name, uint8_t *bool) argument
531 _append_astrings_values(scf_propertygroup_t *pg, const char *prop_name, scf_values_t *vals) argument
682 _read_astrings_values(scf_propertygroup_t *pg, const char *prop_name, scf_values_t *vals) argument
759 _tmpl_pg_name(const char *pg, const char *type, int use_type) argument
813 _scf_get_pg_name(scf_propertygroup_t *pg) argument
990 scf_propertygroup_t *pg = NULL; local
1316 _get_pg(scf_service_t *svc, scf_instance_t *inst, const scf_snapshot_t *snap, const char *name, scf_propertygroup_t *pg) argument
1343 _lookup_pg(scf_service_t *svc, scf_instance_t *inst, const scf_snapshot_t *snap, const char *name, scf_propertygroup_t *pg) argument
1388 check_target_match(scf_propertygroup_t *pg, const char *target) argument
1480 scf_propertygroup_t *pg = NULL; local
1667 scf_propertygroup_t *pg; local
1717 scf_tmpl_get_by_pg(scf_propertygroup_t *pg, scf_pg_tmpl_t *pg_tmpl, int flags) argument
2234 _scf_tmpl_prop_value(scf_propertygroup_t *pg, const char *pname, char **out) argument
2302 scf_propertygroup_t *pg = NULL; local
2598 scf_propertygroup_t *pg = NULL; local
2723 scf_propertygroup_t *pg = NULL; local
2942 _read_localized_astring_from_pg(scf_propertygroup_t *pg, const char *name, const char *locale) argument
3689 _check_choices_include_values(scf_propertygroup_t *pg, const char *name) argument
5083 _add_tmpl_wrong_pg_type_error(scf_tmpl_errors_t *errs, scf_pg_tmpl_t *t, scf_propertygroup_t *pg) argument
5137 _add_tmpl_missing_prop_error(scf_tmpl_errors_t *errs, scf_pg_tmpl_t *t, scf_propertygroup_t *pg, const scf_prop_tmpl_t *pt) argument
5207 _add_tmpl_wrong_prop_type_error(scf_tmpl_errors_t *errs, scf_propertygroup_t *pg, const scf_prop_tmpl_t *pt, scf_property_t *prop) argument
5285 _add_tmpl_count_error(scf_tmpl_errors_t *errs, scf_tmpl_error_type_t type, scf_propertygroup_t *pg, const scf_prop_tmpl_t *pt, scf_property_t *prop, uint64_t count, uint64_t *min, uint64_t *max) argument
5394 _add_tmpl_constraint_error(scf_tmpl_errors_t *errs, scf_tmpl_error_type_t type, scf_propertygroup_t *pg, const scf_prop_tmpl_t *pt, scf_property_t *prop, scf_value_t *val) argument
5485 _add_tmpl_int_error(scf_tmpl_errors_t *errs, scf_tmpl_error_type_t type, scf_propertygroup_t *pg, const scf_prop_tmpl_t *pt, scf_property_t *prop, int64_t val, int64_t *min, int64_t *max) argument
5689 _value_in_constraint(scf_propertygroup_t *pg, scf_property_t *prop, const scf_prop_tmpl_t *pt, scf_value_t *value, scf_tmpl_errors_t *errs) argument
5977 _validate_cardinality(scf_propertygroup_t *pg, scf_prop_tmpl_t *pt, scf_property_t *prop, scf_tmpl_errors_t *errs) argument
6065 _check_property(scf_prop_tmpl_t *pt, scf_propertygroup_t *pg, scf_property_t *prop, scf_tmpl_errors_t *errs) argument
6192 _check_pg(scf_pg_tmpl_t *t, scf_propertygroup_t *pg, char *pg_name, char *type, scf_tmpl_errors_t *errs) argument
6534 scf_propertygroup_t *pg = NULL; local
[all...]
/illumos-gate/usr/src/lib/libsun_ima/common/
H A Dima.c268 iscsi_param_get_t pg; local
280 (void) memset(&pg, 0, sizeof (iscsi_param_get_t));
281 pg.g_vers = ISCSI_INTERFACE_VERSION;
282 pg.g_param = ISCSI_LOGIN_PARAM_INITIATOR_NAME;
284 if (ioctl(fd, ISCSI_PARAM_GET, &pg) == -1) {
287 if (strlen((char *)pg.g_value.v_name) > 0) {
289 (char *)pg.g_value.v_name,
297 (void) memset(&pg, 0, sizeof (iscsi_param_get_t));
298 pg.g_vers = ISCSI_INTERFACE_VERSION;
299 pg
2298 iscsi_param_get_t pg; local
3288 iscsi_tunable_object_t pg; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/routeadm/
H A Drouteadm.c1681 scf_propertygroup_t *pg; local
1705 if (ra_get_pg(h, inst, RA_PG_ROUTING, B_TRUE, B_FALSE, &pg) == -1) {
1722 scf_iter_pg_properties(propiter, pg) != 0) {
1799 scf_pg_destroy(pg);
1882 boolean_t composed, boolean_t required, scf_propertygroup_t **pg)
1885 if ((*pg = scf_pg_create(h)) == NULL || (composed &&
1886 scf_instance_get_pg_composed(inst, NULL, pgname, *pg) != 0) ||
1887 (!composed && scf_instance_get_pg(inst, pgname, *pg) != 0)) {
1945 scf_propertygroup_t *pg = NULL; local
1952 if (ra_get_pg(h, inst, pgname, composed, required, &pg)
1881 ra_get_pg(scf_handle_t *h, scf_instance_t *inst, const char *pgname, boolean_t composed, boolean_t required, scf_propertygroup_t **pg) argument
[all...]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dcmi_hw.c1210 cmi_hdl_ent_t *pg; local
1213 pg = kmem_zalloc(sz, KM_SLEEP);
1216 if (atomic_cas_ptr(&cmi_chip_tab[chipid], NULL, pg) != NULL)
1217 kmem_free(pg, sz); /* someone beats us */
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_xml.c837 pgroup_t *pg; local
848 pg = internal_pgroup_find_or_create(entity, (char *)name, (char *)type);
863 (void) lxml_get_pgroup_stability(pg, cursor);
866 (void) lxml_get_property(pg, cursor);
869 (void) lxml_get_propval(pg, cursor);
878 pg->sc_pgroup_delete = (xmlStrcmp(delete, (xmlChar *)true) == 0);
891 lxml_get_method_profile(pgroup_t *pg, xmlNodePtr profile) argument
897 if (internal_attach_property(pg, p) != 0)
900 return (new_str_prop_from_attr(pg, SCF_PROPERTY_PROFILE,
905 lxml_get_method_credential(pgroup_t *pg, xmlNodePt argument
961 lxml_get_method_environment(pgroup_t *pg, xmlNodePtr environment) argument
1001 lxml_get_method_context(pgroup_t *pg, xmlNodePtr ctx) argument
1049 pgroup_t *pg; local
1060 pgroup_t *pg; local
1151 pgroup_t *pg; local
1256 pgroup_t *pg; local
1373 pgroup_t *pg; local
1395 pgroup_t *pg; local
1666 lxml_get_loctext(entity_t *service, pgroup_t *pg, xmlNodePtr loctext, const char *pn_format, const char *source) argument
1747 lxml_get_all_loctext(entity_t *service, pgroup_t *pg, xmlNodePtr container, const char *pn_format, const char *source) argument
1847 lxml_get_tm_cardinality(entity_t *service, pgroup_t *pg, xmlNodePtr cursor) argument
1911 pgroup_t *pg; local
1933 pgroup_t *pg; local
2050 lxml_get_tm_internal_seps(entity_t *service, pgroup_t *pg, xmlNodePtr seps) argument
2081 pgroup_t *pg; local
2143 pgroup_t *pg; local
2204 lxml_get_prop_pattern_attributes(pgroup_t *pg, xmlNodePtr cursor) argument
2221 lxml_get_tm_include_values(entity_t *service, pgroup_t *pg, xmlNodePtr include_values, const char *prop_name) argument
2331 lxml_get_tm_range(entity_t *service, pgroup_t *pg, xmlNodePtr range, const char *prop_name) argument
2429 lxml_get_tm_value_element(entity_t *service, pgroup_t *pg, xmlNodePtr value, char **name_value) argument
2519 lxml_get_tm_choices(entity_t *service, pgroup_t *pg, xmlNodePtr choices) argument
2579 lxml_get_tm_constraints(entity_t *service, pgroup_t *pg, xmlNodePtr constraints) argument
2638 lxml_get_tm_values(entity_t *service, pgroup_t *pg, xmlNodePtr values) argument
2701 pgroup_t *pg; local
2844 lxml_get_pg_pattern_attributes(pgroup_t *pg, xmlNodePtr cursor) argument
2881 verify_pg_pattern_attributes(entity_t *s, pgroup_t *pg) argument
2964 pgroup_t *pg = NULL; local
3155 pgroup_t *pg; local
3211 pgroup_t *pg; local
3323 pgroup_t *pg; local
3366 scf_propertygroup_t *pg = NULL; local
3411 pgroup_t *pg; local
[all...]
H A Dsvccfg_tmpl.c268 EIT_MISSING_PG, /* Name of missing pg */
298 const char *ei_pg_name; /* Name of missing pg */
299 const char *ei_pg_type; /* Type of missing pg */
497 const char *pi_pgp_name; /* Name of the pg pattern. Only */
587 pgroup_t *pg; local
605 if ((pg = cpg->cpg_instance_pg) != NULL) {
606 assert((pg->sc_pgroup_composed == NULL) ||
607 (pg->sc_pgroup_composed == cpg));
608 pg->sc_pgroup_composed = NULL;
616 * Walk the property group at pg, an
620 grow_props_tree(pgroup_t *pg, uu_avl_t *tree) argument
687 pgroup_t *pg; local
795 pgroup_type(pgroup_t *pg) argument
811 property_find(pgroup_t *pg, const char *name) argument
991 av_get_values(pgroup_t *pg, const char *prop_name, scf_type_t type, avalues_t **values) argument
1033 find_astring_value_in_pg(pgroup_t *pg, const char *prop_name) argument
1095 pgroup_t *pg; 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
1991 next_property(pgroup_t *pg, property_t *current) argument
2101 pgroup_t *pg; local
2255 pgroup_t *pg; local
2778 pgroup_t *pg; local
3143 tmpl_find_pg_pattern(entity_t *e, pgroup_t *pg, pgroup_t **pgp) argument
3282 tmpl_validate_cardinality(pgroup_t *prop_pattern, property_t *prop, pgroup_t *pg, pgroup_t *pg_pattern, tmpl_errors_t *errs) argument
3338 pgroup_t *pg; local
3398 tmpl_required_props_present(entity_t *e, 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
3770 tmpl_validate_pg(entity_t *e, pgroup_t *pg, tmpl_errors_t *errs) argument
3901 pgroup_t *pg; local
[all...]
/illumos-gate/usr/src/cmd/init/
H A Dinit.c3326 scf_propertygroup_t *pg = NULL; local
3353 (pg = scf_pg_create(h)) == NULL ||
3379 if (scf_instance_get_pg(inst, SCF_PG_OPTIONS_OVR, pg) != 0) {
3400 SCF_PG_OPTIONS_OVR_TYPE, SCF_PG_OPTIONS_OVR_FLAGS, pg) !=
3430 if (scf_transaction_start(tx, pg) != 0) {
3497 (void) scf_pg_update(pg);
3504 scf_pg_destroy(pg);
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_dcbx.c51 u8_t pg; member in struct:_pg_entry_help_data_t
703 * The number of priority pg should be derived from the available traffic type
725 pg_help_data->pg_entry_data[i].pg = DCBX_ILLEGAL_PG;
739 if (pg_help_data->pg_entry_data[search_traf_type].pg == add_pg)
755 pg_help_data->pg_entry_data[pg_help_data->num_of_pg].pg = add_pg;
936 // There can be only one strict pg
998 if((DCBX_STRICT_PRI_PG == pg_help_data->pg_entry_data[entry_joined].pg ) ||
999 (DCBX_STRICT_PRI_PG == pg_help_data->pg_entry_data[entry_removed].pg))
1002 pg_help_data->pg_entry_data[entry_joined].pg = DCBX_STRICT_PRI_PG;
1007 pg_joined = DCBX_PG_BW_GET(ets->pg_bw_tbl, pg_help_data->pg_entry_data[entry_joined].pg)
1223 u8_t pg[DCBX_COS_MAX_NUM_E2E3A0] = {0}; local
[all...]
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_ti.c6228 ib_guid_t pg; local
6381 pg = nr_resp->NodeInfo.PortGUID;
6382 if (gid.gid_guid != pg)
6413 pg = nr_resp->NodeInfo.PortGUID;
6416 "PortGID %llX", pg);
6418 if (pg != gid.gid_guid) {
6421 gidp[k].gid_guid = pg;
/illumos-gate/usr/src/cmd/svc/svcs/
H A Dsvcs.c360 pg_get_single_val(scf_propertygroup_t *pg, const char *propname, scf_type_t ty, argument
370 if (scf_pg_get_property(pg, propname, g_prop) == -1) {
621 propvals_to_pids(scf_propertygroup_t *pg, const char *pname, pid_t **pidsp, argument
628 if (scf_pg_get_property(pg, pname, prop) != 0) {
1019 * Only check for non-legacy services (wip->pg == 0).
1021 if (wip->pg != NULL) {
1022 r = pg_get_single_val(wip->pg, scf_property_contract,
1059 * Only check for non-legacy services (wip->pg == 0).
1061 if (wip->pg != NULL) {
1062 r = pg_get_single_val(wip->pg, scf_property_contrac
2213 scf_propertygroup_t *pg; local
2347 print_detailed_dependency(scf_propertygroup_t *pg) argument
2690 scf_propertygroup_t *pg = scf_pg_create(h); local
[all...]

Completed in 181 milliseconds

12345