xref: /freebsd/sys/modules/zfs/zfs_config.h (revision 2a58b312b62f908ec92311d1bd8536dbaeb8e55b)
19e5787d2SMatt Macy /*
29e5787d2SMatt Macy  * $FreeBSD$
39e5787d2SMatt Macy  */
49e5787d2SMatt Macy 
59e5787d2SMatt Macy /* zfs_config.h.  Generated from zfs_config.h.in by configure.  */
69e5787d2SMatt Macy /* zfs_config.h.in.  Generated from configure.ac by autoheader.  */
79e5787d2SMatt Macy 
89e5787d2SMatt Macy /* Define to 1 if translation of program messages to the user's native
99e5787d2SMatt Macy    language is requested. */
109e5787d2SMatt Macy /* #undef ENABLE_NLS */
119e5787d2SMatt Macy 
129e5787d2SMatt Macy /* bio_end_io_t wants 1 arg */
139e5787d2SMatt Macy /* #undef HAVE_1ARG_BIO_END_IO_T */
149e5787d2SMatt Macy 
159e5787d2SMatt Macy /* lookup_bdev() wants 1 arg */
169e5787d2SMatt Macy /* #undef HAVE_1ARG_LOOKUP_BDEV */
179e5787d2SMatt Macy 
189e5787d2SMatt Macy /* submit_bio() wants 1 arg */
199e5787d2SMatt Macy /* #undef HAVE_1ARG_SUBMIT_BIO */
209e5787d2SMatt Macy 
219e5787d2SMatt Macy /* bdi_setup_and_register() wants 2 args */
229e5787d2SMatt Macy /* #undef HAVE_2ARGS_BDI_SETUP_AND_REGISTER */
239e5787d2SMatt Macy 
249e5787d2SMatt Macy /* vfs_getattr wants 2 args */
259e5787d2SMatt Macy /* #undef HAVE_2ARGS_VFS_GETATTR */
269e5787d2SMatt Macy 
279e5787d2SMatt Macy /* zlib_deflate_workspacesize() wants 2 args */
289e5787d2SMatt Macy /* #undef HAVE_2ARGS_ZLIB_DEFLATE_WORKSPACESIZE */
299e5787d2SMatt Macy 
309e5787d2SMatt Macy /* bdi_setup_and_register() wants 3 args */
319e5787d2SMatt Macy /* #undef HAVE_3ARGS_BDI_SETUP_AND_REGISTER */
329e5787d2SMatt Macy 
339e5787d2SMatt Macy /* vfs_getattr wants 3 args */
349e5787d2SMatt Macy /* #undef HAVE_3ARGS_VFS_GETATTR */
359e5787d2SMatt Macy 
369e5787d2SMatt Macy /* vfs_getattr wants 4 args */
379e5787d2SMatt Macy /* #undef HAVE_4ARGS_VFS_GETATTR */
389e5787d2SMatt Macy 
399e5787d2SMatt Macy /* kernel has access_ok with 'type' parameter */
409e5787d2SMatt Macy /* #undef HAVE_ACCESS_OK_TYPE */
419e5787d2SMatt Macy 
429e5787d2SMatt Macy /* posix_acl has refcount_t */
439e5787d2SMatt Macy /* #undef HAVE_ACL_REFCOUNT */
449e5787d2SMatt Macy 
45f03aca96SMartin Matuska /* add_disk() returns int */
46f03aca96SMartin Matuska /* #undef HAVE_ADD_DISK_RET */
47f03aca96SMartin Matuska 
489e5787d2SMatt Macy /* Define if host toolchain supports AES */
499e5787d2SMatt Macy #define HAVE_AES 1
509e5787d2SMatt Macy 
51716fd348SMartin Matuska /* Define if you have [rt] */
52716fd348SMartin Matuska #define HAVE_AIO_H 1
53716fd348SMartin Matuska 
549e5787d2SMatt Macy #ifdef __amd64__
559e5787d2SMatt Macy #ifndef RESCUE
569e5787d2SMatt Macy /* Define if host toolchain supports AVX */
579e5787d2SMatt Macy #define HAVE_AVX 1
589e5787d2SMatt Macy #endif
599e5787d2SMatt Macy 
609e5787d2SMatt Macy /* Define if host toolchain supports AVX2 */
619e5787d2SMatt Macy #define HAVE_AVX2 1
629e5787d2SMatt Macy 
639e5787d2SMatt Macy /* Define if host toolchain supports AVX512BW */
649e5787d2SMatt Macy #define HAVE_AVX512BW 1
659e5787d2SMatt Macy 
669e5787d2SMatt Macy /* Define if host toolchain supports AVX512CD */
679e5787d2SMatt Macy #define HAVE_AVX512CD 1
689e5787d2SMatt Macy 
699e5787d2SMatt Macy /* Define if host toolchain supports AVX512DQ */
709e5787d2SMatt Macy #define HAVE_AVX512DQ 1
719e5787d2SMatt Macy 
729e5787d2SMatt Macy /* Define if host toolchain supports AVX512ER */
739e5787d2SMatt Macy #define HAVE_AVX512ER 1
749e5787d2SMatt Macy 
759e5787d2SMatt Macy /* Define if host toolchain supports AVX512F */
769e5787d2SMatt Macy #define HAVE_AVX512F 1
779e5787d2SMatt Macy 
789e5787d2SMatt Macy /* Define if host toolchain supports AVX512IFMA */
799e5787d2SMatt Macy #define HAVE_AVX512IFMA 1
809e5787d2SMatt Macy 
819e5787d2SMatt Macy /* Define if host toolchain supports AVX512PF */
829e5787d2SMatt Macy #define HAVE_AVX512PF 1
839e5787d2SMatt Macy 
849e5787d2SMatt Macy /* Define if host toolchain supports AVX512VBMI */
859e5787d2SMatt Macy #define HAVE_AVX512VBMI 1
869e5787d2SMatt Macy 
879e5787d2SMatt Macy /* Define if host toolchain supports AVX512VL */
889e5787d2SMatt Macy #define HAVE_AVX512VL 1
899e5787d2SMatt Macy #endif
909e5787d2SMatt Macy 
91271171e0SMartin Matuska /* bdevname() is available */
92271171e0SMartin Matuska /* #undef HAVE_BDEVNAME */
93271171e0SMartin Matuska 
948fb96679SMartin Matuska /* bdev_check_media_change() exists */
958fb96679SMartin Matuska /* #undef HAVE_BDEV_CHECK_MEDIA_CHANGE */
968fb96679SMartin Matuska 
97e3aa18adSMartin Matuska /* bdev_*_io_acct() available */
98e3aa18adSMartin Matuska /* #undef HAVE_BDEV_IO_ACCT */
99e3aa18adSMartin Matuska 
100be181ee2SMartin Matuska /* bdev_kobj() exists */
101be181ee2SMartin Matuska /* #undef HAVE_BDEV_KOBJ */
102be181ee2SMartin Matuska 
103e3aa18adSMartin Matuska /* bdev_max_discard_sectors() is available */
104e3aa18adSMartin Matuska /* #undef HAVE_BDEV_MAX_DISCARD_SECTORS */
105e3aa18adSMartin Matuska 
106e3aa18adSMartin Matuska /* bdev_max_secure_erase_sectors() is available */
107e3aa18adSMartin Matuska /* #undef HAVE_BDEV_MAX_SECURE_ERASE_SECTORS */
108e3aa18adSMartin Matuska 
109681ce946SMartin Matuska /* block_device_operations->submit_bio() returns void */
110681ce946SMartin Matuska /* #undef HAVE_BDEV_SUBMIT_BIO_RETURNS_VOID */
111681ce946SMartin Matuska 
1128fb96679SMartin Matuska /* bdev_whole() is available */
1138fb96679SMartin Matuska /* #undef HAVE_BDEV_WHOLE */
1148fb96679SMartin Matuska 
1158d0b6a7dSMartin Matuska /* bio_alloc() takes 4 arguments */
1168d0b6a7dSMartin Matuska /* #undef HAVE_BIO_ALLOC_4ARG */
1178d0b6a7dSMartin Matuska 
118476ef25dSMartin Matuska /* bio->bi_bdev->bd_disk exists */
119476ef25dSMartin Matuska /* #undef HAVE_BIO_BDEV_DISK */
120476ef25dSMartin Matuska 
1219e5787d2SMatt Macy /* bio->bi_opf is defined */
1229e5787d2SMatt Macy /* #undef HAVE_BIO_BI_OPF */
1239e5787d2SMatt Macy 
1249e5787d2SMatt Macy /* bio->bi_status exists */
1259e5787d2SMatt Macy /* #undef HAVE_BIO_BI_STATUS */
1269e5787d2SMatt Macy 
1279e5787d2SMatt Macy /* bio has bi_iter */
1289e5787d2SMatt Macy /* #undef HAVE_BIO_BVEC_ITER */
1299e5787d2SMatt Macy 
1308fb96679SMartin Matuska /* bio_*_io_acct() available */
1318fb96679SMartin Matuska /* #undef HAVE_BIO_IO_ACCT */
1328fb96679SMartin Matuska 
133476ef25dSMartin Matuska /* bio_max_segs() is implemented */
134476ef25dSMartin Matuska /* #undef HAVE_BIO_MAX_SEGS */
135476ef25dSMartin Matuska 
1369e5787d2SMatt Macy /* bio_set_dev() is available */
1379e5787d2SMatt Macy /* #undef HAVE_BIO_SET_DEV */
1389e5787d2SMatt Macy 
1399e5787d2SMatt Macy /* bio_set_dev() GPL-only */
1409e5787d2SMatt Macy /* #undef HAVE_BIO_SET_DEV_GPL_ONLY */
1419e5787d2SMatt Macy 
142681ce946SMartin Matuska /* bio_set_dev() is a macro */
143681ce946SMartin Matuska /* #undef HAVE_BIO_SET_DEV_MACRO */
144681ce946SMartin Matuska 
1459e5787d2SMatt Macy /* bio_set_op_attrs is available */
1469e5787d2SMatt Macy /* #undef HAVE_BIO_SET_OP_ATTRS */
1479e5787d2SMatt Macy 
148681ce946SMartin Matuska /* blkdev_get_by_path() handles ERESTARTSYS */
149681ce946SMartin Matuska /* #undef HAVE_BLKDEV_GET_ERESTARTSYS */
150681ce946SMartin Matuska 
151e3aa18adSMartin Matuska /* blkdev_issue_discard() is available */
152e3aa18adSMartin Matuska /* #undef HAVE_BLKDEV_ISSUE_DISCARD */
153e3aa18adSMartin Matuska 
154e3aa18adSMartin Matuska /* blkdev_issue_secure_erase() is available */
155e3aa18adSMartin Matuska /* #undef HAVE_BLKDEV_ISSUE_SECURE_ERASE */
156e3aa18adSMartin Matuska 
1579e5787d2SMatt Macy /* blkdev_reread_part() exists */
1589e5787d2SMatt Macy /* #undef HAVE_BLKDEV_REREAD_PART */
1599e5787d2SMatt Macy 
1609e5787d2SMatt Macy /* blkg_tryget() is available */
1619e5787d2SMatt Macy /* #undef HAVE_BLKG_TRYGET */
1629e5787d2SMatt Macy 
1639e5787d2SMatt Macy /* blkg_tryget() GPL-only */
1649e5787d2SMatt Macy /* #undef HAVE_BLKG_TRYGET_GPL_ONLY */
1659e5787d2SMatt Macy 
1661f88aa09SMartin Matuska /* blk_alloc_disk() exists */
1671f88aa09SMartin Matuska /* #undef HAVE_BLK_ALLOC_DISK */
1681f88aa09SMartin Matuska 
1699e5787d2SMatt Macy /* blk_alloc_queue() expects request function */
1709e5787d2SMatt Macy /* #undef HAVE_BLK_ALLOC_QUEUE_REQUEST_FN */
1719e5787d2SMatt Macy 
1728fb96679SMartin Matuska /* blk_alloc_queue_rh() expects request function */
1738fb96679SMartin Matuska /* #undef HAVE_BLK_ALLOC_QUEUE_REQUEST_FN_RH */
1748fb96679SMartin Matuska 
175271171e0SMartin Matuska /* blk_cleanup_disk() exists */
176271171e0SMartin Matuska /* #undef HAVE_BLK_CLEANUP_DISK */
177271171e0SMartin Matuska 
1781f1e2261SMartin Matuska /* block multiqueue is available */
1791f1e2261SMartin Matuska /* #undef HAVE_BLK_MQ */
1801f1e2261SMartin Matuska 
1819e5787d2SMatt Macy /* blk queue backing_dev_info is dynamic */
1829e5787d2SMatt Macy /* #undef HAVE_BLK_QUEUE_BDI_DYNAMIC */
1839e5787d2SMatt Macy 
184e3aa18adSMartin Matuska /* blk_queue_discard() is available */
185e3aa18adSMartin Matuska /* #undef HAVE_BLK_QUEUE_DISCARD */
186e3aa18adSMartin Matuska 
1879e5787d2SMatt Macy /* blk_queue_flag_clear() exists */
1889e5787d2SMatt Macy /* #undef HAVE_BLK_QUEUE_FLAG_CLEAR */
1899e5787d2SMatt Macy 
1909e5787d2SMatt Macy /* blk_queue_flag_set() exists */
1919e5787d2SMatt Macy /* #undef HAVE_BLK_QUEUE_FLAG_SET */
1929e5787d2SMatt Macy 
1939e5787d2SMatt Macy /* blk_queue_flush() is available */
1949e5787d2SMatt Macy /* #undef HAVE_BLK_QUEUE_FLUSH */
1959e5787d2SMatt Macy 
1969e5787d2SMatt Macy /* blk_queue_flush() is GPL-only */
1979e5787d2SMatt Macy /* #undef HAVE_BLK_QUEUE_FLUSH_GPL_ONLY */
1989e5787d2SMatt Macy 
1999e5787d2SMatt Macy /* blk_queue_secdiscard() is available */
2009e5787d2SMatt Macy /* #undef HAVE_BLK_QUEUE_SECDISCARD */
2019e5787d2SMatt Macy 
2029e5787d2SMatt Macy /* blk_queue_secure_erase() is available */
2039e5787d2SMatt Macy /* #undef HAVE_BLK_QUEUE_SECURE_ERASE */
2049e5787d2SMatt Macy 
2056ba2210eSMartin Matuska /* blk_queue_update_readahead() exists */
2066ba2210eSMartin Matuska /* #undef HAVE_BLK_QUEUE_UPDATE_READAHEAD */
2076ba2210eSMartin Matuska 
2089e5787d2SMatt Macy /* blk_queue_write_cache() exists */
2099e5787d2SMatt Macy /* #undef HAVE_BLK_QUEUE_WRITE_CACHE */
2109e5787d2SMatt Macy 
2119e5787d2SMatt Macy /* blk_queue_write_cache() is GPL-only */
2129e5787d2SMatt Macy /* #undef HAVE_BLK_QUEUE_WRITE_CACHE_GPL_ONLY */
2139e5787d2SMatt Macy 
214476ef25dSMartin Matuska /* Define if revalidate_disk() in block_device_operations */
215476ef25dSMartin Matuska /* #undef HAVE_BLOCK_DEVICE_OPERATIONS_REVALIDATE_DISK */
216476ef25dSMartin Matuska 
2179e5787d2SMatt Macy /* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
2189e5787d2SMatt Macy    CoreFoundation framework. */
2199e5787d2SMatt Macy /* #undef HAVE_CFLOCALECOPYCURRENT */
2209e5787d2SMatt Macy 
2219e5787d2SMatt Macy /* Define to 1 if you have the Mac OS X function
2229e5787d2SMatt Macy    CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */
2239e5787d2SMatt Macy /* #undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES */
2249e5787d2SMatt Macy 
2259e5787d2SMatt Macy /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
2269e5787d2SMatt Macy    the CoreFoundation framework. */
2279e5787d2SMatt Macy /* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
2289e5787d2SMatt Macy 
2298fb96679SMartin Matuska /* check_disk_change() exists */
2308fb96679SMartin Matuska /* #undef HAVE_CHECK_DISK_CHANGE */
2318fb96679SMartin Matuska 
2329e5787d2SMatt Macy /* clear_inode() is available */
2339e5787d2SMatt Macy /* #undef HAVE_CLEAR_INODE */
2349e5787d2SMatt Macy 
2359e5787d2SMatt Macy /* dentry uses const struct dentry_operations */
2369e5787d2SMatt Macy /* #undef HAVE_CONST_DENTRY_OPERATIONS */
2379e5787d2SMatt Macy 
2388fb96679SMartin Matuska /* copy_from_iter() is available */
2398fb96679SMartin Matuska /* #undef HAVE_COPY_FROM_ITER */
2408fb96679SMartin Matuska 
2418fb96679SMartin Matuska /* copy_to_iter() is available */
2428fb96679SMartin Matuska /* #undef HAVE_COPY_TO_ITER */
2438fb96679SMartin Matuska 
244*2a58b312SMartin Matuska /* cpu_has_feature() is GPL-only */
245*2a58b312SMartin Matuska /* #undef HAVE_CPU_HAS_FEATURE_GPL_ONLY */
246*2a58b312SMartin Matuska 
2478fb96679SMartin Matuska /* yes */
2488fb96679SMartin Matuska /* #undef HAVE_CPU_HOTPLUG */
2498fb96679SMartin Matuska 
2509e5787d2SMatt Macy /* current_time() exists */
2519e5787d2SMatt Macy /* #undef HAVE_CURRENT_TIME */
2529e5787d2SMatt Macy 
2539e5787d2SMatt Macy /* Define if the GNU dcgettext() function is already present or preinstalled.
2549e5787d2SMatt Macy    */
2559e5787d2SMatt Macy /* #undef HAVE_DCGETTEXT */
2569e5787d2SMatt Macy 
2579e5787d2SMatt Macy /* DECLARE_EVENT_CLASS() is available */
2589e5787d2SMatt Macy /* #undef HAVE_DECLARE_EVENT_CLASS */
2599e5787d2SMatt Macy 
260dbd5678dSMartin Matuska /* dentry aliases are in d_u member */
261dbd5678dSMartin Matuska /* #undef HAVE_DENTRY_D_U_ALIASES */
262dbd5678dSMartin Matuska 
263f03aca96SMartin Matuska /* dequeue_signal() takes 4 arguments */
264f03aca96SMartin Matuska /* #undef HAVE_DEQUEUE_SIGNAL_4ARG */
265f03aca96SMartin Matuska 
2668fb96679SMartin Matuska /* lookup_bdev() wants dev_t arg */
2678fb96679SMartin Matuska /* #undef HAVE_DEVT_LOOKUP_BDEV */
2688fb96679SMartin Matuska 
2699e5787d2SMatt Macy /* sops->dirty_inode() wants flags */
2709e5787d2SMatt Macy /* #undef HAVE_DIRTY_INODE_WITH_FLAGS */
2719e5787d2SMatt Macy 
272476ef25dSMartin Matuska /* disk_*_io_acct() available */
273476ef25dSMartin Matuska /* #undef HAVE_DISK_IO_ACCT */
274476ef25dSMartin Matuska 
2756ba2210eSMartin Matuska /* disk_update_readahead() exists */
2766ba2210eSMartin Matuska /* #undef HAVE_DISK_UPDATE_READAHEAD */
2776ba2210eSMartin Matuska 
2789e5787d2SMatt Macy /* Define to 1 if you have the <dlfcn.h> header file. */
2799e5787d2SMatt Macy #define HAVE_DLFCN_H 1
2809e5787d2SMatt Macy 
2819e5787d2SMatt Macy /* d_make_root() is available */
2829e5787d2SMatt Macy /* #undef HAVE_D_MAKE_ROOT */
2839e5787d2SMatt Macy 
2849e5787d2SMatt Macy /* d_prune_aliases() is available */
2859e5787d2SMatt Macy /* #undef HAVE_D_PRUNE_ALIASES */
2869e5787d2SMatt Macy 
2879e5787d2SMatt Macy /* dops->d_revalidate() operation takes nameidata */
2889e5787d2SMatt Macy /* #undef HAVE_D_REVALIDATE_NAMEIDATA */
2899e5787d2SMatt Macy 
2909e5787d2SMatt Macy /* eops->encode_fh() wants child and parent inodes */
2919e5787d2SMatt Macy /* #undef HAVE_ENCODE_FH_WITH_INODE */
2929e5787d2SMatt Macy 
2939e5787d2SMatt Macy /* sops->evict_inode() exists */
2949e5787d2SMatt Macy /* #undef HAVE_EVICT_INODE */
2959e5787d2SMatt Macy 
296f03aca96SMartin Matuska /* FALLOC_FL_ZERO_RANGE is defined */
297f03aca96SMartin Matuska /* #undef HAVE_FALLOC_FL_ZERO_RANGE */
298f03aca96SMartin Matuska 
299f03aca96SMartin Matuska /* fault_in_iov_iter_readable() is available */
300f03aca96SMartin Matuska /* #undef HAVE_FAULT_IN_IOV_ITER_READABLE */
301f03aca96SMartin Matuska 
302c9539b89SMartin Matuska /* filemap_range_has_page() is available */
303c9539b89SMartin Matuska /* #undef HAVE_FILEMAP_RANGE_HAS_PAGE */
304c9539b89SMartin Matuska 
3059e5787d2SMatt Macy /* fops->aio_fsync() exists */
3069e5787d2SMatt Macy /* #undef HAVE_FILE_AIO_FSYNC */
3079e5787d2SMatt Macy 
3089e5787d2SMatt Macy /* file_dentry() is available */
3099e5787d2SMatt Macy /* #undef HAVE_FILE_DENTRY */
3109e5787d2SMatt Macy 
311c7046f76SMartin Matuska /* fops->fadvise() exists */
312c7046f76SMartin Matuska /* #undef HAVE_FILE_FADVISE */
313c7046f76SMartin Matuska 
3149e5787d2SMatt Macy /* file_inode() is available */
3159e5787d2SMatt Macy /* #undef HAVE_FILE_INODE */
3169e5787d2SMatt Macy 
317*2a58b312SMartin Matuska /* flush_dcache_page() is GPL-only */
318*2a58b312SMartin Matuska /* #undef HAVE_FLUSH_DCACHE_PAGE_GPL_ONLY */
319*2a58b312SMartin Matuska 
3209e5787d2SMatt Macy /* iops->follow_link() cookie */
3219e5787d2SMatt Macy /* #undef HAVE_FOLLOW_LINK_COOKIE */
3229e5787d2SMatt Macy 
3239e5787d2SMatt Macy /* iops->follow_link() nameidata */
3249e5787d2SMatt Macy /* #undef HAVE_FOLLOW_LINK_NAMEIDATA */
3259e5787d2SMatt Macy 
326bb2d13b6SMartin Matuska /* Define if compiler supports -Wformat-overflow */
327bb2d13b6SMartin Matuska /* #undef HAVE_FORMAT_OVERFLOW */
328bb2d13b6SMartin Matuska 
3299e5787d2SMatt Macy /* fops->fsync() with range */
3309e5787d2SMatt Macy /* #undef HAVE_FSYNC_RANGE */
3319e5787d2SMatt Macy 
3329e5787d2SMatt Macy /* fops->fsync() without dentry */
3339e5787d2SMatt Macy /* #undef HAVE_FSYNC_WITHOUT_DENTRY */
3349e5787d2SMatt Macy 
335c7046f76SMartin Matuska /* yes */
336c7046f76SMartin Matuska /* #undef HAVE_GENERIC_FADVISE */
337c7046f76SMartin Matuska 
338476ef25dSMartin Matuska /* generic_fillattr requires struct user_namespace* */
339476ef25dSMartin Matuska /* #undef HAVE_GENERIC_FILLATTR_USERNS */
340476ef25dSMartin Matuska 
3418fb96679SMartin Matuska /* generic_*_io_acct() 3 arg available */
3429e5787d2SMatt Macy /* #undef HAVE_GENERIC_IO_ACCT_3ARG */
3439e5787d2SMatt Macy 
3448fb96679SMartin Matuska /* generic_*_io_acct() 4 arg available */
3459e5787d2SMatt Macy /* #undef HAVE_GENERIC_IO_ACCT_4ARG */
3469e5787d2SMatt Macy 
3479e5787d2SMatt Macy /* generic_readlink is global */
3489e5787d2SMatt Macy /* #undef HAVE_GENERIC_READLINK */
3499e5787d2SMatt Macy 
3509e5787d2SMatt Macy /* generic_setxattr() exists */
3519e5787d2SMatt Macy /* #undef HAVE_GENERIC_SETXATTR */
3529e5787d2SMatt Macy 
3539e5787d2SMatt Macy /* generic_write_checks() takes kiocb */
3549e5787d2SMatt Macy /* #undef HAVE_GENERIC_WRITE_CHECKS_KIOCB */
3559e5787d2SMatt Macy 
3569e5787d2SMatt Macy /* Define if the GNU gettext() function is already present or preinstalled. */
3579e5787d2SMatt Macy /* #undef HAVE_GETTEXT */
3589e5787d2SMatt Macy 
3596ba2210eSMartin Matuska /* iops->get_acl() exists */
3606ba2210eSMartin Matuska /* #undef HAVE_GET_ACL */
3616ba2210eSMartin Matuska 
3626ba2210eSMartin Matuska /* iops->get_acl() takes rcu */
3636ba2210eSMartin Matuska /* #undef HAVE_GET_ACL_RCU */
3646ba2210eSMartin Matuska 
36515f0b8c3SMartin Matuska /* has iops->get_inode_acl() */
36615f0b8c3SMartin Matuska /* #undef HAVE_GET_INODE_ACL */
36715f0b8c3SMartin Matuska 
3689e5787d2SMatt Macy /* iops->get_link() cookie */
3699e5787d2SMatt Macy /* #undef HAVE_GET_LINK_COOKIE */
3709e5787d2SMatt Macy 
3719e5787d2SMatt Macy /* iops->get_link() delayed */
3729e5787d2SMatt Macy /* #undef HAVE_GET_LINK_DELAYED */
3739e5787d2SMatt Macy 
3749e5787d2SMatt Macy /* group_info->gid exists */
3759e5787d2SMatt Macy /* #undef HAVE_GROUP_INFO_GID */
3769e5787d2SMatt Macy 
3778fb96679SMartin Matuska /* has_capability() is available */
3788fb96679SMartin Matuska /* #undef HAVE_HAS_CAPABILITY */
3798fb96679SMartin Matuska 
380dbd5678dSMartin Matuska /* iattr->ia_vfsuid and iattr->ia_vfsgid exist */
381dbd5678dSMartin Matuska /* #undef HAVE_IATTR_VFSID */
382dbd5678dSMartin Matuska 
3839e5787d2SMatt Macy /* Define if you have the iconv() function and it works. */
3849e5787d2SMatt Macy #define HAVE_ICONV 1
3859e5787d2SMatt Macy 
386dbd5678dSMartin Matuska /* APIs for idmapped mount are present */
387dbd5678dSMartin Matuska /* #undef HAVE_IDMAP_MNT_API */
388dbd5678dSMartin Matuska 
389bb2d13b6SMartin Matuska /* Define if compiler supports -Wimplicit-fallthrough */
390bb2d13b6SMartin Matuska /* #undef HAVE_IMPLICIT_FALLTHROUGH */
391bb2d13b6SMartin Matuska 
392a0b956f5SMartin Matuska /* Define if compiler supports -Winfinite-recursion */
393a0b956f5SMartin Matuska /* #undef HAVE_INFINITE_RECURSION */
394a0b956f5SMartin Matuska 
3959e5787d2SMatt Macy /* yes */
3969e5787d2SMatt Macy /* #undef HAVE_INODE_LOCK_SHARED */
3979e5787d2SMatt Macy 
398476ef25dSMartin Matuska /* inode_owner_or_capable() exists */
399476ef25dSMartin Matuska /* #undef HAVE_INODE_OWNER_OR_CAPABLE */
400476ef25dSMartin Matuska 
401476ef25dSMartin Matuska /* inode_owner_or_capable() takes user_ns */
402476ef25dSMartin Matuska /* #undef HAVE_INODE_OWNER_OR_CAPABLE_IDMAPPED */
403476ef25dSMartin Matuska 
4049e5787d2SMatt Macy /* inode_set_flags() exists */
4059e5787d2SMatt Macy /* #undef HAVE_INODE_SET_FLAGS */
4069e5787d2SMatt Macy 
4079e5787d2SMatt Macy /* inode_set_iversion() exists */
4089e5787d2SMatt Macy /* #undef HAVE_INODE_SET_IVERSION */
4099e5787d2SMatt Macy 
4109e5787d2SMatt Macy /* inode->i_*time's are timespec64 */
4119e5787d2SMatt Macy /* #undef HAVE_INODE_TIMESPEC64_TIMES */
4129e5787d2SMatt Macy 
4139e5787d2SMatt Macy /* timestamp_truncate() exists */
4149e5787d2SMatt Macy /* #undef HAVE_INODE_TIMESTAMP_TRUNCATE */
4159e5787d2SMatt Macy 
4169e5787d2SMatt Macy /* Define to 1 if you have the <inttypes.h> header file. */
4179e5787d2SMatt Macy #define HAVE_INTTYPES_H 1
4189e5787d2SMatt Macy 
4199e5787d2SMatt Macy /* in_compat_syscall() is available */
4209e5787d2SMatt Macy /* #undef HAVE_IN_COMPAT_SYSCALL */
4219e5787d2SMatt Macy 
422476ef25dSMartin Matuska /* iops->create() takes struct user_namespace* */
423476ef25dSMartin Matuska /* #undef HAVE_IOPS_CREATE_USERNS */
424476ef25dSMartin Matuska 
425476ef25dSMartin Matuska /* iops->mkdir() takes struct user_namespace* */
426476ef25dSMartin Matuska /* #undef HAVE_IOPS_MKDIR_USERNS */
427476ef25dSMartin Matuska 
428476ef25dSMartin Matuska /* iops->mknod() takes struct user_namespace* */
429476ef25dSMartin Matuska /* #undef HAVE_IOPS_MKNOD_USERNS */
430476ef25dSMartin Matuska 
431716fd348SMartin Matuska /* iops->permission() takes struct user_namespace* */
432716fd348SMartin Matuska /* #undef HAVE_IOPS_PERMISSION_USERNS */
433716fd348SMartin Matuska 
434476ef25dSMartin Matuska /* iops->rename() takes struct user_namespace* */
435476ef25dSMartin Matuska /* #undef HAVE_IOPS_RENAME_USERNS */
436476ef25dSMartin Matuska 
437476ef25dSMartin Matuska /* iops->symlink() takes struct user_namespace* */
438476ef25dSMartin Matuska /* #undef HAVE_IOPS_SYMLINK_USERNS */
439476ef25dSMartin Matuska 
4408fb96679SMartin Matuska /* iov_iter_advance() is available */
4418fb96679SMartin Matuska /* #undef HAVE_IOV_ITER_ADVANCE */
4428fb96679SMartin Matuska 
4438fb96679SMartin Matuska /* iov_iter_count() is available */
4448fb96679SMartin Matuska /* #undef HAVE_IOV_ITER_COUNT */
4458fb96679SMartin Matuska 
4468fb96679SMartin Matuska /* iov_iter_fault_in_readable() is available */
4478fb96679SMartin Matuska /* #undef HAVE_IOV_ITER_FAULT_IN_READABLE */
4488fb96679SMartin Matuska 
4498fb96679SMartin Matuska /* iov_iter_revert() is available */
4508fb96679SMartin Matuska /* #undef HAVE_IOV_ITER_REVERT */
4518fb96679SMartin Matuska 
452681ce946SMartin Matuska /* iov_iter_type() is available */
453681ce946SMartin Matuska /* #undef HAVE_IOV_ITER_TYPE */
454681ce946SMartin Matuska 
4558fb96679SMartin Matuska /* iov_iter types are available */
4568fb96679SMartin Matuska /* #undef HAVE_IOV_ITER_TYPES */
4578fb96679SMartin Matuska 
4589e5787d2SMatt Macy /* yes */
4599e5787d2SMatt Macy /* #undef HAVE_IO_SCHEDULE_TIMEOUT */
4609e5787d2SMatt Macy 
4619e5787d2SMatt Macy /* Define to 1 if you have the `issetugid' function. */
4629e5787d2SMatt Macy #define HAVE_ISSETUGID 1
4639e5787d2SMatt Macy 
4649e5787d2SMatt Macy /* kernel has kernel_fpu_* functions */
4659e5787d2SMatt Macy /* #undef HAVE_KERNEL_FPU */
4669e5787d2SMatt Macy 
4679e5787d2SMatt Macy /* kernel has asm/fpu/api.h */
4689e5787d2SMatt Macy /* #undef HAVE_KERNEL_FPU_API_HEADER */
4699e5787d2SMatt Macy 
4709e5787d2SMatt Macy /* kernel fpu internal */
4719e5787d2SMatt Macy /* #undef HAVE_KERNEL_FPU_INTERNAL */
4729e5787d2SMatt Macy 
473e3aa18adSMartin Matuska /* kernel has asm/fpu/internal.h */
474e3aa18adSMartin Matuska /* #undef HAVE_KERNEL_FPU_INTERNAL_HEADER */
475e3aa18adSMartin Matuska 
4769e5787d2SMatt Macy /* uncached_acl_sentinel() exists */
4779e5787d2SMatt Macy /* #undef HAVE_KERNEL_GET_ACL_HANDLE_CACHE */
4789e5787d2SMatt Macy 
479bb2d13b6SMartin Matuska /* Define if compiler supports -Winfinite-recursion */
480bb2d13b6SMartin Matuska /* #undef HAVE_KERNEL_INFINITE_RECURSION */
481bb2d13b6SMartin Matuska 
4829e5787d2SMatt Macy /* kernel does stack verification */
4839e5787d2SMatt Macy /* #undef HAVE_KERNEL_OBJTOOL */
4849e5787d2SMatt Macy 
4858fb96679SMartin Matuska /* kernel has linux/objtool.h */
4868fb96679SMartin Matuska /* #undef HAVE_KERNEL_OBJTOOL_HEADER */
4878fb96679SMartin Matuska 
4889e5787d2SMatt Macy /* kernel_read() take loff_t pointer */
4899e5787d2SMatt Macy /* #undef HAVE_KERNEL_READ_PPOS */
4909e5787d2SMatt Macy 
4919e5787d2SMatt Macy /* timer_list.function gets a timer_list */
4929e5787d2SMatt Macy /* #undef HAVE_KERNEL_TIMER_FUNCTION_TIMER_LIST */
4939e5787d2SMatt Macy 
4949e5787d2SMatt Macy /* struct timer_list has a flags member */
4959e5787d2SMatt Macy /* #undef HAVE_KERNEL_TIMER_LIST_FLAGS */
4969e5787d2SMatt Macy 
4979e5787d2SMatt Macy /* timer_setup() is available */
4989e5787d2SMatt Macy /* #undef HAVE_KERNEL_TIMER_SETUP */
4999e5787d2SMatt Macy 
5009e5787d2SMatt Macy /* kernel_write() take loff_t pointer */
5019e5787d2SMatt Macy /* #undef HAVE_KERNEL_WRITE_PPOS */
5029e5787d2SMatt Macy 
5039e5787d2SMatt Macy /* kmem_cache_create_usercopy() exists */
5049e5787d2SMatt Macy /* #undef HAVE_KMEM_CACHE_CREATE_USERCOPY */
5059e5787d2SMatt Macy 
5069e5787d2SMatt Macy /* kstrtoul() exists */
5079e5787d2SMatt Macy /* #undef HAVE_KSTRTOUL */
5089e5787d2SMatt Macy 
5099e5787d2SMatt Macy /* ktime_get_coarse_real_ts64() exists */
5109e5787d2SMatt Macy /* #undef HAVE_KTIME_GET_COARSE_REAL_TS64 */
5119e5787d2SMatt Macy 
5129e5787d2SMatt Macy /* ktime_get_raw_ts64() exists */
5139e5787d2SMatt Macy /* #undef HAVE_KTIME_GET_RAW_TS64 */
5149e5787d2SMatt Macy 
5159e5787d2SMatt Macy /* kvmalloc exists */
5169e5787d2SMatt Macy /* #undef HAVE_KVMALLOC */
5179e5787d2SMatt Macy 
5188fb96679SMartin Matuska /* Define if you have [aio] */
5199e5787d2SMatt Macy /* #undef HAVE_LIBAIO */
5209e5787d2SMatt Macy 
5218fb96679SMartin Matuska /* Define if you have [blkid] */
5229e5787d2SMatt Macy /* #undef HAVE_LIBBLKID */
5239e5787d2SMatt Macy 
5248fb96679SMartin Matuska /* Define if you have [crypto] */
5258fb96679SMartin Matuska #define HAVE_LIBCRYPTO 1
5269e5787d2SMatt Macy 
5278fb96679SMartin Matuska /* Define if you have [tirpc] */
5289e5787d2SMatt Macy /* #undef HAVE_LIBTIRPC */
5299e5787d2SMatt Macy 
5308fb96679SMartin Matuska /* Define if you have [udev] */
5319e5787d2SMatt Macy /* #undef HAVE_LIBUDEV */
5329e5787d2SMatt Macy 
5338fb96679SMartin Matuska /* Define if you have [uuid] */
5349e5787d2SMatt Macy /* #undef HAVE_LIBUUID */
5359e5787d2SMatt Macy 
536681ce946SMartin Matuska /* linux/blk-cgroup.h exists */
537681ce946SMartin Matuska /* #undef HAVE_LINUX_BLK_CGROUP_HEADER */
538681ce946SMartin Matuska 
5399e5787d2SMatt Macy /* lseek_execute() is available */
5409e5787d2SMatt Macy /* #undef HAVE_LSEEK_EXECUTE */
5419e5787d2SMatt Macy 
5429e5787d2SMatt Macy /* makedev() is declared in sys/mkdev.h */
5439e5787d2SMatt Macy /* #undef HAVE_MAKEDEV_IN_MKDEV */
5449e5787d2SMatt Macy 
5459e5787d2SMatt Macy /* makedev() is declared in sys/sysmacros.h */
5469e5787d2SMatt Macy /* #undef HAVE_MAKEDEV_IN_SYSMACROS */
5479e5787d2SMatt Macy 
5489e5787d2SMatt Macy /* Noting that make_request_fn() returns blk_qc_t */
5499e5787d2SMatt Macy /* #undef HAVE_MAKE_REQUEST_FN_RET_QC */
5509e5787d2SMatt Macy 
5519e5787d2SMatt Macy /* Noting that make_request_fn() returns void */
5529e5787d2SMatt Macy /* #undef HAVE_MAKE_REQUEST_FN_RET_VOID */
5539e5787d2SMatt Macy 
554476ef25dSMartin Matuska /* iops->mkdir() takes umode_t */
5559e5787d2SMatt Macy /* #undef HAVE_MKDIR_UMODE_T */
5569e5787d2SMatt Macy 
5579e5787d2SMatt Macy /* Define to 1 if you have the `mlockall' function. */
5589e5787d2SMatt Macy #define HAVE_MLOCKALL 1
5599e5787d2SMatt Macy 
5608fb96679SMartin Matuska /* lookup_bdev() wants mode arg */
5618fb96679SMartin Matuska /* #undef HAVE_MODE_LOOKUP_BDEV */
5628fb96679SMartin Matuska 
5639e5787d2SMatt Macy /* Define if host toolchain supports MOVBE */
5649e5787d2SMatt Macy #define HAVE_MOVBE 1
5659e5787d2SMatt Macy 
5669e5787d2SMatt Macy /* new_sync_read()/new_sync_write() are available */
5679e5787d2SMatt Macy /* #undef HAVE_NEW_SYNC_READ */
5689e5787d2SMatt Macy 
569681ce946SMartin Matuska /* folio_wait_bit() exists */
570681ce946SMartin Matuska /* #undef HAVE_PAGEMAP_FOLIO_WAIT_BIT */
571681ce946SMartin Matuska 
572be181ee2SMartin Matuska /* part_to_dev() exists */
573be181ee2SMartin Matuska /* #undef HAVE_PART_TO_DEV */
574be181ee2SMartin Matuska 
5759e5787d2SMatt Macy /* iops->getattr() takes a path */
5769e5787d2SMatt Macy /* #undef HAVE_PATH_IOPS_GETATTR */
5779e5787d2SMatt Macy 
5789e5787d2SMatt Macy /* Define if host toolchain supports PCLMULQDQ */
5799e5787d2SMatt Macy #define HAVE_PCLMULQDQ 1
5809e5787d2SMatt Macy 
581476ef25dSMartin Matuska /* percpu_counter_add_batch() is defined */
582476ef25dSMartin Matuska /* #undef HAVE_PERCPU_COUNTER_ADD_BATCH */
583476ef25dSMartin Matuska 
5848fb96679SMartin Matuska /* percpu_counter_init() wants gfp_t */
5858fb96679SMartin Matuska /* #undef HAVE_PERCPU_COUNTER_INIT_WITH_GFP */
5868fb96679SMartin Matuska 
5879e5787d2SMatt Macy /* posix_acl_chmod() exists */
5889e5787d2SMatt Macy /* #undef HAVE_POSIX_ACL_CHMOD */
5899e5787d2SMatt Macy 
5909e5787d2SMatt Macy /* posix_acl_from_xattr() needs user_ns */
5919e5787d2SMatt Macy /* #undef HAVE_POSIX_ACL_FROM_XATTR_USERNS */
5929e5787d2SMatt Macy 
5939e5787d2SMatt Macy /* posix_acl_release() is available */
5949e5787d2SMatt Macy /* #undef HAVE_POSIX_ACL_RELEASE */
5959e5787d2SMatt Macy 
5969e5787d2SMatt Macy /* posix_acl_release() is GPL-only */
5979e5787d2SMatt Macy /* #undef HAVE_POSIX_ACL_RELEASE_GPL_ONLY */
5989e5787d2SMatt Macy 
5999e5787d2SMatt Macy /* posix_acl_valid() wants user namespace */
6009e5787d2SMatt Macy /* #undef HAVE_POSIX_ACL_VALID_WITH_NS */
6019e5787d2SMatt Macy 
6029e5787d2SMatt Macy /* proc_ops structure exists */
6039e5787d2SMatt Macy /* #undef HAVE_PROC_OPS_STRUCT */
6049e5787d2SMatt Macy 
6059e5787d2SMatt Macy /* iops->put_link() cookie */
6069e5787d2SMatt Macy /* #undef HAVE_PUT_LINK_COOKIE */
6079e5787d2SMatt Macy 
6089e5787d2SMatt Macy /* iops->put_link() delayed */
6099e5787d2SMatt Macy /* #undef HAVE_PUT_LINK_DELAYED */
6109e5787d2SMatt Macy 
6119e5787d2SMatt Macy /* iops->put_link() nameidata */
6129e5787d2SMatt Macy /* #undef HAVE_PUT_LINK_NAMEIDATA */
6139e5787d2SMatt Macy 
6149e5787d2SMatt Macy /* If available, contains the Python version number currently in use. */
6159e5787d2SMatt Macy #define HAVE_PYTHON "3.7"
6169e5787d2SMatt Macy 
6179e5787d2SMatt Macy /* qat is enabled and existed */
6189e5787d2SMatt Macy /* #undef HAVE_QAT */
6199e5787d2SMatt Macy 
620271171e0SMartin Matuska /* register_shrinker is vararg */
621271171e0SMartin Matuska /* #undef HAVE_REGISTER_SHRINKER_VARARG */
622271171e0SMartin Matuska 
623dbd5678dSMartin Matuska /* iops->rename2() exists */
624dbd5678dSMartin Matuska /* #undef HAVE_RENAME2 */
625dbd5678dSMartin Matuska 
626dbd5678dSMartin Matuska /* struct inode_operations_wrapper takes .rename2() */
627dbd5678dSMartin Matuska /* #undef HAVE_RENAME2_OPERATIONS_WRAPPER */
628dbd5678dSMartin Matuska 
6299e5787d2SMatt Macy /* iops->rename() wants flags */
6309e5787d2SMatt Macy /* #undef HAVE_RENAME_WANTS_FLAGS */
6319e5787d2SMatt Macy 
6329e5787d2SMatt Macy /* REQ_DISCARD is defined */
6339e5787d2SMatt Macy /* #undef HAVE_REQ_DISCARD */
6349e5787d2SMatt Macy 
6359e5787d2SMatt Macy /* REQ_FLUSH is defined */
6369e5787d2SMatt Macy /* #undef HAVE_REQ_FLUSH */
6379e5787d2SMatt Macy 
6389e5787d2SMatt Macy /* REQ_OP_DISCARD is defined */
6399e5787d2SMatt Macy /* #undef HAVE_REQ_OP_DISCARD */
6409e5787d2SMatt Macy 
6419e5787d2SMatt Macy /* REQ_OP_FLUSH is defined */
6429e5787d2SMatt Macy /* #undef HAVE_REQ_OP_FLUSH */
6439e5787d2SMatt Macy 
6449e5787d2SMatt Macy /* REQ_OP_SECURE_ERASE is defined */
6459e5787d2SMatt Macy /* #undef HAVE_REQ_OP_SECURE_ERASE */
6469e5787d2SMatt Macy 
6479e5787d2SMatt Macy /* REQ_PREFLUSH is defined */
6489e5787d2SMatt Macy /* #undef HAVE_REQ_PREFLUSH */
6499e5787d2SMatt Macy 
6508fb96679SMartin Matuska /* revalidate_disk() is available */
6518fb96679SMartin Matuska /* #undef HAVE_REVALIDATE_DISK */
6528fb96679SMartin Matuska 
6538fb96679SMartin Matuska /* revalidate_disk_size() is available */
6548fb96679SMartin Matuska /* #undef HAVE_REVALIDATE_DISK_SIZE */
6558fb96679SMartin Matuska 
6569e5787d2SMatt Macy /* struct rw_semaphore has member activity */
6579e5787d2SMatt Macy /* #undef HAVE_RWSEM_ACTIVITY */
6589e5787d2SMatt Macy 
6599e5787d2SMatt Macy /* struct rw_semaphore has atomic_long_t member count */
6609e5787d2SMatt Macy /* #undef HAVE_RWSEM_ATOMIC_LONG_COUNT */
6619e5787d2SMatt Macy 
6629e5787d2SMatt Macy /* linux/sched/signal.h exists */
6639e5787d2SMatt Macy /* #undef HAVE_SCHED_SIGNAL_HEADER */
6649e5787d2SMatt Macy 
6658fb96679SMartin Matuska /* Define to 1 if you have the <security/pam_modules.h> header file. */
6668fb96679SMartin Matuska #define HAVE_SECURITY_PAM_MODULES_H 1
6678fb96679SMartin Matuska 
668476ef25dSMartin Matuska /* setattr_prepare() is available, doesn't accept user_namespace */
669476ef25dSMartin Matuska /* #undef HAVE_SETATTR_PREPARE_NO_USERNS */
6709e5787d2SMatt Macy 
671476ef25dSMartin Matuska /* setattr_prepare() accepts user_namespace */
672476ef25dSMartin Matuska /* #undef HAVE_SETATTR_PREPARE_USERNS */
673476ef25dSMartin Matuska 
674476ef25dSMartin Matuska /* iops->set_acl() exists, takes 3 args */
6759e5787d2SMatt Macy /* #undef HAVE_SET_ACL */
6769e5787d2SMatt Macy 
677476ef25dSMartin Matuska /* iops->set_acl() takes 4 args */
678476ef25dSMartin Matuska /* #undef HAVE_SET_ACL_USERNS */
679476ef25dSMartin Matuska 
68015f0b8c3SMartin Matuska /* iops->set_acl() takes 4 args, arg2 is struct dentry * */
68115f0b8c3SMartin Matuska /* #undef HAVE_SET_ACL_USERNS_DENTRY_ARG2 */
68215f0b8c3SMartin Matuska 
6839e5787d2SMatt Macy /* set_cached_acl() is usable */
6849e5787d2SMatt Macy /* #undef HAVE_SET_CACHED_ACL_USABLE */
6859e5787d2SMatt Macy 
686476ef25dSMartin Matuska /* set_special_state() exists */
687476ef25dSMartin Matuska /* #undef HAVE_SET_SPECIAL_STATE */
688476ef25dSMartin Matuska 
6899e5787d2SMatt Macy /* struct shrink_control exists */
6909e5787d2SMatt Macy /* #undef HAVE_SHRINK_CONTROL_STRUCT */
6919e5787d2SMatt Macy 
692476ef25dSMartin Matuska /* kernel_siginfo_t exists */
693476ef25dSMartin Matuska /* #undef HAVE_SIGINFO */
694476ef25dSMartin Matuska 
695476ef25dSMartin Matuska /* signal_stop() exists */
696476ef25dSMartin Matuska /* #undef HAVE_SIGNAL_STOP */
697476ef25dSMartin Matuska 
6989e5787d2SMatt Macy /* new shrinker callback wants 2 args */
6999e5787d2SMatt Macy /* #undef HAVE_SINGLE_SHRINKER_CALLBACK */
7009e5787d2SMatt Macy 
701e3aa18adSMartin Matuska /* cs->count_objects exists */
7029e5787d2SMatt Macy /* #undef HAVE_SPLIT_SHRINKER_CALLBACK */
7039e5787d2SMatt Macy 
7049e5787d2SMatt Macy #if defined(__amd64__) || defined(__i386__)
7059e5787d2SMatt Macy /* Define if host toolchain supports SSE */
7069e5787d2SMatt Macy #define HAVE_SSE 1
7079e5787d2SMatt Macy 
7089e5787d2SMatt Macy /* Define if host toolchain supports SSE2 */
7099e5787d2SMatt Macy #define HAVE_SSE2 1
7109e5787d2SMatt Macy 
7119e5787d2SMatt Macy /* Define if host toolchain supports SSE3 */
7129e5787d2SMatt Macy #define HAVE_SSE3 1
7139e5787d2SMatt Macy 
7149e5787d2SMatt Macy /* Define if host toolchain supports SSE4.1 */
7159e5787d2SMatt Macy #define HAVE_SSE4_1 1
7169e5787d2SMatt Macy 
7179e5787d2SMatt Macy /* Define if host toolchain supports SSE4.2 */
7189e5787d2SMatt Macy #define HAVE_SSE4_2 1
7199e5787d2SMatt Macy 
7209e5787d2SMatt Macy /* Define if host toolchain supports SSSE3 */
7219e5787d2SMatt Macy #define HAVE_SSSE3 1
7229e5787d2SMatt Macy #endif
7239e5787d2SMatt Macy 
7249e5787d2SMatt Macy /* STACK_FRAME_NON_STANDARD is defined */
7259e5787d2SMatt Macy /* #undef HAVE_STACK_FRAME_NON_STANDARD */
7269e5787d2SMatt Macy 
7276ba2210eSMartin Matuska /* standalone <linux/stdarg.h> exists */
7286ba2210eSMartin Matuska /* #undef HAVE_STANDALONE_LINUX_STDARG */
7296ba2210eSMartin Matuska 
7309e5787d2SMatt Macy /* Define to 1 if you have the <stdint.h> header file. */
7319e5787d2SMatt Macy #define HAVE_STDINT_H 1
7329e5787d2SMatt Macy 
733271171e0SMartin Matuska /* Define to 1 if you have the <stdio.h> header file. */
734271171e0SMartin Matuska #define HAVE_STDIO_H 1
735271171e0SMartin Matuska 
7369e5787d2SMatt Macy /* Define to 1 if you have the <stdlib.h> header file. */
7379e5787d2SMatt Macy #define HAVE_STDLIB_H 1
7389e5787d2SMatt Macy 
7399e5787d2SMatt Macy /* Define to 1 if you have the <strings.h> header file. */
7409e5787d2SMatt Macy #define HAVE_STRINGS_H 1
7419e5787d2SMatt Macy 
7429e5787d2SMatt Macy /* Define to 1 if you have the <string.h> header file. */
7439e5787d2SMatt Macy #define HAVE_STRING_H 1
7449e5787d2SMatt Macy 
7459e5787d2SMatt Macy /* Define to 1 if you have the `strlcat' function. */
7469e5787d2SMatt Macy #define HAVE_STRLCAT 1
7479e5787d2SMatt Macy 
7489e5787d2SMatt Macy /* Define to 1 if you have the `strlcpy' function. */
7499e5787d2SMatt Macy #define HAVE_STRLCPY 1
7509e5787d2SMatt Macy 
7518fb96679SMartin Matuska /* submit_bio is member of struct block_device_operations */
7528fb96679SMartin Matuska /* #undef HAVE_SUBMIT_BIO_IN_BLOCK_DEVICE_OPERATIONS */
7538fb96679SMartin Matuska 
7549e5787d2SMatt Macy /* super_setup_bdi_name() exits */
7559e5787d2SMatt Macy /* #undef HAVE_SUPER_SETUP_BDI_NAME */
7569e5787d2SMatt Macy 
7579e5787d2SMatt Macy /* super_block->s_user_ns exists */
7589e5787d2SMatt Macy /* #undef HAVE_SUPER_USER_NS */
7599e5787d2SMatt Macy 
760716fd348SMartin Matuska /* struct kobj_type has default_groups */
761716fd348SMartin Matuska /* #undef HAVE_SYSFS_DEFAULT_GROUPS */
762716fd348SMartin Matuska 
7639e5787d2SMatt Macy /* Define to 1 if you have the <sys/stat.h> header file. */
7649e5787d2SMatt Macy #define HAVE_SYS_STAT_H 1
7659e5787d2SMatt Macy 
7669e5787d2SMatt Macy /* Define to 1 if you have the <sys/types.h> header file. */
7679e5787d2SMatt Macy #define HAVE_SYS_TYPES_H 1
7689e5787d2SMatt Macy 
7699e5787d2SMatt Macy /* i_op->tmpfile() exists */
7709e5787d2SMatt Macy /* #undef HAVE_TMPFILE */
7719e5787d2SMatt Macy 
77215f0b8c3SMartin Matuska /* i_op->tmpfile() uses old dentry signature */
77315f0b8c3SMartin Matuska /* #undef HAVE_TMPFILE_DENTRY */
77415f0b8c3SMartin Matuska 
775476ef25dSMartin Matuska /* i_op->tmpfile() has userns */
776476ef25dSMartin Matuska /* #undef HAVE_TMPFILE_USERNS */
777476ef25dSMartin Matuska 
7789e5787d2SMatt Macy /* totalhigh_pages() exists */
7799e5787d2SMatt Macy /* #undef HAVE_TOTALHIGH_PAGES */
7809e5787d2SMatt Macy 
7819e5787d2SMatt Macy /* kernel has totalram_pages() */
7829e5787d2SMatt Macy /* #undef HAVE_TOTALRAM_PAGES_FUNC */
7839e5787d2SMatt Macy 
7848fb96679SMartin Matuska /* Define to 1 if you have the `udev_device_get_is_initialized' function. */
7858fb96679SMartin Matuska /* #undef HAVE_UDEV_DEVICE_GET_IS_INITIALIZED */
7868fb96679SMartin Matuska 
7879e5787d2SMatt Macy /* kernel has __kernel_fpu_* functions */
7889e5787d2SMatt Macy /* #undef HAVE_UNDERSCORE_KERNEL_FPU */
7899e5787d2SMatt Macy 
7909e5787d2SMatt Macy /* Define to 1 if you have the <unistd.h> header file. */
7919e5787d2SMatt Macy #define HAVE_UNISTD_H 1
7929e5787d2SMatt Macy 
793476ef25dSMartin Matuska /* iops->getattr() takes struct user_namespace* */
794476ef25dSMartin Matuska /* #undef HAVE_USERNS_IOPS_GETATTR */
795476ef25dSMartin Matuska 
7961f1e2261SMartin Matuska /* user_namespace->ns.inum exists */
7971f1e2261SMartin Matuska /* #undef HAVE_USER_NS_COMMON_INUM */
7981f1e2261SMartin Matuska 
7999e5787d2SMatt Macy /* iops->getattr() takes a vfsmount */
8009e5787d2SMatt Macy /* #undef HAVE_VFSMOUNT_IOPS_GETATTR */
8019e5787d2SMatt Macy 
8029e5787d2SMatt Macy /* aops->direct_IO() uses iovec */
8039e5787d2SMatt Macy /* #undef HAVE_VFS_DIRECT_IO_IOVEC */
8049e5787d2SMatt Macy 
8059e5787d2SMatt Macy /* aops->direct_IO() uses iov_iter without rw */
8069e5787d2SMatt Macy /* #undef HAVE_VFS_DIRECT_IO_ITER */
8079e5787d2SMatt Macy 
8089e5787d2SMatt Macy /* aops->direct_IO() uses iov_iter with offset */
8099e5787d2SMatt Macy /* #undef HAVE_VFS_DIRECT_IO_ITER_OFFSET */
8109e5787d2SMatt Macy 
8119e5787d2SMatt Macy /* aops->direct_IO() uses iov_iter with rw and offset */
8129e5787d2SMatt Macy /* #undef HAVE_VFS_DIRECT_IO_ITER_RW_OFFSET */
8139e5787d2SMatt Macy 
814716fd348SMartin Matuska /* filemap_dirty_folio exists */
815716fd348SMartin Matuska /* #undef HAVE_VFS_FILEMAP_DIRTY_FOLIO */
816716fd348SMartin Matuska 
8178fb96679SMartin Matuska /* All required iov_iter interfaces are available */
8188fb96679SMartin Matuska /* #undef HAVE_VFS_IOV_ITER */
8198fb96679SMartin Matuska 
8209e5787d2SMatt Macy /* fops->iterate() is available */
8219e5787d2SMatt Macy /* #undef HAVE_VFS_ITERATE */
8229e5787d2SMatt Macy 
8239e5787d2SMatt Macy /* fops->iterate_shared() is available */
8249e5787d2SMatt Macy /* #undef HAVE_VFS_ITERATE_SHARED */
8259e5787d2SMatt Macy 
8269e5787d2SMatt Macy /* fops->readdir() is available */
8279e5787d2SMatt Macy /* #undef HAVE_VFS_READDIR */
8289e5787d2SMatt Macy 
829716fd348SMartin Matuska /* address_space_operations->readpages exists */
830716fd348SMartin Matuska /* #undef HAVE_VFS_READPAGES */
831716fd348SMartin Matuska 
832e3aa18adSMartin Matuska /* read_folio exists */
833e3aa18adSMartin Matuska /* #undef HAVE_VFS_READ_FOLIO */
834e3aa18adSMartin Matuska 
8359e5787d2SMatt Macy /* fops->read/write_iter() are available */
8369e5787d2SMatt Macy /* #undef HAVE_VFS_RW_ITERATE */
8379e5787d2SMatt Macy 
8381f88aa09SMartin Matuska /* __set_page_dirty_nobuffers exists */
8391f88aa09SMartin Matuska /* #undef HAVE_VFS_SET_PAGE_DIRTY_NOBUFFERS */
8401f88aa09SMartin Matuska 
8419e5787d2SMatt Macy /* __vmalloc page flags exists */
8429e5787d2SMatt Macy /* #undef HAVE_VMALLOC_PAGE_KERNEL */
8439e5787d2SMatt Macy 
8449e5787d2SMatt Macy /* yes */
8459e5787d2SMatt Macy /* #undef HAVE_WAIT_ON_BIT_ACTION */
8469e5787d2SMatt Macy 
8479e5787d2SMatt Macy /* wait_queue_entry_t exists */
8489e5787d2SMatt Macy /* #undef HAVE_WAIT_QUEUE_ENTRY_T */
8499e5787d2SMatt Macy 
8509e5787d2SMatt Macy /* wq_head->head and wq_entry->entry exist */
8519e5787d2SMatt Macy /* #undef HAVE_WAIT_QUEUE_HEAD_ENTRY */
8529e5787d2SMatt Macy 
8539e5787d2SMatt Macy /* xattr_handler->get() wants dentry */
8549e5787d2SMatt Macy /* #undef HAVE_XATTR_GET_DENTRY */
8559e5787d2SMatt Macy 
8569e5787d2SMatt Macy /* xattr_handler->get() wants both dentry and inode */
8579e5787d2SMatt Macy /* #undef HAVE_XATTR_GET_DENTRY_INODE */
8589e5787d2SMatt Macy 
859c7046f76SMartin Matuska /* xattr_handler->get() wants dentry and inode and flags */
860c7046f76SMartin Matuska /* #undef HAVE_XATTR_GET_DENTRY_INODE_FLAGS */
861c7046f76SMartin Matuska 
8629e5787d2SMatt Macy /* xattr_handler->get() wants xattr_handler */
8639e5787d2SMatt Macy /* #undef HAVE_XATTR_GET_HANDLER */
8649e5787d2SMatt Macy 
8659e5787d2SMatt Macy /* xattr_handler has name */
8669e5787d2SMatt Macy /* #undef HAVE_XATTR_HANDLER_NAME */
8679e5787d2SMatt Macy 
8689e5787d2SMatt Macy /* xattr_handler->list() wants dentry */
8699e5787d2SMatt Macy /* #undef HAVE_XATTR_LIST_DENTRY */
8709e5787d2SMatt Macy 
8719e5787d2SMatt Macy /* xattr_handler->list() wants xattr_handler */
8729e5787d2SMatt Macy /* #undef HAVE_XATTR_LIST_HANDLER */
8739e5787d2SMatt Macy 
8749e5787d2SMatt Macy /* xattr_handler->list() wants simple */
8759e5787d2SMatt Macy /* #undef HAVE_XATTR_LIST_SIMPLE */
8769e5787d2SMatt Macy 
8779e5787d2SMatt Macy /* xattr_handler->set() wants dentry */
8789e5787d2SMatt Macy /* #undef HAVE_XATTR_SET_DENTRY */
8799e5787d2SMatt Macy 
8809e5787d2SMatt Macy /* xattr_handler->set() wants both dentry and inode */
8819e5787d2SMatt Macy /* #undef HAVE_XATTR_SET_DENTRY_INODE */
8829e5787d2SMatt Macy 
8839e5787d2SMatt Macy /* xattr_handler->set() wants xattr_handler */
8849e5787d2SMatt Macy /* #undef HAVE_XATTR_SET_HANDLER */
8859e5787d2SMatt Macy 
886476ef25dSMartin Matuska /* xattr_handler->set() takes user_namespace */
887476ef25dSMartin Matuska /* #undef HAVE_XATTR_SET_USERNS */
888476ef25dSMartin Matuska 
889f03aca96SMartin Matuska /* Define if host toolchain supports XSAVE */
890f03aca96SMartin Matuska #define HAVE_XSAVE 1
891f03aca96SMartin Matuska 
892f03aca96SMartin Matuska /* Define if host toolchain supports XSAVEOPT */
893f03aca96SMartin Matuska #define HAVE_XSAVEOPT 1
894f03aca96SMartin Matuska 
895f03aca96SMartin Matuska /* Define if host toolchain supports XSAVES */
896f03aca96SMartin Matuska #define HAVE_XSAVES 1
897f03aca96SMartin Matuska 
8988d0b6a7dSMartin Matuska /* ZERO_PAGE() is GPL-only */
8998d0b6a7dSMartin Matuska /* #undef HAVE_ZERO_PAGE_GPL_ONLY */
9008d0b6a7dSMartin Matuska 
9018fb96679SMartin Matuska /* Define if you have [z] */
9029e5787d2SMatt Macy #define HAVE_ZLIB 1
9039e5787d2SMatt Macy 
9049e5787d2SMatt Macy /* __posix_acl_chmod() exists */
9059e5787d2SMatt Macy /* #undef HAVE___POSIX_ACL_CHMOD */
9069e5787d2SMatt Macy 
9079e5787d2SMatt Macy /* kernel exports FPU functions */
9089e5787d2SMatt Macy /* #undef KERNEL_EXPORTS_X86_FPU */
9099e5787d2SMatt Macy 
910476ef25dSMartin Matuska /* TBD: fetch(3) support */
911476ef25dSMartin Matuska #if 0
912476ef25dSMartin Matuska /* whether the chosen libfetch is to be loaded at run-time */
913476ef25dSMartin Matuska #define LIBFETCH_DYNAMIC 1
914476ef25dSMartin Matuska 
915476ef25dSMartin Matuska /* libfetch is fetch(3) */
916476ef25dSMartin Matuska #define LIBFETCH_IS_FETCH 1
917476ef25dSMartin Matuska 
918476ef25dSMartin Matuska /* libfetch is libcurl */
919476ef25dSMartin Matuska #define LIBFETCH_IS_LIBCURL 0
920476ef25dSMartin Matuska 
921476ef25dSMartin Matuska /* soname of chosen libfetch */
922476ef25dSMartin Matuska #define LIBFETCH_SONAME "libfetch.so.6"
923476ef25dSMartin Matuska #endif
924476ef25dSMartin Matuska 
9259e5787d2SMatt Macy /* Define to the sub-directory where libtool stores uninstalled libraries. */
9269e5787d2SMatt Macy #define LT_OBJDIR ".libs/"
9279e5787d2SMatt Macy 
9289e5787d2SMatt Macy /* make_request_fn() return type */
9299e5787d2SMatt Macy /* #undef MAKE_REQUEST_FN_RET */
9309e5787d2SMatt Macy 
9319e5787d2SMatt Macy /* struct shrink_control has nid */
9329e5787d2SMatt Macy /* #undef SHRINK_CONTROL_HAS_NID */
9339e5787d2SMatt Macy 
934f03aca96SMartin Matuska /* using complete_and_exit() instead */
935f03aca96SMartin Matuska /* #undef SPL_KTHREAD_COMPLETE_AND_EXIT */
936f03aca96SMartin Matuska 
9379e5787d2SMatt Macy /* Defined for legacy compatibility. */
9389e5787d2SMatt Macy #define SPL_META_ALIAS ZFS_META_ALIAS
9399e5787d2SMatt Macy 
9409e5787d2SMatt Macy /* Defined for legacy compatibility. */
9419e5787d2SMatt Macy #define SPL_META_RELEASE ZFS_META_RELEASE
9429e5787d2SMatt Macy 
9439e5787d2SMatt Macy /* Defined for legacy compatibility. */
9449e5787d2SMatt Macy #define SPL_META_VERSION ZFS_META_VERSION
9459e5787d2SMatt Macy 
946f03aca96SMartin Matuska /* pde_data() is PDE_DATA() */
947f03aca96SMartin Matuska /* #undef SPL_PDE_DATA */
948f03aca96SMartin Matuska 
949271171e0SMartin Matuska /* Define to 1 if all of the C90 standard headers exist (not just the ones
950271171e0SMartin Matuska    required in a freestanding environment). This macro is provided for
951271171e0SMartin Matuska    backward compatibility; new code need not use it. */
9529e5787d2SMatt Macy #define SYSTEM_FREEBSD 1
9539e5787d2SMatt Macy 
9549e5787d2SMatt Macy /* True if ZFS is to be compiled for a Linux system */
9559e5787d2SMatt Macy /* #undef SYSTEM_LINUX */
9569e5787d2SMatt Macy 
957271171e0SMartin Matuska /* Version number of package */
9588fb96679SMartin Matuska /* #undef ZFS_DEBUG */
9599e5787d2SMatt Macy 
9609e5787d2SMatt Macy /* /dev/zfs minor */
9619e5787d2SMatt Macy /* #undef ZFS_DEVICE_MINOR */
9629e5787d2SMatt Macy 
9639e5787d2SMatt Macy /* enum node_stat_item contains NR_FILE_PAGES */
9649e5787d2SMatt Macy /* #undef ZFS_ENUM_NODE_STAT_ITEM_NR_FILE_PAGES */
9659e5787d2SMatt Macy 
9669e5787d2SMatt Macy /* enum node_stat_item contains NR_INACTIVE_ANON */
9679e5787d2SMatt Macy /* #undef ZFS_ENUM_NODE_STAT_ITEM_NR_INACTIVE_ANON */
9689e5787d2SMatt Macy 
9699e5787d2SMatt Macy /* enum node_stat_item contains NR_INACTIVE_FILE */
9709e5787d2SMatt Macy /* #undef ZFS_ENUM_NODE_STAT_ITEM_NR_INACTIVE_FILE */
9719e5787d2SMatt Macy 
9729e5787d2SMatt Macy /* enum zone_stat_item contains NR_FILE_PAGES */
9739e5787d2SMatt Macy /* #undef ZFS_ENUM_ZONE_STAT_ITEM_NR_FILE_PAGES */
9749e5787d2SMatt Macy 
9759e5787d2SMatt Macy /* enum zone_stat_item contains NR_INACTIVE_ANON */
9769e5787d2SMatt Macy /* #undef ZFS_ENUM_ZONE_STAT_ITEM_NR_INACTIVE_ANON */
9779e5787d2SMatt Macy 
9789e5787d2SMatt Macy /* enum zone_stat_item contains NR_INACTIVE_FILE */
9799e5787d2SMatt Macy /* #undef ZFS_ENUM_ZONE_STAT_ITEM_NR_INACTIVE_FILE */
9809e5787d2SMatt Macy 
981716fd348SMartin Matuska /* GENHD_FL_EXT_DEVT flag is not available */
982716fd348SMartin Matuska /* #undef ZFS_GENHD_FL_EXT_DEVT */
983716fd348SMartin Matuska 
984716fd348SMartin Matuska /* GENHD_FL_NO_PART_SCAN flag is available */
985716fd348SMartin Matuska /* #undef ZFS_GENHD_FL_NO_PART */
986716fd348SMartin Matuska 
9879e5787d2SMatt Macy /* global_node_page_state() exists */
9889e5787d2SMatt Macy /* #undef ZFS_GLOBAL_NODE_PAGE_STATE */
9899e5787d2SMatt Macy 
9909e5787d2SMatt Macy /* global_zone_page_state() exists */
9919e5787d2SMatt Macy /* #undef ZFS_GLOBAL_ZONE_PAGE_STATE */
9929e5787d2SMatt Macy 
9939e5787d2SMatt Macy /* Define to 1 if GPL-only symbols can be used */
9949e5787d2SMatt Macy /* #undef ZFS_IS_GPL_COMPATIBLE */
9959e5787d2SMatt Macy 
9969e5787d2SMatt Macy /* Define the project alias string. */
997*2a58b312SMartin Matuska #define ZFS_META_ALIAS "zfs-2.1.99-FreeBSD_g431083f75"
9989e5787d2SMatt Macy 
9999e5787d2SMatt Macy /* Define the project author. */
10008fb96679SMartin Matuska #define ZFS_META_AUTHOR "OpenZFS"
10019e5787d2SMatt Macy 
10029e5787d2SMatt Macy /* Define the project release date. */
10039e5787d2SMatt Macy /* #undef ZFS_META_DATA */
10049e5787d2SMatt Macy 
10059e5787d2SMatt Macy /* Define the maximum compatible kernel version. */
100615f0b8c3SMartin Matuska #define ZFS_META_KVER_MAX "6.1"
10079e5787d2SMatt Macy 
10089e5787d2SMatt Macy /* Define the minimum compatible kernel version. */
10099e5787d2SMatt Macy #define ZFS_META_KVER_MIN "3.10"
10109e5787d2SMatt Macy 
10119e5787d2SMatt Macy /* Define the project license. */
10129e5787d2SMatt Macy #define ZFS_META_LICENSE "CDDL"
10139e5787d2SMatt Macy 
10149e5787d2SMatt Macy /* Define the libtool library 'age' version information. */
10159e5787d2SMatt Macy /* #undef ZFS_META_LT_AGE */
10169e5787d2SMatt Macy 
10179e5787d2SMatt Macy /* Define the libtool library 'current' version information. */
10189e5787d2SMatt Macy /* #undef ZFS_META_LT_CURRENT */
10199e5787d2SMatt Macy 
10209e5787d2SMatt Macy /* Define the libtool library 'revision' version information. */
10219e5787d2SMatt Macy /* #undef ZFS_META_LT_REVISION */
10229e5787d2SMatt Macy 
10239e5787d2SMatt Macy /* Define the project name. */
10249e5787d2SMatt Macy #define ZFS_META_NAME "zfs"
10259e5787d2SMatt Macy 
10269e5787d2SMatt Macy /* Define the project release. */
1027*2a58b312SMartin Matuska #define ZFS_META_RELEASE "FreeBSD_g431083f75"
10289e5787d2SMatt Macy 
10299e5787d2SMatt Macy /* Define the project version. */
103016038816SMartin Matuska #define ZFS_META_VERSION "2.1.99"
10318fb96679SMartin Matuska 
10328fb96679SMartin Matuska /* count is located in percpu_ref.data */
10338fb96679SMartin Matuska /* #undef ZFS_PERCPU_REF_COUNT_IN_DATA */
1034