Lines Matching refs:pmem_lpg_t
96 } pmem_lpg_t;
104 static pmem_lpg_t *pmem_occ_lpgs;
112 static int lpg_isfree(pmem_lpg_t *);
113 static void pmem_lpg_sub(pmem_lpg_t **, pmem_lpg_t *);
114 static void pmem_lpg_concat(pmem_lpg_t **, pmem_lpg_t **);
115 static pmem_lpg_t *pmem_lpg_get(pmem_lpg_t *, page_t *, pmem_lpg_t **);
116 static pmem_lpg_t *pmem_lpg_alloc(uint_t);
117 static void pmem_lpg_free(pmem_lpg_t **, pmem_lpg_t *);
121 static void lpp_break(page_t **, pgcnt_t, pgcnt_t, pmem_lpg_t *);
122 static void lpp_free(page_t *, pgcnt_t, pmem_lpg_t **);
123 static int lpp_create(page_t **, pgcnt_t, pgcnt_t *, pmem_lpg_t **,
291 pmem_lpg_t *plp = NULL;
425 pmem_lpg_t *pl1, *plp;
426 pmem_lpg_t *pf_lpgs = NULL;
428 pmem_lpg_t *last_pl = NULL;
429 pmem_lpg_t *plast_pl = NULL;
568 lpg_isfree(pmem_lpg_t *plp)
584 static pmem_lpg_t *
585 pmem_lpg_get(pmem_lpg_t *splp, page_t *pp, pmem_lpg_t **last)
587 pmem_lpg_t *plp;
619 pmem_lpg_sub(pmem_lpg_t **oplpp, pmem_lpg_t *plp)
637 pmem_lpg_concat(pmem_lpg_t **plpp, pmem_lpg_t **nplpp)
639 pmem_lpg_t *s1p, *s2p, *e1p, *e2p;
662 static pmem_lpg_t *
665 pmem_lpg_t *plp;
668 plp = kmem_zalloc(sizeof (pmem_lpg_t), kflags);
682 pmem_lpg_free(pmem_lpg_t **headp, pmem_lpg_t *plp)
685 *headp = plp->pl_next; /* go to next pmem_lpg_t */
752 lpp_create(page_t **lppp, pgcnt_t n, pgcnt_t *lpages, pmem_lpg_t **plpp,
756 pmem_lpg_t *plp;
782 lpp_break(page_t **lppp, pgcnt_t n, pgcnt_t r, pmem_lpg_t *oplp)
786 pmem_lpg_t *plp;
812 lpp_free(page_t *lpp, pgcnt_t lpgs, pmem_lpg_t **plpp)
816 pmem_lpg_t *plp1, *plp2;
848 pmem_lpg_t *plp, *last_pl = NULL;
873 pmem_lpg_t *plp, *last_pl = NULL;