Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Dswap_cgroup.c20 #define SC_PER_PAGE (PAGE_SIZE/sizeof(struct swap_cgroup)) macro
71 mappage = ctrl->map[offset / SC_PER_PAGE]; in __lookup_swap_cgroup()
73 return sc + offset % SC_PER_PAGE; in __lookup_swap_cgroup()
146 if (offset % SC_PER_PAGE) in swap_cgroup_record()
176 length = DIV_ROUND_UP(max_pages, SC_PER_PAGE); in swap_cgroup_swapon()