Lines Matching refs:btrfs_workqueue
23 struct btrfs_workqueue { struct
50 struct btrfs_fs_info * __pure btrfs_workqueue_owner(const struct btrfs_workqueue *wq) in btrfs_workqueue_owner() argument
60 bool btrfs_workqueue_normal_congested(const struct btrfs_workqueue *wq) in btrfs_workqueue_normal_congested()
74 static void btrfs_init_workqueue(struct btrfs_workqueue *wq, in btrfs_init_workqueue()
84 struct btrfs_workqueue *btrfs_alloc_workqueue(struct btrfs_fs_info *fs_info, in btrfs_alloc_workqueue()
88 struct btrfs_workqueue *ret = kzalloc(sizeof(*ret), GFP_KERNEL); in btrfs_alloc_workqueue()
123 struct btrfs_workqueue *btrfs_alloc_ordered_workqueue( in btrfs_alloc_ordered_workqueue()
127 struct btrfs_workqueue *ret; in btrfs_alloc_ordered_workqueue()
155 static inline void thresh_queue_hook(struct btrfs_workqueue *wq) in thresh_queue_hook()
167 static inline void thresh_exec_hook(struct btrfs_workqueue *wq) in thresh_exec_hook()
210 static void run_ordered_work(struct btrfs_workqueue *wq, in run_ordered_work()
298 struct btrfs_workqueue *wq = work->wq; in btrfs_work_helper()
341 void btrfs_queue_work(struct btrfs_workqueue *wq, struct btrfs_work *work) in btrfs_queue_work()
356 void btrfs_destroy_workqueue(struct btrfs_workqueue *wq) in btrfs_destroy_workqueue()
365 void btrfs_workqueue_set_max(struct btrfs_workqueue *wq, int limit_active) in btrfs_workqueue_set_max()
371 void btrfs_flush_workqueue(struct btrfs_workqueue *wq) in btrfs_flush_workqueue()