Lines Matching defs:discard_ctl
71 static struct list_head *get_discard_list(struct btrfs_discard_ctl *discard_ctl, in get_discard_list()
77 static void __add_to_discard_list(struct btrfs_discard_ctl *discard_ctl, in __add_to_discard_list()
96 static void add_to_discard_list(struct btrfs_discard_ctl *discard_ctl, in add_to_discard_list()
107 static void add_to_discard_unused_list(struct btrfs_discard_ctl *discard_ctl, in add_to_discard_unused_list()
129 static bool remove_from_discard_list(struct btrfs_discard_ctl *discard_ctl, in remove_from_discard_list()
158 struct btrfs_discard_ctl *discard_ctl, in find_next_block_group()
202 struct btrfs_discard_ctl *discard_ctl, in peek_discard_list()
249 struct btrfs_discard_ctl *discard_ctl; in btrfs_discard_check_filter() local
282 static void btrfs_update_discard_index(struct btrfs_discard_ctl *discard_ctl, in btrfs_update_discard_index()
302 void btrfs_discard_cancel_work(struct btrfs_discard_ctl *discard_ctl, in btrfs_discard_cancel_work()
318 void btrfs_discard_queue_work(struct btrfs_discard_ctl *discard_ctl, in btrfs_discard_queue_work()
333 static void __btrfs_discard_schedule_work(struct btrfs_discard_ctl *discard_ctl, in __btrfs_discard_schedule_work()
394 void btrfs_discard_schedule_work(struct btrfs_discard_ctl *discard_ctl, in btrfs_discard_schedule_work()
414 static void btrfs_finish_discard_pass(struct btrfs_discard_ctl *discard_ctl, in btrfs_finish_discard_pass()
439 struct btrfs_discard_ctl *discard_ctl; in btrfs_discard_workfn() local
516 bool btrfs_run_discard_work(struct btrfs_discard_ctl *discard_ctl) in btrfs_run_discard_work()
534 void btrfs_discard_calc_delay(struct btrfs_discard_ctl *discard_ctl) in btrfs_discard_calc_delay()
592 struct btrfs_discard_ctl *discard_ctl; in btrfs_discard_update_discardable() local
657 static void btrfs_discard_purge_list(struct btrfs_discard_ctl *discard_ctl) in btrfs_discard_purge_list()
696 struct btrfs_discard_ctl *discard_ctl = &fs_info->discard_ctl; in btrfs_discard_init() local