Searched refs:STUBS_PER_PAGE (Results 1 – 2 of 2) sorted by relevance
599 #define STUB_BUF_CPU_OFFS(cpu) (((cpu) & (STUBS_PER_PAGE - 1)) * STUB_BUF_SIZE)606 BUILD_BUG_ON(STUBS_PER_PAGE & (STUBS_PER_PAGE - 1)); in alloc_stub_page()670 for ( i = 0; i < STUBS_PER_PAGE; ++i ) in cpu_smpboot_free()676 if ( i == STUBS_PER_PAGE ) in cpu_smpboot_free()735 for ( stub_page = 0, i = cpu & ~(STUBS_PER_PAGE - 1); in cpu_smpboot_alloc()736 i < nr_cpu_ids && i <= (cpu | (STUBS_PER_PAGE - 1)); ++i ) in cpu_smpboot_alloc()
536 #define STUBS_PER_PAGE (PAGE_SIZE / STUB_BUF_SIZE) macro
Completed in 5 milliseconds