Lines Matching refs:pgt

12797 list_pg_tmpl(scf_pg_tmpl_t *pgt, scf_propertygroup_t *pg, int templates)  in list_pg_tmpl()  argument
12838 if (pgt == NULL) in list_pg_tmpl()
12843 if (scf_tmpl_pg_name(pgt, &buf) != -1) { in list_pg_tmpl()
12852 if (scf_tmpl_pg_type(pgt, &buf) != -1) { in list_pg_tmpl()
12861 if (templates == 2 && scf_tmpl_pg_required(pgt, &required) == 0) in list_pg_tmpl()
12865 if (templates == 2 && scf_tmpl_pg_target(pgt, &buf) > 0) { in list_pg_tmpl()
12871 if (templates == 2 && scf_tmpl_pg_common_name(pgt, NULL, &buf) > 0) { in list_pg_tmpl()
12877 if (scf_tmpl_pg_description(pgt, NULL, &buf) > 0) { in list_pg_tmpl()
13328 scf_pg_tmpl_t *pgt; in listtmpl() local
13338 if ((pgt = scf_tmpl_pg_create(g_hndl)) == NULL || in listtmpl()
13364 while (scf_tmpl_iter_pgs(pgt, fmribuf, snapbuf, NULL, 0) == 1) { in listtmpl()
13366 if (pattern == NULL || (scf_tmpl_pg_name(pgt, &pg_name) > 0 && in listtmpl()
13368 list_pg_tmpl(pgt, NULL, templates); in listtmpl()
13374 while (scf_tmpl_iter_props(pgt, prt, 0) == 0) { in listtmpl()
13404 scf_tmpl_pg_destroy(pgt); in listtmpl()
13417 scf_pg_tmpl_t *pgt, *pgtp; in listprop() local
13439 (pgt = scf_tmpl_pg_create(g_hndl)) == NULL) in listprop()
13486 if (scf_tmpl_get_by_pg(pg, pgt, 0) == -1) { in listprop()
13491 pgtp = pgt; in listprop()
13514 tmpls[i] = pgt; in listprop()
13530 pgt = scf_tmpl_pg_create(g_hndl); in listprop()
13531 if (pgt == NULL) in listprop()
13577 if (scf_tmpl_get_by_prop(pgt, prnbuf, in listprop()
13606 pgt = scf_tmpl_pg_create(g_hndl); in listprop()
13607 if (pgt == NULL) in listprop()
13618 scf_tmpl_pg_destroy(pgt); in listprop()
13626 pgt = (scf_pg_tmpl_t *)tmpls[i]; in listprop()
13628 list_pg_tmpl(pgt, pg, templates); in listprop()
13631 if (pgt != NULL) in listprop()
13632 scf_tmpl_pg_destroy(pgt); in listprop()
13814 scf_pg_tmpl_t *pgt; in lscf_setprop() local
13833 (pgt = scf_tmpl_pg_create(g_hndl)) == NULL || in lscf_setprop()
13926 } else if (scf_tmpl_get_by_pg(pg, pgt, in lscf_setprop()
13928 scf_tmpl_get_by_prop(pgt, propname, prt, in lscf_setprop()
14014 scf_tmpl_pg_destroy(pgt); in lscf_setprop()