Lines Matching defs:bitmap
3294 * bits in a bitmap, k is the number of hash functions and n is the number of
3523 int key = pgdat->node_id % BITS_PER_TYPE(mm->lru_gen.bitmap);
3525 if (!walk->force_scan && !test_bit(key, &mm->lru_gen.bitmap))
3528 clear_bit(key, &mm->lru_gen.bitmap);
4034 struct mm_walk *args, unsigned long *bitmap, unsigned long *first)
4049 bitmap_zero(bitmap, MIN_LRU_BATCH);
4055 __set_bit(i - 1, bitmap);
4102 i = i > MIN_LRU_BATCH ? 0 : find_next_bit(bitmap, MIN_LRU_BATCH, i) + 1;
4112 struct mm_walk *args, unsigned long *bitmap, unsigned long *first)
4125 DECLARE_BITMAP(bitmap, MIN_LRU_BATCH);
4166 walk_pmd_range_locked(pud, addr, vma, args, bitmap, &first);
4176 walk_pmd_range_locked(pud, addr, vma, args, bitmap, &first);
4193 walk_pmd_range_locked(pud, -1, vma, args, bitmap, &first);