/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _FALLOC_H_ #define _FALLOC_H_ #include <uapi/linux/falloc.h> /* * Space reservation ioctls and argument structure * are designed to be compatible with the legacy XFS ioctls. */ struct space_resv { … }; #define FS_IOC_RESVSP … #define FS_IOC_UNRESVSP … #define FS_IOC_RESVSP64 … #define FS_IOC_UNRESVSP64 … #define FS_IOC_ZERO_RANGE … #define FALLOC_FL_SUPPORTED_MASK … /* on ia32 l_start is on a 32-bit boundary */ #if defined(CONFIG_X86_64) struct space_resv_32 { … }; #define FS_IOC_RESVSP_32 … #define FS_IOC_UNRESVSP_32 … #define FS_IOC_RESVSP64_32 … #define FS_IOC_UNRESVSP64_32 … #define FS_IOC_ZERO_RANGE_32 … #endif #endif /* _FALLOC_H_ */