Searched refs:total_objects (Results 1 – 6 of 6) sorted by relevance
/linux-4.1.27/fs/ |
D | super.c | 60 long total_objects; in super_cache_scan() local 82 total_objects = dentries + inodes + fs_objects + 1; in super_cache_scan() 83 if (!total_objects) in super_cache_scan() 84 total_objects = 1; in super_cache_scan() 87 dentries = mult_frac(sc->nr_to_scan, dentries, total_objects); in super_cache_scan() 88 inodes = mult_frac(sc->nr_to_scan, inodes, total_objects); in super_cache_scan() 89 fs_objects = mult_frac(sc->nr_to_scan, fs_objects, total_objects); in super_cache_scan() 116 long total_objects = 0; in super_cache_count() local 129 total_objects = sb->s_op->nr_cached_objects(sb, sc); in super_cache_count() 131 total_objects += list_lru_shrink_count(&sb->s_dentry_lru, sc); in super_cache_count() [all …]
|
/linux-4.1.27/tools/vm/ |
D | slabinfo.c | 775 avg_objects, total_objects = 0; in totals() local 882 total_objects += s->objects; in totals() 892 if (!total_objects) { in totals() 907 avg_objects = total_objects / used_slabs; in totals() 914 avg_objsize = total_used / total_objects; in totals() 915 avg_objwaste = total_objwaste / total_objects; in totals() 916 avg_partobj = total_partobj * 100 / total_objects; in totals() 917 avg_memobj = total_objsize / total_objects; in totals() 928 store_size(b1, total_objects);store_size(b2, total_partobj); in totals() 929 store_size(b3, total_partobj * 100 / total_objects); in totals() [all …]
|
/linux-4.1.27/mm/ |
D | slab.h | 353 atomic_long_t total_objects; member
|
D | slub.c | 1008 atomic_long_add(objects, &n->total_objects); in inc_slabs_node() 1016 atomic_long_sub(objects, &n->total_objects); in dec_slabs_node() 2156 return atomic_long_read(&n->total_objects); in node_nr_objs() 2888 atomic_long_set(&n->total_objects, 0); in init_kmem_cache_node() 4318 x = atomic_long_read(&n->total_objects); in show_slab_objects() 4320 x = atomic_long_read(&n->total_objects) - in show_slab_objects() 4363 if (atomic_long_read(&n->total_objects)) in any_slab_objects() 4598 SLAB_ATTR_RO(total_objects);
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | sysfs-kernel-slab | 465 What: /sys/kernel/slab/cache/total_objects 471 The total_objects file is read-only and displays how many total
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_crtc.c | 1651 uint32_t total_objects = 0; in drm_mode_group_init() local 1653 total_objects += dev->mode_config.num_crtc; in drm_mode_group_init() 1654 total_objects += dev->mode_config.num_connector; in drm_mode_group_init() 1655 total_objects += dev->mode_config.num_encoder; in drm_mode_group_init() 1657 group->id_list = kcalloc(total_objects, sizeof(uint32_t), GFP_KERNEL); in drm_mode_group_init()
|