Lines Matching defs:pg

80 		if (handle->pg != NULL)
81 scf_pg_destroy(handle->pg);
127 handle->pg = scf_pg_create(handle->handle);
132 handle->pg == NULL || handle->instance == NULL)
234 * sa_extract_pgroup(root, handle, pg, nodetype, proto, sectype)
242 scf_propertygroup_t *pg,
267 * in the pg and create option sub nodes.
283 if (scf_iter_pg_properties(iter, pg) == 0) {
350 scf_instance_get_pg(instance, "operation", handle->pg) != 0) {
357 if (scf_pg_get_property(handle->pg, "state", prop) == 0) {
367 if (scf_pg_get_property(handle->pg, "zfs", prop) == 0) {
466 scf_propertygroup_t *pg, char *id)
524 /* Iterate over the share pg properties */
525 if (scf_iter_pg_properties(iter, pg) != 0)
692 * sa_share_props_from_pgroup(root, handle, pg, id, sahandle)
702 scf_propertygroup_t *pg, char *id, sa_handle_t sahandle)
721 * pgroups. If the pg name is more than SA_SHARE_PG_LEN
821 /* iterate over the share pg properties */
822 if (scf_iter_pg_properties(iter, pg) == 0) {
922 while (scf_iter_next_pg(iter, handle->pg) > 0) {
924 ret = scf_pg_get_name(handle->pg, buff,
932 handle->pg, buff);
969 handle->pg, nodetype, proto,
972 err = scf_pg_delete(handle->pg);
997 handle->pg, "security", proto, sectype);
1023 while (scf_iter_next_pg(iter, handle->pg) > 0) {
1028 err = scf_pg_get_name(handle->pg, buff,
1034 handle, handle->pg, buff,
1071 scf_instance_get_pg(instance, "operation", handle->pg) != 0)
1074 if (scf_pg_get_property(handle->pg, "legacy-timestamp", prop) != 0)
1225 * since the pg handle will be set as a side effect.
1227 if (handle->pg == NULL)
1228 handle->pg = scf_pg_create(handle->handle);
1244 pgroup, handle->pg) != 0) {
1248 SCF_GROUP_APPLICATION, persist, handle->pg) != 0) {
1276 if (scf_instance_get_pg(handle->instance, pgroup, handle->pg) == 0) {
1278 if (scf_pg_delete(handle->pg) != 0)
1324 handle->pg) != 0) {