Home
last modified time | relevance | path

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

/mm/
Dmemblock.c119 .memory.cnt = 1, /* empty dummy entry */
124 .reserved.cnt = 1, /* empty dummy entry */
135 .cnt = 1, /* empty dummy entry */
154 i < memblock_type->cnt; \
202 for (i = 0; i < type->cnt; i++) in memblock_overlaps_region()
206 return i < type->cnt; in memblock_overlaps_region()
358 (type->cnt - (r + 1)) * sizeof(type->regions[r])); in memblock_remove_region()
359 type->cnt--; in memblock_remove_region()
362 if (type->cnt == 0) { in memblock_remove_region()
364 type->cnt = 1; in memblock_remove_region()
[all …]
Dslub.c1826 int *cnt) in slab_free_freelist_hook() argument
1858 --(*cnt); in slab_free_freelist_hook()
2936 int cnt = 0; in free_debug_processing() local
2951 if (++cnt > *bulk_cnt) in free_debug_processing()
2973 if (cnt != *bulk_cnt) { in free_debug_processing()
2975 *bulk_cnt, cnt); in free_debug_processing()
2976 *bulk_cnt = cnt; in free_debug_processing()
3563 int cnt = bulk_cnt; in free_to_partial_list() local
3572 if (free_debug_processing(s, slab, head, tail, &cnt, addr, handle)) { in free_to_partial_list()
3576 slab->inuse -= cnt; in free_to_partial_list()
[all …]
Dzsmalloc.c523 int type, unsigned long cnt) in class_stat_inc() argument
525 class->stats.objs[type] += cnt; in class_stat_inc()
529 int type, unsigned long cnt) in class_stat_dec() argument
531 class->stats.objs[type] -= cnt; in class_stat_dec()
Dmemcontrol.c4796 atomic_read(&frn->done.cnt) == 1) { in mem_cgroup_track_foreign_dirty_slowpath()
4843 atomic_read(&frn->done.cnt) == 1) { in mem_cgroup_flush_foreign()