Home
last modified time | relevance | path

Searched refs:tage (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
Dtracefile.c72 struct cfs_trace_page *tage; in cfs_tage_alloc() local
87 tage = kmalloc(sizeof(*tage), gfp); in cfs_tage_alloc()
88 if (tage == NULL) { in cfs_tage_alloc()
93 tage->page = page; in cfs_tage_alloc()
95 return tage; in cfs_tage_alloc()
98 static void cfs_tage_free(struct cfs_trace_page *tage) in cfs_tage_free() argument
100 __LASSERT(tage != NULL); in cfs_tage_free()
101 __LASSERT(tage->page != NULL); in cfs_tage_free()
103 __free_page(tage->page); in cfs_tage_free()
104 kfree(tage); in cfs_tage_free()
[all …]
Dtracefile.h315 struct cfs_trace_page *tage);
330 #define __LASSERT_TAGE_INVARIANT(tage) \ argument
332 __LASSERT(tage != NULL); \
333 __LASSERT(tage->page != NULL); \
334 __LASSERT(tage->used <= PAGE_CACHE_SIZE); \
335 __LASSERT(page_count(tage->page) > 0); \
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-tracefile.c183 struct cfs_trace_page *tage) in cfs_tcd_owns_tage() argument
189 return tcd->tcd_cpu == tage->cpu; in cfs_tcd_owns_tage()