Version:  2.0.40 2.2.26 2.4.37 3.13 3.14 3.15 3.16 3.17 3.18 3.19 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 4.10

Linux/mm/debug_page_ref.c

  1 #include <linux/mm_types.h>
  2 #include <linux/tracepoint.h>
  3 
  4 #define CREATE_TRACE_POINTS
  5 #include <trace/events/page_ref.h>
  6 
  7 void __page_ref_set(struct page *page, int v)
  8 {
  9         trace_page_ref_set(page, v);
 10 }
 11 EXPORT_SYMBOL(__page_ref_set);
 12 EXPORT_TRACEPOINT_SYMBOL(page_ref_set);
 13 
 14 void __page_ref_mod(struct page *page, int v)
 15 {
 16         trace_page_ref_mod(page, v);
 17 }
 18 EXPORT_SYMBOL(__page_ref_mod);
 19 EXPORT_TRACEPOINT_SYMBOL(page_ref_mod);
 20 
 21 void __page_ref_mod_and_test(struct page *page, int v, int ret)
 22 {
 23         trace_page_ref_mod_and_test(page, v, ret);
 24 }
 25 EXPORT_SYMBOL(__page_ref_mod_and_test);
 26 EXPORT_TRACEPOINT_SYMBOL(page_ref_mod_and_test);
 27 
 28 void __page_ref_mod_and_return(struct page *page, int v, int ret)
 29 {
 30         trace_page_ref_mod_and_return(page, v, ret);
 31 }
 32 EXPORT_SYMBOL(__page_ref_mod_and_return);
 33 EXPORT_TRACEPOINT_SYMBOL(page_ref_mod_and_return);
 34 
 35 void __page_ref_mod_unless(struct page *page, int v, int u)
 36 {
 37         trace_page_ref_mod_unless(page, v, u);
 38 }
 39 EXPORT_SYMBOL(__page_ref_mod_unless);
 40 EXPORT_TRACEPOINT_SYMBOL(page_ref_mod_unless);
 41 
 42 void __page_ref_freeze(struct page *page, int v, int ret)
 43 {
 44         trace_page_ref_freeze(page, v, ret);
 45 }
 46 EXPORT_SYMBOL(__page_ref_freeze);
 47 EXPORT_TRACEPOINT_SYMBOL(page_ref_freeze);
 48 
 49 void __page_ref_unfreeze(struct page *page, int v)
 50 {
 51         trace_page_ref_unfreeze(page, v);
 52 }
 53 EXPORT_SYMBOL(__page_ref_unfreeze);
 54 EXPORT_TRACEPOINT_SYMBOL(page_ref_unfreeze);
 55 

This page was automatically generated by LXR 0.3.1 (source).  •  Linux is a registered trademark of Linus Torvalds  •  Contact us