Lines Matching defs:discard_ctl

70 static struct list_head *get_discard_list(struct btrfs_discard_ctl *discard_ctl,  in get_discard_list()
83 static bool btrfs_run_discard_work(const struct btrfs_discard_ctl *discard_ctl) in btrfs_run_discard_work()
93 static void __add_to_discard_list(struct btrfs_discard_ctl *discard_ctl, in __add_to_discard_list()
115 static void add_to_discard_list(struct btrfs_discard_ctl *discard_ctl, in add_to_discard_list()
126 static void add_to_discard_unused_list(struct btrfs_discard_ctl *discard_ctl, in add_to_discard_unused_list()
154 static bool remove_from_discard_list(struct btrfs_discard_ctl *discard_ctl, in remove_from_discard_list()
194 struct btrfs_discard_ctl *discard_ctl, in find_next_block_group()
238 struct btrfs_discard_ctl *discard_ctl, in peek_discard_list()
288 struct btrfs_discard_ctl *discard_ctl; in btrfs_discard_check_filter() local
322 static void btrfs_update_discard_index(struct btrfs_discard_ctl *discard_ctl, in btrfs_update_discard_index()
343 void btrfs_discard_cancel_work(struct btrfs_discard_ctl *discard_ctl, in btrfs_discard_cancel_work()
360 void btrfs_discard_queue_work(struct btrfs_discard_ctl *discard_ctl, in btrfs_discard_queue_work()
375 static void __btrfs_discard_schedule_work(struct btrfs_discard_ctl *discard_ctl, in __btrfs_discard_schedule_work()
437 void btrfs_discard_schedule_work(struct btrfs_discard_ctl *discard_ctl, in btrfs_discard_schedule_work()
458 static void btrfs_finish_discard_pass(struct btrfs_discard_ctl *discard_ctl, in btrfs_finish_discard_pass()
484 struct btrfs_discard_ctl *discard_ctl; in btrfs_discard_workfn() local
573 void btrfs_discard_calc_delay(struct btrfs_discard_ctl *discard_ctl) in btrfs_discard_calc_delay()
639 struct btrfs_discard_ctl *discard_ctl; in btrfs_discard_update_discardable() local
710 static void btrfs_discard_purge_list(struct btrfs_discard_ctl *discard_ctl) in btrfs_discard_purge_list()
750 struct btrfs_discard_ctl *discard_ctl = &fs_info->discard_ctl; in btrfs_discard_init() local