Searched refs:btrfs_workqueue (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A D | async-thread.h | 13 struct btrfs_workqueue; 25 struct btrfs_workqueue *wq; 29 struct btrfs_workqueue *btrfs_alloc_workqueue(struct btrfs_fs_info *fs_info, 34 struct btrfs_workqueue *btrfs_alloc_ordered_workqueue( 39 void btrfs_queue_work(struct btrfs_workqueue *wq, 41 void btrfs_destroy_workqueue(struct btrfs_workqueue *wq); 42 void btrfs_workqueue_set_max(struct btrfs_workqueue *wq, int max); 44 struct btrfs_fs_info * __pure btrfs_workqueue_owner(const struct btrfs_workqueue *wq); 45 bool btrfs_workqueue_normal_congested(const struct btrfs_workqueue *wq); 46 void btrfs_flush_workqueue(struct btrfs_workqueue *wq);
|
H A D | async-thread.c | 23 struct btrfs_workqueue { struct 74 static void btrfs_init_workqueue(struct btrfs_workqueue *wq, in btrfs_init_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() 357 void btrfs_destroy_workqueue(struct btrfs_workqueue *wq) in btrfs_destroy_workqueue() [all …]
|
H A D | fs.h | 543 struct btrfs_workqueue *workers; 544 struct btrfs_workqueue *delalloc_workers; 545 struct btrfs_workqueue *flush_workers; 550 struct btrfs_workqueue *endio_write_workers; 551 struct btrfs_workqueue *endio_freespace_worker; 552 struct btrfs_workqueue *caching_workers; 559 struct btrfs_workqueue *fixup_workers; 560 struct btrfs_workqueue *delayed_workers; 680 struct btrfs_workqueue *qgroup_rescan_workers;
|
H A D | ordered-data.c | 365 struct btrfs_workqueue *wq = btrfs_is_free_space_inode(inode) ? in btrfs_queue_ordered_fn()
|
/openbmc/linux/include/trace/events/ |
H A D | btrfs.h | 27 struct btrfs_workqueue; 1633 DECLARE_EVENT_CLASS(btrfs_workqueue, 1635 TP_PROTO(const struct btrfs_workqueue *wq, const char *name), 1653 DEFINE_EVENT(btrfs_workqueue, btrfs_workqueue_alloc, 1655 TP_PROTO(const struct btrfs_workqueue *wq, const char *name), 1662 TP_PROTO(const struct btrfs_workqueue *wq), 1679 TP_PROTO(const struct btrfs_workqueue *wq),
|