Searched refs:swap_map (Results 1 – 4 of 4) sorted by relevance
50 if (si->swap_map[offset]) in scan_swap_map()65 if (si->swap_map[nr]) in scan_swap_map()77 if (si->swap_map[offset]) in scan_swap_map()89 si->swap_map[offset] = 1; in scan_swap_map()163 if (!p->swap_map[offset]) in swap_info_get()194 int count = p->swap_map[offset]; in swap_entry_free()198 p->swap_map[offset] = count; in swap_entry_free()239 if (p->swap_map[SWP_OFFSET(entry)] == 1) { in exclusive_swap_page()307 if (p->swap_map[SWP_OFFSET(entry)] == 1) { in remove_exclusive_swap_page()501 count = si->swap_map[i]; in find_next_to_unuse()[all …]
544 p->swap_map = swap_data; in swap_init()566 p->swap_map[i] = SWAP_MAP_BAD; in swap_init()570 p->swap_map[i] = SWAP_MAP_BAD; in swap_init()573 p->swap_map[i] = 0; in swap_init()580 p->swap_map[0] = SWAP_MAP_BAD; in swap_init()804 unsigned short *map = stram_swap_info->swap_map; in get_stram_region()843 unsigned short *map = stram_swap_info->swap_map; in free_stram_region()897 unsigned short *map = stram_swap_info->swap_map; in find_free_region()1199 unsigned short *map = stram_swap_info->swap_map; in get_stram_list()
70 unsigned short * swap_map; member
88 counts on the corresponding swaphandles, maintained in the "swap_map"