Home
last modified time | relevance | path

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

/drivers/staging/lustre/lustre/libcfs/
Dtracefile.c71 struct cfs_trace_page *tage; in cfs_tage_alloc() local
86 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() argument
99 __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 …]
Dtracefile.h311 struct cfs_trace_page *tage);
326 #define __LASSERT_TAGE_INVARIANT(tage) \ argument
328 __LASSERT(tage != NULL); \
329 __LASSERT(tage->page != NULL); \
330 __LASSERT(tage->used <= PAGE_CACHE_SIZE); \
331 __LASSERT(page_count(tage->page) > 0); \
/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-tracefile.c180 struct cfs_trace_page *tage) in cfs_tcd_owns_tage() argument
186 return tcd->tcd_cpu == tage->cpu; in cfs_tcd_owns_tage()