| /kernel/linux/linux-5.10/fs/btrfs/ |
| H A D | discard.c | 71 static struct list_head *get_discard_list(struct btrfs_discard_ctl *discard_ctl, in get_discard_list() argument 77 static void __add_to_discard_list(struct btrfs_discard_ctl *discard_ctl, in __add_to_discard_list() argument 96 static void add_to_discard_list(struct btrfs_discard_ctl *discard_ctl, in add_to_discard_list() argument 107 static void add_to_discard_unused_list(struct btrfs_discard_ctl *discard_ctl, in add_to_discard_unused_list() argument 129 remove_from_discard_list(struct btrfs_discard_ctl *discard_ctl, struct btrfs_block_group *block_group) remove_from_discard_list() argument 157 find_next_block_group( struct btrfs_discard_ctl *discard_ctl, u64 now) find_next_block_group() argument 199 peek_discard_list( struct btrfs_discard_ctl *discard_ctl, enum btrfs_discard_state *discard_state, int *discard_index, u64 now) peek_discard_list() argument 247 struct btrfs_discard_ctl *discard_ctl; btrfs_discard_check_filter() local 280 btrfs_update_discard_index(struct btrfs_discard_ctl *discard_ctl, struct btrfs_block_group *block_group) btrfs_update_discard_index() argument 300 btrfs_discard_cancel_work(struct btrfs_discard_ctl *discard_ctl, struct btrfs_block_group *block_group) btrfs_discard_cancel_work() argument 316 btrfs_discard_queue_work(struct btrfs_discard_ctl *discard_ctl, struct btrfs_block_group *block_group) btrfs_discard_queue_work() argument 331 __btrfs_discard_schedule_work(struct btrfs_discard_ctl *discard_ctl, u64 now, bool override) __btrfs_discard_schedule_work() argument 383 btrfs_discard_schedule_work(struct btrfs_discard_ctl *discard_ctl, bool override) btrfs_discard_schedule_work() argument 403 btrfs_finish_discard_pass(struct btrfs_discard_ctl *discard_ctl, struct btrfs_block_group *block_group) btrfs_finish_discard_pass() argument 428 struct btrfs_discard_ctl *discard_ctl; btrfs_discard_workfn() local 504 btrfs_run_discard_work(struct btrfs_discard_ctl *discard_ctl) btrfs_run_discard_work() argument 522 btrfs_discard_calc_delay(struct btrfs_discard_ctl *discard_ctl) btrfs_discard_calc_delay() argument 581 struct btrfs_discard_ctl *discard_ctl; btrfs_discard_update_discardable() local 644 btrfs_discard_purge_list(struct btrfs_discard_ctl *discard_ctl) btrfs_discard_purge_list() argument 683 struct btrfs_discard_ctl *discard_ctl = &fs_info->discard_ctl; btrfs_discard_init() local [all...] |
| H A D | sysfs.c | 427 struct btrfs_discard_ctl *discard_ctl = &fs_info->discard_ctl; in btrfs_discard_iops_limit_store() local 457 struct btrfs_discard_ctl *discard_ctl = &fs_info->discard_ctl; btrfs_discard_kbps_limit_store() local 487 struct btrfs_discard_ctl *discard_ctl = &fs_info->discard_ctl; btrfs_discard_max_discard_size_store() local [all...] |
| H A D | free-space-cache.c | 2850 struct btrfs_discard_ctl *discard_ctl = in btrfs_find_space_for_alloc() local 2984 struct btrfs_discard_ctl *discard_ctl = in btrfs_alloc_from_cluster() local 3455 struct btrfs_discard_ctl *discard_ctl in trim_no_bitmap() local 3621 struct btrfs_discard_ctl *discard_ctl = trim_bitmaps() local [all...] |
| H A D | ctree.h | 869 struct btrfs_discard_ctl discard_ctl; member
|
| /kernel/linux/linux-6.6/fs/btrfs/ |
| H A D | discard.c | 70 static struct list_head *get_discard_list(struct btrfs_discard_ctl *discard_ctl, in get_discard_list() argument 83 static bool btrfs_run_discard_work(struct btrfs_discard_ctl *discard_ctl) in btrfs_run_discard_work() argument 93 static void __add_to_discard_list(struct btrfs_discard_ctl *discard_ctl, in __add_to_discard_list() argument 115 add_to_discard_list(struct btrfs_discard_ctl *discard_ctl, struct btrfs_block_group *block_group) add_to_discard_list() argument 126 add_to_discard_unused_list(struct btrfs_discard_ctl *discard_ctl, struct btrfs_block_group *block_group) add_to_discard_unused_list() argument 154 remove_from_discard_list(struct btrfs_discard_ctl *discard_ctl, struct btrfs_block_group *block_group) remove_from_discard_list() argument 193 find_next_block_group( struct btrfs_discard_ctl *discard_ctl, u64 now) find_next_block_group() argument 237 peek_discard_list( struct btrfs_discard_ctl *discard_ctl, enum btrfs_discard_state *discard_state, int *discard_index, u64 now) peek_discard_list() argument 288 struct btrfs_discard_ctl *discard_ctl; btrfs_discard_check_filter() local 322 btrfs_update_discard_index(struct btrfs_discard_ctl *discard_ctl, struct btrfs_block_group *block_group) btrfs_update_discard_index() argument 343 btrfs_discard_cancel_work(struct btrfs_discard_ctl *discard_ctl, struct btrfs_block_group *block_group) btrfs_discard_cancel_work() argument 360 btrfs_discard_queue_work(struct btrfs_discard_ctl *discard_ctl, struct btrfs_block_group *block_group) btrfs_discard_queue_work() argument 375 __btrfs_discard_schedule_work(struct btrfs_discard_ctl *discard_ctl, u64 now, bool override) __btrfs_discard_schedule_work() argument 437 btrfs_discard_schedule_work(struct btrfs_discard_ctl *discard_ctl, bool override) btrfs_discard_schedule_work() argument 458 btrfs_finish_discard_pass(struct btrfs_discard_ctl *discard_ctl, struct btrfs_block_group *block_group) btrfs_finish_discard_pass() argument 484 struct btrfs_discard_ctl *discard_ctl; btrfs_discard_workfn() local 573 btrfs_discard_calc_delay(struct btrfs_discard_ctl *discard_ctl) btrfs_discard_calc_delay() argument 639 struct btrfs_discard_ctl *discard_ctl; btrfs_discard_update_discardable() local 710 btrfs_discard_purge_list(struct btrfs_discard_ctl *discard_ctl) btrfs_discard_purge_list() argument 750 struct btrfs_discard_ctl *discard_ctl = &fs_info->discard_ctl; btrfs_discard_init() local [all...] |
| H A D | sysfs.c | 519 struct btrfs_discard_ctl *discard_ctl = &fs_info->discard_ctl; in btrfs_discard_iops_limit_store() local 550 struct btrfs_discard_ctl *discard_ctl = &fs_info->discard_ctl; btrfs_discard_kbps_limit_store() local 580 struct btrfs_discard_ctl *discard_ctl = &fs_info->discard_ctl; btrfs_discard_max_discard_size_store() local [all...] |
| H A D | free-space-cache.c | 3083 struct btrfs_discard_ctl *discard_ctl = in btrfs_find_space_for_alloc() local 3220 struct btrfs_discard_ctl *discard_ctl = in btrfs_alloc_from_cluster() local 3708 struct btrfs_discard_ctl *discard_ctl in trim_no_bitmap() local 3874 struct btrfs_discard_ctl *discard_ctl = trim_bitmaps() local [all...] |
| H A D | fs.h | 646 struct btrfs_discard_ctl discard_ctl; member
|