Searched refs:fail_page_alloc (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/tools/testing/fault-injection/
H A Dfailcmd.sh50 fail_page_alloc options:
59 fail_page_alloc
92 elif [ $FAILCMD_TYPE = fail_page_alloc ]; then
/linux-4.1.27/mm/
H A Dpage_alloc.c1804 } fail_page_alloc = { variable in typeref:struct:__anon14061
1813 return setup_fault_attr(&fail_page_alloc.attr, str); setup_fail_page_alloc()
1815 __setup("fail_page_alloc=", setup_fail_page_alloc);
1819 if (order < fail_page_alloc.min_order) should_fail_alloc_page()
1823 if (fail_page_alloc.ignore_gfp_highmem && (gfp_mask & __GFP_HIGHMEM)) should_fail_alloc_page()
1825 if (fail_page_alloc.ignore_gfp_wait && (gfp_mask & __GFP_WAIT)) should_fail_alloc_page()
1828 return should_fail(&fail_page_alloc.attr, 1 << order); should_fail_alloc_page()
1838 dir = fault_create_debugfs_attr("fail_page_alloc", NULL, fail_page_alloc_debugfs()
1839 &fail_page_alloc.attr); fail_page_alloc_debugfs()
1844 &fail_page_alloc.ignore_gfp_wait)) fail_page_alloc_debugfs()
1847 &fail_page_alloc.ignore_gfp_highmem)) fail_page_alloc_debugfs()
1850 &fail_page_alloc.min_order)) fail_page_alloc_debugfs()

Completed in 132 milliseconds