Searched refs:tage (Results 1 – 3 of 3) sorted by relevance
71 struct cfs_trace_page *tage; in cfs_tage_alloc() local86 tage = kmalloc(sizeof(*tage), gfp); in cfs_tage_alloc()87 if (tage == NULL) { in cfs_tage_alloc()92 tage->page = page; in cfs_tage_alloc()94 return tage; in cfs_tage_alloc()97 static void cfs_tage_free(struct cfs_trace_page *tage) in cfs_tage_free() argument99 __LASSERT(tage != NULL); in cfs_tage_free()100 __LASSERT(tage->page != NULL); in cfs_tage_free()102 __free_page(tage->page); in cfs_tage_free()103 kfree(tage); in cfs_tage_free()[all …]
311 struct cfs_trace_page *tage);326 #define __LASSERT_TAGE_INVARIANT(tage) \ argument328 __LASSERT(tage != NULL); \329 __LASSERT(tage->page != NULL); \330 __LASSERT(tage->used <= PAGE_CACHE_SIZE); \331 __LASSERT(page_count(tage->page) > 0); \
180 struct cfs_trace_page *tage) in cfs_tcd_owns_tage() argument186 return tcd->tcd_cpu == tage->cpu; in cfs_tcd_owns_tage()