Home
last modified time | relevance | path

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

/mm/
A Dshrinker.c29 unit = info->unit; in shrinker_unit_free()
33 if (!unit[i]) in shrinker_unit_free()
36 kfree(unit[i]); in shrinker_unit_free()
50 unit = kzalloc_node(sizeof(*unit), GFP_KERNEL, nid); in shrinker_unit_alloc()
51 if (!unit) { in shrinker_unit_alloc()
56 new->unit[i] = unit; in shrinker_unit_alloc()
137 memcpy(new->unit, old->unit, old_size); in expand_one_shrinker_info()
204 unit = info->unit[shrinker_id_to_index(shrinker_id)]; in set_shrinker_bit()
261 unit = info->unit[shrinker_id_to_index(shrinker->id)]; in xchg_nr_deferred_memcg()
277 unit = info->unit[shrinker_id_to_index(shrinker->id)]; in add_nr_deferred_memcg()
[all …]
A Dpercpu.c2402 int unit; in pcpu_alloc_alloc_info() local
2416 for (unit = 0; unit < nr_units; unit++) in pcpu_alloc_alloc_info()
2482 for (unit_end += upa; unit < unit_end; unit++) in pcpu_dump_alloc_info()
2557 int group, unit, i; in pcpu_setup_first_chunk() local
2608 for (group = 0, unit = 0; group < ai->nr_groups; group++, unit += i) { in pcpu_setup_first_chunk()
2635 pcpu_nr_units = unit; in pcpu_setup_first_chunk()
2923 unit += gi->nr_units; in pcpu_build_alloc_info()
2925 BUG_ON(unit != nr_units); in pcpu_build_alloc_info()
3185 int unit, i, j, rc = 0; in pcpu_page_first_chunk() local
3211 for (unit = 0; unit < num_possible_cpus(); unit++) { in pcpu_page_first_chunk()
[all …]
A Dmemcontrol.c672 int unit = memcg_page_state_unit(idx); in memcg_state_val_in_pages() local
674 if (!val || unit == PAGE_SIZE) in memcg_state_val_in_pages()
677 return max(val * unit / PAGE_SIZE, 1UL); in memcg_state_val_in_pages()
A DKconfig1199 bool "Enable infrastructure for get_user_pages()-related unit tests"
1203 to make ioctl calls that can launch kernel-based unit tests for
/mm/damon/
A DKconfig22 For more information on KUnit and unit tests in general, please refer
52 For more information on KUnit and unit tests in general, please refer
72 For more information on KUnit and unit tests in general, please refer

Completed in 32 milliseconds