Home
last modified time | relevance | path

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

/linux/fs/
H A Dsuper.c183 long total_objects; in super_cache_scan() local
205 total_objects = dentries + inodes + fs_objects; in super_cache_scan()
206 if (!total_objects) in super_cache_scan()
207 total_objects = 1; in super_cache_scan()
210 dentries = mult_frac(sc->nr_to_scan, dentries, total_objects); in super_cache_scan()
211 inodes = mult_frac(sc->nr_to_scan, inodes, total_objects); in super_cache_scan()
212 fs_objects = mult_frac(sc->nr_to_scan, fs_objects, total_objects); in super_cache_scan()
239 long total_objects = 0; in super_cache_count() local
262 total_objects = sb->s_op->nr_cached_objects(sb, sc); in super_cache_count()
264 total_objects += list_lru_shrink_count(&sb->s_dentry_lru, sc); in super_cache_count()
[all …]
/linux/tools/mm/
H A Dslabinfo.c836 avg_objects, total_objects = 0; in totals() local
943 total_objects += s->objects; in totals()
953 if (!total_objects) { in totals()
968 avg_objects = total_objects / used_slabs; in totals()
975 avg_objsize = total_used / total_objects; in totals()
976 avg_objwaste = total_objwaste / total_objects; in totals()
977 avg_partobj = total_partobj * 100 / total_objects; in totals()
978 avg_memobj = total_objsize / total_objects; in totals()
989 store_size(b1, total_objects);store_size(b2, total_partobj); in totals()
990 store_size(b3, total_partobj * 100 / total_objects); in totals()
[all …]
/linux/drivers/acpi/acpica/
H A Ddbnames.c651 u32 total_objects = 0; in acpi_db_display_objects() local
675 total_objects += object_info->types[i]; in acpi_db_display_objects()
679 total_objects); in acpi_db_display_objects()
/linux/tools/cgroup/
H A Dmemcg_slabinfo.py91 nr_objs += n.total_objects.counter.value_()
/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-slab474 What: /sys/kernel/slab/<cache>/total_objects
480 The total_objects file is read-only and displays how many total
/linux/mm/
H A Dslub.c501 atomic_long_t total_objects; member
1668 atomic_long_add(objects, &n->total_objects); in inc_slabs_node()
1675 atomic_long_sub(objects, &n->total_objects); in dec_slabs_node()
4213 return atomic_long_read(&n->total_objects); in node_nr_objs()
7670 atomic_long_set(&n->total_objects, 0); in init_kmem_cache_node()
9287 SLAB_ATTR_RO(total_objects); in objects_show()