Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/m68k/atari/
Dstram.c139 #define SWAP_NR(addr) (((addr) - swap_start) >> PAGE_SHIFT)
142 #define SWAP_ADDR(nr) (swap_start + ((nr) << PAGE_SHIFT))
196 static void *swap_start, *swap_end; variable
316 swap_start = !kernel_in_stram ? stram_start + PAGE_SIZE : start_mem; in atari_stram_reserve_pages()
320 swap_start -= PAGE_SIZE; in atari_stram_reserve_pages()
322 if (swap_end-swap_start > max_swap_size) in atari_stram_reserve_pages()
323 swap_end = swap_start + max_swap_size; in atari_stram_reserve_pages()
325 "swap=%p-%p\n", swap_start, swap_end); in atari_stram_reserve_pages()
334 if (swap_start + PAGE_SIZE == swap_data) in atari_stram_reserve_pages()
335 swap_start = start_mem - PAGE_SIZE; in atari_stram_reserve_pages()
[all …]