/illumos-gate/usr/src/lib/libscf/common/ |
H A D | highlevel.c | 116 const char *pgtype, uint32_t pgflags, int add) in scf_fmri_pg_get_or_add() argument 131 rc = scf_instance_add_pg(inst, pgname, pgtype, pgflags, NULL); in scf_fmri_pg_get_or_add()
|
H A D | lowlevel.c | 2442 const char *pgtype, boolean_t composed) in datael_setup_iter_pgtyped() argument 2454 if (pgtype == NULL || strlcpy(request.rpr_pattern, pgtype, in datael_setup_iter_pgtyped()
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | rc_node.c | 1451 perm_auth_for_pgtype(const char *pgtype) in perm_auth_for_pgtype() argument 1453 if (strcmp(pgtype, SCF_GROUP_METHOD) == 0) in perm_auth_for_pgtype() 1455 else if (strcmp(pgtype, SCF_GROUP_DEPENDENCY) == 0) in perm_auth_for_pgtype() 1457 else if (strcmp(pgtype, SCF_GROUP_APPLICATION) == 0) in perm_auth_for_pgtype() 1459 else if (strcmp(pgtype, SCF_GROUP_FRAMEWORK) == 0) in perm_auth_for_pgtype() 2607 const char *pgtype, const char *propname) in perm_add_ent_prop_values() argument 2634 if (pgtype == NULL || strcmp(pg->rn_type, pgtype) == 0) { in perm_add_ent_prop_values() 3991 const char *pgtype, uint32_t flags, rc_node_ptr_t *cpp) in rc_node_create_child_pg() argument 4005 audit_data.ed_type = (char *)pgtype; in rc_node_create_child_pg() 4026 (rc = rc_check_pgtype_name(pgtype)) != REP_PROTOCOL_SUCCESS) { in rc_node_create_child_pg() [all …]
|
H A D | file_object.c | 1341 const char *name, const char *pgtype, uint32_t flags, uint32_t gen) in generic_insert_pg_child() argument 1349 lp->rl_main_id, name, parent_id, pgtype, flags, gen)); in generic_insert_pg_child() 1636 const char *pgtype, uint32_t flags, rc_node_t **cpp) in object_create_pg() argument 1735 if ((rc = (*ip->obj_insert_pg_child)(tx_wr, lp, name, pgtype, flags, in object_create_pg() 1747 *cpp = rc_node_setup_pg(np, lp, name, pgtype, flags, gen, ci.ci_parent); in object_create_pg()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/routeadm/ |
H A D | routeadm.c | 2080 char *pgtype = NULL, **ovalues; in ra_set_prop_from_string() local 2118 if ((pgtype = malloc(typelen)) == NULL) { in ra_set_prop_from_string() 2123 (void) scf_pg_get_type(cpg, pgtype, typelen); in ra_set_prop_from_string() 2125 scf_instance_add_pg(inst, pgname, pgtype, 0, instpg) in ra_set_prop_from_string() 2213 if (pgtype != NULL) in ra_set_prop_from_string() 2214 free(pgtype); in ra_set_prop_from_string()
|
/illumos-gate/usr/src/cmd/svc/svcadm/ |
H A D | svcadm.c | 457 const char *pgtype, uint32_t pgflags, scf_propertygroup_t *pg) in pg_get_or_add() argument 466 if (scf_instance_add_pg(inst, pgname, pgtype, pgflags, pg) == 0) in pg_get_or_add() 1703 set_astring_prop(const char *fmri, const char *pgname, const char *pgtype, in set_astring_prop() argument 1732 if (scf_instance_add_pg(inst, pgname, pgtype, pgflags, pg) != in set_astring_prop()
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | libscf.c | 1548 const char *pgtype, uint32_t pgflags, const char *pname, int val) in libscf_inst_set_boolean_prop() argument 1559 ret = libscf_inst_get_or_add_pg(inst, pgname, pgtype, pgflags, pg); in libscf_inst_set_boolean_prop() 1609 const char *pgtype, uint32_t pgflags, const char *pname, uint64_t count) in libscf_inst_set_count_prop() argument 1620 ret = libscf_inst_get_or_add_pg(inst, pgname, pgtype, pgflags, pg); in libscf_inst_set_count_prop()
|
H A D | startd.h | 643 const char *pgtype, uint32_t, const char *, uint64_t);
|
/illumos-gate/usr/src/lib/librestart/common/ |
H A D | librestart.c | 4045 const char *pgtype, uint32_t pgflags, const char *pname, const char *str) in restarter_inst_set_astring_prop() argument 4063 if (instance_get_or_add_pg(inst, pgname, pgtype, pgflags, pg)) in restarter_inst_set_astring_prop()
|