Searched refs:seg (Results 1 – 2 of 2) sorted by relevance
171 int seg; in get_kernel_pages() local173 for (seg = 0; seg < nr_segs; seg++) { in get_kernel_pages()174 if (WARN_ON(kiov[seg].iov_len != PAGE_SIZE)) in get_kernel_pages()175 return seg; in get_kernel_pages()177 pages[seg] = kmap_to_page(kiov[seg].iov_base); in get_kernel_pages()178 get_page(pages[seg]); in get_kernel_pages()181 return seg; in get_kernel_pages()
4952 int seg = lru_gen_memcg_seg(lruvec); in shrink_one() local4958 return seg != MEMCG_LRU_TAIL ? MEMCG_LRU_TAIL : MEMCG_LRU_YOUNG; in shrink_one()4967 if (seg != MEMCG_LRU_TAIL) in shrink_one()5158 int seg; in lru_gen_rotate_memcg() local5167 seg = 0; in lru_gen_rotate_memcg()5172 seg = MEMCG_LRU_HEAD; in lru_gen_rotate_memcg()5174 seg = MEMCG_LRU_TAIL; in lru_gen_rotate_memcg()5193 WRITE_ONCE(lruvec->lrugen.seg, seg); in lru_gen_rotate_memcg()