/titanic_41/usr/src/lib/libscf/common/ |
H A D | highlevel.c | 114 const char *pgtype, uint32_t pgflags, int add) in scf_fmri_pg_get_or_add() argument 129 rc = scf_instance_add_pg(inst, pgname, pgtype, pgflags, NULL); in scf_fmri_pg_get_or_add()
|
H A D | lowlevel.c | 2382 const char *pgtype, boolean_t composed) in datael_setup_iter_pgtyped() argument 2394 if (pgtype == NULL || strlcpy(request.rpr_pattern, pgtype, in datael_setup_iter_pgtyped()
|
/titanic_41/usr/src/cmd/svc/configd/ |
H A D | rc_node.c | 1461 perm_auth_for_pgtype(const char *pgtype) in perm_auth_for_pgtype() argument 1463 if (strcmp(pgtype, SCF_GROUP_METHOD) == 0) in perm_auth_for_pgtype() 1465 else if (strcmp(pgtype, SCF_GROUP_DEPENDENCY) == 0) in perm_auth_for_pgtype() 1467 else if (strcmp(pgtype, SCF_GROUP_APPLICATION) == 0) in perm_auth_for_pgtype() 1469 else if (strcmp(pgtype, SCF_GROUP_FRAMEWORK) == 0) in perm_auth_for_pgtype() 2617 const char *pgtype, const char *propname) in perm_add_ent_prop_values() argument 2644 if (pgtype == NULL || strcmp(pg->rn_type, pgtype) == 0) { in perm_add_ent_prop_values() 3997 const char *pgtype, uint32_t flags, rc_node_ptr_t *cpp) in rc_node_create_child_pg() argument 4011 audit_data.ed_type = (char *)pgtype; in rc_node_create_child_pg() 4032 (rc = rc_check_pgtype_name(pgtype)) != REP_PROTOCOL_SUCCESS) { in rc_node_create_child_pg() [all …]
|
H A D | file_object.c | 1342 const char *name, const char *pgtype, uint32_t flags, uint32_t gen) in generic_insert_pg_child() argument 1350 lp->rl_main_id, name, parent_id, pgtype, flags, gen)); in generic_insert_pg_child() 1637 const char *pgtype, uint32_t flags, rc_node_t **cpp) in object_create_pg() argument 1736 if ((rc = (*ip->obj_insert_pg_child)(tx_wr, lp, name, pgtype, flags, in object_create_pg() 1748 *cpp = rc_node_setup_pg(np, lp, name, pgtype, flags, gen, ci.ci_parent); in object_create_pg()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/routeadm/ |
H A D | routeadm.c | 2082 char *pgtype = NULL, **ovalues; in ra_set_prop_from_string() local 2120 if ((pgtype = malloc(typelen)) == NULL) { in ra_set_prop_from_string() 2125 (void) scf_pg_get_type(cpg, pgtype, typelen); in ra_set_prop_from_string() 2127 scf_instance_add_pg(inst, pgname, pgtype, 0, instpg) in ra_set_prop_from_string() 2215 if (pgtype != NULL) in ra_set_prop_from_string() 2216 free(pgtype); in ra_set_prop_from_string()
|
/titanic_41/usr/src/cmd/svc/svcadm/ |
H A D | svcadm.c | 440 const char *pgtype, uint32_t pgflags, scf_propertygroup_t *pg) in pg_get_or_add() argument 449 if (scf_instance_add_pg(inst, pgname, pgtype, pgflags, pg) == 0) in pg_get_or_add() 1561 set_astring_prop(const char *fmri, const char *pgname, const char *pgtype, in set_astring_prop() argument 1590 if (scf_instance_add_pg(inst, pgname, pgtype, pgflags, pg) != in set_astring_prop()
|
/titanic_41/usr/src/cmd/svc/startd/ |
H A D | startd.h | 645 const char *pgtype, uint32_t, const char *, uint64_t);
|
H A D | libscf.c | 1547 const char *pgtype, uint32_t pgflags, const char *pname, int val) in libscf_inst_set_boolean_prop() argument 1558 ret = libscf_inst_get_or_add_pg(inst, pgname, pgtype, pgflags, pg); in libscf_inst_set_boolean_prop() 1608 const char *pgtype, uint32_t pgflags, const char *pname, uint64_t count) in libscf_inst_set_count_prop() argument 1619 ret = libscf_inst_get_or_add_pg(inst, pgname, pgtype, pgflags, pg); in libscf_inst_set_count_prop()
|
/titanic_41/usr/src/lib/librestart/common/ |
H A D | librestart.c | 3911 const char *pgtype, uint32_t pgflags, const char *pname, const char *str) in restarter_inst_set_astring_prop() argument 3929 if (instance_get_or_add_pg(inst, pgname, pgtype, pgflags, pg)) in restarter_inst_set_astring_prop()
|