xref: /spdk/lib/fsdev/fsdev_internal.h (revision 8af292d898481662ba17573b21b63f35fed2ced8)
1 /*   SPDX-License-Identifier: BSD-3-Clause
2  *   Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  */
4 
5 /** \file
6  * Filesystem device internal APIs
7  */
8 
9 #ifndef SPDK_FSDEV_INT_H
10 #define SPDK_FSDEV_INT_H
11 
12 #include "spdk/thread.h"
13 
14 void fsdev_io_submit(struct spdk_fsdev_io *fsdev_io);
15 struct spdk_fsdev_io *fsdev_channel_get_io(struct spdk_fsdev_channel *channel);
16 
17 #define __io_ch_to_fsdev_ch(io_ch)	((struct spdk_fsdev_channel *)spdk_io_channel_get_ctx(io_ch))
18 
19 #endif /* SPDK_FSDEV_INT_H */
20