Searched refs:size_class (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/mm/ |
D | zsmalloc.c | 185 struct size_class { struct 223 struct size_class *size_class[ZS_SIZE_CLASSES]; member 489 static struct size_class *zspage_class(struct zs_pool *pool, in zspage_class() 492 return pool->size_class[zspage->class]; in zspage_class() 521 static inline void class_stat_inc(struct size_class *class, in class_stat_inc() 527 static inline void class_stat_dec(struct size_class *class, in class_stat_dec() 533 static inline unsigned long zs_stat_get(struct size_class *class, int type) in zs_stat_get() 555 static unsigned long zs_can_compact(struct size_class *class); 561 struct size_class *class; in zs_stats_size_show() 576 class = pool->size_class[i]; in zs_stats_size_show() [all …]
|
/linux-6.6.21/fs/btrfs/ |
D | block-group.h | 250 enum btrfs_block_group_size_class size_class; member 373 enum btrfs_block_group_size_class size_class,
|
D | block-group.c | 676 enum btrfs_block_group_size_class size_class = BTRFS_BG_SZ_NONE; in load_block_group_size_class() local 691 size_class = btrfs_calc_block_group_size_class(min_size); in load_block_group_size_class() 693 if (size_class != BTRFS_BG_SZ_NONE) { in load_block_group_size_class() 695 block_group->size_class = size_class; in load_block_group_size_class() 3719 enum btrfs_block_group_size_class size_class; in btrfs_add_reserved_bytes() local 3730 size_class = btrfs_calc_block_group_size_class(num_bytes); in btrfs_add_reserved_bytes() 3731 ret = btrfs_use_block_group_size_class(cache, size_class, force_wrong_size_class); in btrfs_add_reserved_bytes() 4551 enum btrfs_block_group_size_class size_class, in btrfs_use_block_group_size_class() argument 4554 ASSERT(size_class != BTRFS_BG_SZ_NONE); in btrfs_use_block_group_size_class() 4557 if (bg->size_class == size_class) in btrfs_use_block_group_size_class() [all …]
|
D | extent-tree.h | 79 enum btrfs_block_group_size_class size_class; member
|
D | extent-tree.c | 4086 bg->size_class == BTRFS_BG_SZ_NONE) in find_free_extent_check_size_class() 4088 return ffe_ctl->size_class == bg->size_class; in find_free_extent_check_size_class() 4247 ffe_ctl->size_class = btrfs_calc_block_group_size_class(ffe_ctl->num_bytes); in find_free_extent()
|
D | sysfs.c | 804 switch (bg->size_class) { in btrfs_size_classes_show()
|
/linux-6.6.21/include/trace/events/ |
D | btrfs.h | 1385 __field( int, size_class ) 1391 __entry->bg_size_class = block_group->size_class; 1396 __entry->size_class = ffe_ctl->size_class; 1406 __entry->loop, __entry->hinted, __entry->size_class)
|