Home
last modified time | relevance | path

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

/linux/fs/
H A Dsuper.c182 long total_objects; in super_cache_scan() local
204 total_objects = dentries + inodes + fs_objects + 1; in super_cache_scan()
205 if (!total_objects) in super_cache_scan()
206 total_objects = 1; in super_cache_scan()
210 inodes = mult_frac(sc->nr_to_scan, inodes, total_objects); in super_cache_scan()
238 long total_objects = 0; in super_cache_count() local
261 total_objects = sb->s_op->nr_cached_objects(sb, sc); in super_cache_count()
264 total_objects += list_lru_shrink_count(&sb->s_inode_lru, sc); in super_cache_count()
266 if (!total_objects) in super_cache_count()
269 total_objects = vfs_pressure_ratio(total_objects); in super_cache_count()
[all …]
/linux/tools/mm/
H A Dslabinfo.c833 avg_objects, total_objects = 0; in totals() local
940 total_objects += s->objects; in totals()
950 if (!total_objects) { in totals()
965 avg_objects = total_objects / used_slabs; in totals()
972 avg_objsize = total_used / total_objects; in totals()
973 avg_objwaste = total_objwaste / total_objects; in totals()
974 avg_partobj = total_partobj * 100 / total_objects; in totals()
975 avg_memobj = total_objsize / total_objects; in totals()
987 store_size(b3, total_partobj * 100 / total_objects); in totals()
997 store_size(b3, max_objects);store_size(b4, 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-slab473 What: /sys/kernel/slab/<cache>/total_objects
479 The total_objects file is read-only and displays how many total
/linux/mm/
H A Dslub.c431 atomic_long_t total_objects; member
1534 atomic_long_add(objects, &n->total_objects); in inc_slabs_node()
1541 atomic_long_sub(objects, &n->total_objects); in dec_slabs_node()
3392 return atomic_long_read(&n->total_objects); in node_nr_objs()
5124 atomic_long_set(&n->total_objects, 0); in init_kmem_cache_node()
6660 SLAB_ATTR_RO(total_objects);