Back to home page

LXR

 
 

    


0001 #include <linux/mm_types.h>
0002 #include <linux/tracepoint.h>
0003 
0004 #define CREATE_TRACE_POINTS
0005 #include <trace/events/page_ref.h>
0006 
0007 void __page_ref_set(struct page *page, int v)
0008 {
0009     trace_page_ref_set(page, v);
0010 }
0011 EXPORT_SYMBOL(__page_ref_set);
0012 EXPORT_TRACEPOINT_SYMBOL(page_ref_set);
0013 
0014 void __page_ref_mod(struct page *page, int v)
0015 {
0016     trace_page_ref_mod(page, v);
0017 }
0018 EXPORT_SYMBOL(__page_ref_mod);
0019 EXPORT_TRACEPOINT_SYMBOL(page_ref_mod);
0020 
0021 void __page_ref_mod_and_test(struct page *page, int v, int ret)
0022 {
0023     trace_page_ref_mod_and_test(page, v, ret);
0024 }
0025 EXPORT_SYMBOL(__page_ref_mod_and_test);
0026 EXPORT_TRACEPOINT_SYMBOL(page_ref_mod_and_test);
0027 
0028 void __page_ref_mod_and_return(struct page *page, int v, int ret)
0029 {
0030     trace_page_ref_mod_and_return(page, v, ret);
0031 }
0032 EXPORT_SYMBOL(__page_ref_mod_and_return);
0033 EXPORT_TRACEPOINT_SYMBOL(page_ref_mod_and_return);
0034 
0035 void __page_ref_mod_unless(struct page *page, int v, int u)
0036 {
0037     trace_page_ref_mod_unless(page, v, u);
0038 }
0039 EXPORT_SYMBOL(__page_ref_mod_unless);
0040 EXPORT_TRACEPOINT_SYMBOL(page_ref_mod_unless);
0041 
0042 void __page_ref_freeze(struct page *page, int v, int ret)
0043 {
0044     trace_page_ref_freeze(page, v, ret);
0045 }
0046 EXPORT_SYMBOL(__page_ref_freeze);
0047 EXPORT_TRACEPOINT_SYMBOL(page_ref_freeze);
0048 
0049 void __page_ref_unfreeze(struct page *page, int v)
0050 {
0051     trace_page_ref_unfreeze(page, v);
0052 }
0053 EXPORT_SYMBOL(__page_ref_unfreeze);
0054 EXPORT_TRACEPOINT_SYMBOL(page_ref_unfreeze);