]>
git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - include/linux/falloc.h
1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <uapi/linux/falloc.h>
9 * Space reservation ioctls and argument structure
10 * are designed to be compatible with the legacy XFS ioctls.
16 __s64 l_len
; /* len == 0 means until end of file */
19 __s32 l_pad
[4]; /* reserved area */
22 #define FS_IOC_RESVSP _IOW('X', 40, struct space_resv)
23 #define FS_IOC_RESVSP64 _IOW('X', 42, struct space_resv)
25 #define FALLOC_FL_SUPPORTED_MASK (FALLOC_FL_KEEP_SIZE | \
26 FALLOC_FL_PUNCH_HOLE | \
27 FALLOC_FL_COLLAPSE_RANGE | \
28 FALLOC_FL_ZERO_RANGE | \
29 FALLOC_FL_INSERT_RANGE | \
30 FALLOC_FL_UNSHARE_RANGE)
32 #endif /* _FALLOC_H_ */