Home
last modified time | relevance | path

Searched refs:slab_size (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/tools/vm/
H A Dslabinfo.c34 unsigned int sanity_checks, slab_size, store_user, trace; member
347 static unsigned long slab_size(struct slabinfo *s) in slab_size() function
360 return slab_size(s) - s->objects * s->object_size; in slab_waste()
552 s->slab_size, s->slabs - s->partial - s->cpu_slabs, in report()
558 s->slab_size - s->object_size, s->cpu_slabs, onoff(s->store_user), in report()
559 (s->slab_size - s->object_size) * s->objects); in report()
562 ((page_size << s->order) - s->objs_per_slab * s->slab_size) * in report()
596 store_size(size_str, slab_size(s)); in slabcache()
846 size = slab_size(s); in totals()
849 objwaste = s->slab_size in totals()
[all...]
/kernel/linux/linux-6.6/tools/mm/
H A Dslabinfo.c34 unsigned int sanity_checks, slab_size, store_user, trace; member
367 static unsigned long slab_size(struct slabinfo *s) in slab_size() function
380 return slab_size(s) - s->objects * s->object_size; in slab_waste()
576 s->slab_size, s->slabs - s->partial - s->cpu_slabs, in report()
582 s->slab_size - s->object_size, s->cpu_slabs, onoff(s->store_user), in report()
583 (s->slab_size - s->object_size) * s->objects); in report()
586 ((page_size << s->order) - s->objs_per_slab * s->slab_size) * in report()
620 store_size(size_str, slab_size(s)); in slabcache()
870 size = slab_size(s); in totals()
873 objwaste = s->slab_size in totals()
[all...]
/kernel/linux/linux-6.6/block/
H A Dbio.c80 unsigned int slab_size; member
101 bslab->slab_size = size; in create_bio_slab()
139 unsigned int slab_size = bs_bio_slab_size(bs); in bio_put_slab() local
143 bslab = xa_load(&bio_slabs, slab_size); in bio_put_slab()
154 xa_erase(&bio_slabs, slab_size); in bio_put_slab()
/kernel/linux/linux-5.10/fs/jbd2/
H A Djournal.c101 static int jbd2_journal_create_slab(size_t slab_size);
2664 size_t slab_size; in jbd2_journal_create_slab() local
2680 slab_size = 1 << (i+10); in jbd2_journal_create_slab()
2681 jbd2_slab[i] = kmem_cache_create(jbd2_slab_names[i], slab_size, in jbd2_journal_create_slab()
2682 slab_size, 0, NULL); in jbd2_journal_create_slab()
/kernel/linux/linux-5.10/block/
H A Dbio.c57 unsigned int slab_size; member
80 else if (bslab->slab_size == sz) { in bio_find_or_create_slab()
114 bslab->slab_size = sz; in bio_find_or_create_slab()
/kernel/linux/linux-6.6/fs/jbd2/
H A Djournal.c98 static int jbd2_journal_create_slab(size_t slab_size);
2740 size_t slab_size; in jbd2_journal_create_slab() local
2756 slab_size = 1 << (i+10); in jbd2_journal_create_slab()
2757 jbd2_slab[i] = kmem_cache_create(jbd2_slab_names[i], slab_size, in jbd2_journal_create_slab()
2758 slab_size, 0, NULL); in jbd2_journal_create_slab()
/kernel/linux/linux-5.10/mm/
H A Dslab.c404 size_t slab_size = PAGE_SIZE << gfporder; in cache_estimate() local
424 num = slab_size / buffer_size; in cache_estimate()
425 *left_over = slab_size % buffer_size; in cache_estimate()
427 num = slab_size / (buffer_size + sizeof(freelist_idx_t)); in cache_estimate()
428 *left_over = slab_size % in cache_estimate()
H A Dslub.c3418 unsigned int slab_size = (unsigned int)PAGE_SIZE << order; in slab_order() local
3421 rem = slab_size % size; in slab_order()
3423 if (rem <= slab_size / fract_leftover) in slab_order()
5032 SLAB_ATTR_RO(slab_size); variable
/kernel/linux/linux-6.6/mm/
H A Dslab.c404 size_t slab_size = PAGE_SIZE << gfporder; in cache_estimate() local
424 num = slab_size / buffer_size; in cache_estimate()
425 *left_over = slab_size % buffer_size; in cache_estimate()
427 num = slab_size / (buffer_size + sizeof(freelist_idx_t)); in cache_estimate()
428 *left_over = slab_size % in cache_estimate()
H A Dslab.h226 static inline size_t slab_size(const struct slab *slab) in slab_size() function
H A Dslub.c1168 length = slab_size(slab); in slab_pad_check()
1421 memset(kasan_reset_tag(addr), POISON_INUSE, slab_size(slab)); in setup_slab_debug()
4125 unsigned int slab_size = (unsigned int)PAGE_SIZE << order; in calc_slab_order() local
4128 rem = slab_size % size; in calc_slab_order()
4130 if (rem <= slab_size / fract_leftover) in calc_slab_order()
5537 SLAB_ATTR_RO(slab_size); variable
/kernel/linux/linux-5.10/fs/ext4/
H A Dmballoc.c2891 int slab_size; in ext4_groupinfo_create_slab() local
2908 slab_size = offsetof(struct ext4_group_info, in ext4_groupinfo_create_slab()
2912 slab_size, 0, SLAB_RECLAIM_ACCOUNT, in ext4_groupinfo_create_slab()
/kernel/linux/linux-6.6/fs/ext4/
H A Dmballoc.c3489 int slab_size; in ext4_groupinfo_create_slab() local
3506 slab_size = offsetof(struct ext4_group_info, in ext4_groupinfo_create_slab()
3510 slab_size, 0, SLAB_RECLAIM_ACCOUNT, in ext4_groupinfo_create_slab()

Completed in 82 milliseconds