Home
last modified time | relevance | path

Searched refs:slab_size (Results 1 – 7 of 7) sorted by relevance

/linux-4.4.14/tools/vm/
Dslabinfo.c33 int sanity_checks, slab_size, store_user, trace; member
337 static unsigned long slab_size(struct slabinfo *s) in slab_size() function
350 return slab_size(s) - s->objects * s->object_size; in slab_waste()
541 s->slab_size, s->slabs - s->partial - s->cpu_slabs, in report()
547 s->slab_size - s->object_size, s->cpu_slabs, onoff(s->store_user), in report()
548 (s->slab_size - s->object_size) * s->objects); in report()
551 ((page_size << s->order) - s->objs_per_slab * s->slab_size) * in report()
582 store_size(size_str, slab_size(s)); in slabcache()
832 size = slab_size(s); in totals()
835 objwaste = s->slab_size - s->object_size; in totals()
[all …]
/linux-4.4.14/fs/jbd2/
Djournal.c104 static int jbd2_journal_create_slab(size_t slab_size);
2265 size_t slab_size; in jbd2_journal_create_slab() local
2281 slab_size = 1 << (i+10); in jbd2_journal_create_slab()
2282 jbd2_slab[i] = kmem_cache_create(jbd2_slab_names[i], slab_size, in jbd2_journal_create_slab()
2283 slab_size, 0, NULL); in jbd2_journal_create_slab()
/linux-4.4.14/mm/
Dslab.c492 static int calculate_nr_objs(size_t slab_size, size_t buffer_size, in calculate_nr_objs() argument
510 nr_objs = slab_size / (buffer_size + idx_size + extra_space); in calculate_nr_objs()
516 remained_size = slab_size - nr_objs * buffer_size; in calculate_nr_objs()
533 size_t slab_size = PAGE_SIZE << gfporder; in cache_estimate() local
551 nr_objs = slab_size / buffer_size; in cache_estimate()
554 nr_objs = calculate_nr_objs(slab_size, buffer_size, in cache_estimate()
559 *left_over = slab_size - nr_objs*buffer_size - mgmt_size; in cache_estimate()
Dslub.c3033 unsigned long slab_size = PAGE_SIZE << order; in slab_order() local
3035 rem = (slab_size - reserved) % size; in slab_order()
3037 if (rem <= slab_size / fract_leftover) in slab_order()
4606 SLAB_ATTR_RO(slab_size);
/linux-4.4.14/block/
Dbio.c64 unsigned int slab_size; member
87 else if (bslab->slab_size == sz) { in bio_find_or_create_slab()
121 bslab->slab_size = sz; in bio_find_or_create_slab()
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-kernel-slab437 What: /sys/kernel/slab/cache/slab_size
443 The slab_size file is read-only and specifies the object size
/linux-4.4.14/fs/ext4/
Dmballoc.c2541 int slab_size; in ext4_groupinfo_create_slab() local
2558 slab_size = offsetof(struct ext4_group_info, in ext4_groupinfo_create_slab()
2562 slab_size, 0, SLAB_RECLAIM_ACCOUNT, in ext4_groupinfo_create_slab()