Lines Matching refs:nextpg
1793 struct scf_simple_pg *thispg = NULL, *nextpg; in scf_simple_app_props_get() local
1885 if ((nextpg = malloc(sizeof (*nextpg))) == NULL) { in scf_simple_app_props_get()
1889 nextpg->pg_name = NULL; in scf_simple_app_props_get()
1890 nextpg->pg_next = NULL; in scf_simple_app_props_get()
1891 nextpg->pg_proplist = 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()
1899 if ((nextpg->pg_name = malloc(namelen)) == NULL) { in scf_simple_app_props_get()
1904 if (scf_pg_get_name(pg, nextpg->pg_name, namelen) < 0) { in scf_simple_app_props_get()
1931 nextpg->pg_name, propname, h)) == NULL) in scf_simple_app_props_get()
1938 nextpg->pg_name, propname, h)) == NULL) in scf_simple_app_props_get()
1940 nextpg->pg_proplist = thisprop; in scf_simple_app_props_get()
1943 nextprop->pr_pg = nextpg; in scf_simple_app_props_get()
2030 if ((nextpg = malloc(sizeof (*nextpg))) == NULL) { in scf_simple_app_props_get()
2034 nextpg->pg_next = NULL; in scf_simple_app_props_get()
2035 nextpg->pg_proplist = NULL; in scf_simple_app_props_get()
2038 if ((nextpg->pg_name = strdup(pgname)) == NULL) { in scf_simple_app_props_get()
2040 free(nextpg); in scf_simple_app_props_get()
2046 ret->ap_pglist = nextpg; in scf_simple_app_props_get()
2048 thispg->pg_next = nextpg; in scf_simple_app_props_get()
2073 nextpg->pg_proplist = thisprop; in scf_simple_app_props_get()
2076 nextprop->pr_pg = nextpg; in scf_simple_app_props_get()