]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - repair/threads.h
xfsprogs: Release v6.7.0
[thirdparty/xfsprogs-dev.git] / repair / threads.h
1 // SPDX-License-Identifier: GPL-2.0
2
3 #ifndef _XFS_REPAIR_THREADS_H_
4 #define _XFS_REPAIR_THREADS_H_
5
6 #include "workqueue.h"
7
8 void thread_init(void);
9
10 void
11 create_work_queue(
12 struct workqueue *wq,
13 struct xfs_mount *mp,
14 unsigned int nworkers);
15
16 void
17 queue_work(
18 struct workqueue *wq,
19 workqueue_func_t func,
20 xfs_agnumber_t agno,
21 void *arg);
22
23 void
24 destroy_work_queue(
25 struct workqueue *wq);
26
27 #endif /* _XFS_REPAIR_THREADS_H_ */