Lines Matching refs:thispg
360 scf_simple_pg *thispg, scf_property_t *prop, size_t namelen, in insert_app_props() argument
375 thisprop = thispg->pg_proplist; in insert_app_props()
376 prevprop = thispg->pg_proplist; in insert_app_props()
386 if (thisprop == thispg->pg_proplist) in insert_app_props()
387 thispg->pg_proplist = newprop; in insert_app_props()
391 newprop->pr_pg = thispg; in insert_app_props()
396 if (thisprop != thispg->pg_proplist) in insert_app_props()
407 if (thispg->pg_proplist == NULL) in insert_app_props()
408 thispg->pg_proplist = newprop; in insert_app_props()
412 newprop->pr_pg = thispg; in insert_app_props()
1793 struct scf_simple_pg *thispg = NULL, *nextpg; in scf_simple_app_props_get() local
1860 (thispg = malloc(sizeof (*thispg))) == NULL || in scf_simple_app_props_get()
1863 free(thispg); in scf_simple_app_props_get()
1871 thispg->pg_name = NULL; in scf_simple_app_props_get()
1872 thispg->pg_proplist = NULL; in scf_simple_app_props_get()
1873 thispg->pg_next = NULL; in scf_simple_app_props_get()
1874 ret->ap_pglist = thispg; in scf_simple_app_props_get()
1884 if (thispg->pg_name != NULL) { in scf_simple_app_props_get()
1892 thispg->pg_next = nextpg; in scf_simple_app_props_get()
1893 thispg = nextpg; in scf_simple_app_props_get()
1896 nextpg = thispg; in scf_simple_app_props_get()
1979 thispg = ret->ap_pglist; in scf_simple_app_props_get()
1994 while ((thispg != NULL) && (thispg->pg_name != NULL)) { in scf_simple_app_props_get()
1995 if (strcmp(thispg->pg_name, pgname) == 0) { in scf_simple_app_props_get()
1999 if (thispg->pg_next == NULL) in scf_simple_app_props_get()
2002 thispg = thispg->pg_next; in scf_simple_app_props_get()
2020 thispg, prop, namelen, h) == -1) in scf_simple_app_props_get()
2044 if (thispg->pg_name == NULL) { in scf_simple_app_props_get()
2045 free(thispg); in scf_simple_app_props_get()
2048 thispg->pg_next = nextpg; in scf_simple_app_props_get()