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()
200 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()
342 void btrfs_discard_schedule_work(struct btrfs_discard_ctl *discard_ctl, in btrfs_discard_schedule_work()
401 static void btrfs_finish_discard_pass(struct btrfs_discard_ctl *discard_ctl, in btrfs_finish_discard_pass()
426 struct btrfs_discard_ctl *discard_ctl; in btrfs_discard_workfn() local
498 bool btrfs_run_discard_work(struct btrfs_discard_ctl *discard_ctl) in btrfs_run_discard_work()
516 void btrfs_discard_calc_delay(struct btrfs_discard_ctl *discard_ctl) in btrfs_discard_calc_delay()
575 struct btrfs_discard_ctl *discard_ctl; in btrfs_discard_update_discardable() local
638 static void btrfs_discard_purge_list(struct btrfs_discard_ctl *discard_ctl) in btrfs_discard_purge_list()
677 struct btrfs_discard_ctl *discard_ctl = &fs_info->discard_ctl; in btrfs_discard_init() local