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