Lines Matching refs:pgt
12834 list_pg_tmpl(scf_pg_tmpl_t *pgt, scf_propertygroup_t *pg, int templates) in list_pg_tmpl() argument
12875 if (pgt == NULL) in list_pg_tmpl()
12880 if (scf_tmpl_pg_name(pgt, &buf) != -1) { in list_pg_tmpl()
12889 if (scf_tmpl_pg_type(pgt, &buf) != -1) { in list_pg_tmpl()
12898 if (templates == 2 && scf_tmpl_pg_required(pgt, &required) == 0) in list_pg_tmpl()
12902 if (templates == 2 && scf_tmpl_pg_target(pgt, &buf) > 0) { in list_pg_tmpl()
12908 if (templates == 2 && scf_tmpl_pg_common_name(pgt, NULL, &buf) > 0) { in list_pg_tmpl()
12914 if (scf_tmpl_pg_description(pgt, NULL, &buf) > 0) { in list_pg_tmpl()
13365 scf_pg_tmpl_t *pgt; in listtmpl() local
13375 if ((pgt = scf_tmpl_pg_create(g_hndl)) == NULL || in listtmpl()
13401 while (scf_tmpl_iter_pgs(pgt, fmribuf, snapbuf, NULL, 0) == 1) { in listtmpl()
13403 if (pattern == NULL || (scf_tmpl_pg_name(pgt, &pg_name) > 0 && in listtmpl()
13405 list_pg_tmpl(pgt, NULL, templates); in listtmpl()
13411 while (scf_tmpl_iter_props(pgt, prt, 0) == 0) { in listtmpl()
13441 scf_tmpl_pg_destroy(pgt); in listtmpl()
13454 scf_pg_tmpl_t *pgt, *pgtp; in listprop() local
13476 (pgt = scf_tmpl_pg_create(g_hndl)) == NULL) in listprop()
13523 if (scf_tmpl_get_by_pg(pg, pgt, 0) == -1) { in listprop()
13528 pgtp = pgt; in listprop()
13551 tmpls[i] = pgt; in listprop()
13567 pgt = scf_tmpl_pg_create(g_hndl); in listprop()
13568 if (pgt == NULL) in listprop()
13614 if (scf_tmpl_get_by_prop(pgt, prnbuf, in listprop()
13643 pgt = scf_tmpl_pg_create(g_hndl); in listprop()
13644 if (pgt == NULL) in listprop()
13655 scf_tmpl_pg_destroy(pgt); in listprop()
13663 pgt = (scf_pg_tmpl_t *)tmpls[i]; in listprop()
13665 list_pg_tmpl(pgt, pg, templates); in listprop()
13668 if (pgt != NULL) in listprop()
13669 scf_tmpl_pg_destroy(pgt); in listprop()
13851 scf_pg_tmpl_t *pgt; in lscf_setprop() local
13870 (pgt = scf_tmpl_pg_create(g_hndl)) == NULL || in lscf_setprop()
13963 } else if (scf_tmpl_get_by_pg(pg, pgt, in lscf_setprop()
13965 scf_tmpl_get_by_prop(pgt, propname, prt, in lscf_setprop()
14051 scf_tmpl_pg_destroy(pgt); in lscf_setprop()