]>
git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - zfs/zfs_config.h.in
1 /* zfs_config.h.in. Generated from configure.ac by autoheader. */
3 /* bio_end_io_t wants 1 arg */
4 #undef HAVE_1ARG_BIO_END_IO_T
6 /* invalidate_bdev() wants 1 arg */
7 #undef HAVE_1ARG_INVALIDATE_BDEV
9 /* kmap_atomic wants 1 args */
10 #undef HAVE_1ARG_KMAP_ATOMIC
12 /* lookup_bdev() wants 1 arg */
13 #undef HAVE_1ARG_LOOKUP_BDEV
15 /* submit_bio() wants 1 arg */
16 #undef HAVE_1ARG_SUBMIT_BIO
18 /* bdi_setup_and_register() wants 2 args */
19 #undef HAVE_2ARGS_BDI_SETUP_AND_REGISTER
21 /* lookup_bdev() wants 2 args */
22 #undef HAVE_2ARGS_LOOKUP_BDEV
24 /* bdi_setup_and_register() wants 3 args */
25 #undef HAVE_3ARGS_BDI_SETUP_AND_REGISTER
27 /* blkdev_get() wants 3 args */
28 #undef HAVE_3ARG_BLKDEV_GET
30 /* sget() wants 5 args */
33 /* security_inode_init_security wants 6 args */
34 #undef HAVE_6ARGS_SECURITY_INODE_INIT_SECURITY
36 /* dops->automount() exists */
39 /* Define if host toolchain supports AVX */
42 /* Define if host toolchain supports AVX2 */
45 /* Define if host toolchain supports AVX512BW */
48 /* Define if host toolchain supports AVX512CD */
51 /* Define if host toolchain supports AVX512DQ */
54 /* Define if host toolchain supports AVX512ER */
57 /* Define if host toolchain supports AVX512F */
60 /* Define if host toolchain supports AVX512IFMA */
61 #undef HAVE_AVX512IFMA
63 /* Define if host toolchain supports AVX512PF */
66 /* Define if host toolchain supports AVX512VBMI */
67 #undef HAVE_AVX512VBMI
69 /* Define if host toolchain supports AVX512VL */
72 /* struct block_device_operations use bdevs */
73 #undef HAVE_BDEV_BLOCK_DEVICE_OPERATIONS
75 /* bdev_logical_block_size() is available */
76 #undef HAVE_BDEV_LOGICAL_BLOCK_SIZE
78 /* bdev_physical_block_size() is available */
79 #undef HAVE_BDEV_PHYSICAL_BLOCK_SIZE
81 /* bio->bi_opf is defined */
82 #undef HAVE_BIO_BI_OPF
84 /* bio->bi_status exists */
85 #undef HAVE_BIO_BI_STATUS
88 #undef HAVE_BIO_BVEC_ITER
90 /* BIO_RW_BARRIER is defined */
91 #undef HAVE_BIO_RW_BARRIER
93 /* BIO_RW_DISCARD is defined */
94 #undef HAVE_BIO_RW_DISCARD
96 /* BIO_RW_FAILFAST_* are defined */
97 #undef HAVE_BIO_RW_FAILFAST_DTD
99 /* bio_set_dev() exists */
100 #undef HAVE_BIO_SET_DEV
102 /* bio_set_op_attrs is available */
103 #undef HAVE_BIO_SET_OP_ATTRS
105 /* blkdev_get_by_path() is available */
106 #undef HAVE_BLKDEV_GET_BY_PATH
108 /* blk queue backing_dev_info is dynamic */
109 #undef HAVE_BLK_QUEUE_BDI_DYNAMIC
111 /* blk_queue_flush() is available */
112 #undef HAVE_BLK_QUEUE_FLUSH
114 /* blk_queue_flush() is GPL-only */
115 #undef HAVE_BLK_QUEUE_FLUSH_GPL_ONLY
117 /* BIO_RW_UNPLUG is available */
118 #undef HAVE_BLK_QUEUE_HAVE_BIO_RW_UNPLUG
120 /* struct blk_plug is available */
121 #undef HAVE_BLK_QUEUE_HAVE_BLK_PLUG
123 /* blk_queue_max_hw_sectors() is available */
124 #undef HAVE_BLK_QUEUE_MAX_HW_SECTORS
126 /* blk_queue_max_segments() is available */
127 #undef HAVE_BLK_QUEUE_MAX_SEGMENTS
129 /* blk_queue_write_cache() exists */
130 #undef HAVE_BLK_QUEUE_WRITE_CACHE
132 /* blk_queue_write_cache() is GPL-only */
133 #undef HAVE_BLK_QUEUE_WRITE_CACHE_GPL_ONLY
135 /* struct block_device_operations.release returns void */
136 #undef HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID
138 /* security_inode_init_security wants callback */
139 #undef HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY
141 /* iops->check_acl() exists */
142 #undef HAVE_CHECK_ACL
144 /* iops->check_acl() wants flags */
145 #undef HAVE_CHECK_ACL_WITH_FLAGS
147 /* clear_inode() is available */
148 #undef HAVE_CLEAR_INODE
150 /* eops->commit_metadata() exists */
151 #undef HAVE_COMMIT_METADATA
153 /* dentry uses const struct dentry_operations */
154 #undef HAVE_CONST_DENTRY_OPERATIONS
156 /* super_block uses const struct xattr_handler */
157 #undef HAVE_CONST_XATTR_HANDLER
159 /* iops->create() passes nameidata */
160 #undef HAVE_CREATE_NAMEIDATA
162 /* cred_t->user_ns exists */
163 #undef HAVE_CRED_USER_NS
165 /* current->bio_list exists */
166 #undef HAVE_CURRENT_BIO_LIST
168 /* current->bio_tail exists */
169 #undef HAVE_CURRENT_BIO_TAIL
171 /* current_time() exists */
172 #undef HAVE_CURRENT_TIME
174 /* DECLARE_EVENT_CLASS() is available */
175 #undef HAVE_DECLARE_EVENT_CLASS
177 /* sops->dirty_inode() wants flags */
178 #undef HAVE_DIRTY_INODE_WITH_FLAGS
180 /* ql->discard_granularity is available */
181 #undef HAVE_DISCARD_GRANULARITY
183 /* Define to 1 if you have the <dlfcn.h> header file. */
186 /* d_make_root() is available */
187 #undef HAVE_D_MAKE_ROOT
189 /* d_obtain_alias() is available */
190 #undef HAVE_D_OBTAIN_ALIAS
192 /* d_prune_aliases() is available */
193 #undef HAVE_D_PRUNE_ALIASES
195 /* dops->d_revalidate() operation takes nameidata */
196 #undef HAVE_D_REVALIDATE_NAMEIDATA
198 /* d_set_d_op() is available */
199 #undef HAVE_D_SET_D_OP
201 /* elevator_change() is available */
202 #undef HAVE_ELEVATOR_CHANGE
204 /* eops->encode_fh() wants child and parent inodes */
205 #undef HAVE_ENCODE_FH_WITH_INODE
207 /* sops->evict_inode() exists */
208 #undef HAVE_EVICT_INODE
210 /* fops->aio_fsync() exists */
211 #undef HAVE_FILE_AIO_FSYNC
213 /* file_dentry() is available */
214 #undef HAVE_FILE_DENTRY
216 /* fops->fallocate() exists */
217 #undef HAVE_FILE_FALLOCATE
219 /* file_inode() is available */
220 #undef HAVE_FILE_INODE
222 /* kernel defines fmode_t */
225 /* follow_down_one() is available */
226 #undef HAVE_FOLLOW_DOWN_ONE
228 /* iops->follow_link() cookie */
229 #undef HAVE_FOLLOW_LINK_COOKIE
231 /* iops->follow_link() nameidata */
232 #undef HAVE_FOLLOW_LINK_NAMEIDATA
234 /* kernel has <asm/fpu/api.h> interface */
235 #undef HAVE_FPU_API_H
237 /* sops->free_cached_objects() exists */
238 #undef HAVE_FREE_CACHED_OBJECTS
240 /* fst->mount() exists */
241 #undef HAVE_FST_MOUNT
243 /* fops->fsync() with range */
244 #undef HAVE_FSYNC_RANGE
246 /* fops->fsync() without dentry */
247 #undef HAVE_FSYNC_WITHOUT_DENTRY
249 /* fops->fsync() with dentry */
250 #undef HAVE_FSYNC_WITH_DENTRY
252 /* generic_start_io_acct()/generic_end_io_acct() available */
253 #undef HAVE_GENERIC_IO_ACCT_3ARG
255 /* generic_start_io_acct()/generic_end_io_acct() 4 arg available */
256 #undef HAVE_GENERIC_IO_ACCT_4ARG
258 /* generic_readlink is global */
259 #undef HAVE_GENERIC_READLINK
261 /* generic_setxattr() exists */
262 #undef HAVE_GENERIC_SETXATTR
264 /* generic_write_checks() takes kiocb */
265 #undef HAVE_GENERIC_WRITE_CHECKS_KIOCB
267 /* iops->get_acl() exists */
270 /* blk_disk_ro() is available */
271 #undef HAVE_GET_DISK_RO
273 /* get_gendisk() is available */
274 #undef HAVE_GET_GENDISK
276 /* iops->get_link() cookie */
277 #undef HAVE_GET_LINK_COOKIE
279 /* iops->get_link() delayed */
280 #undef HAVE_GET_LINK_DELAYED
282 /* fops->fallocate() exists */
283 #undef HAVE_INODE_FALLOCATE
285 /* inode_owner_or_capable() exists */
286 #undef HAVE_INODE_OWNER_OR_CAPABLE
288 /* inode_set_flags() exists */
289 #undef HAVE_INODE_SET_FLAGS
291 /* iops->truncate_range() exists */
292 #undef HAVE_INODE_TRUNCATE_RANGE
294 /* insert_inode_locked() is available */
295 #undef HAVE_INSERT_INODE_LOCKED
297 /* Define to 1 if you have the <inttypes.h> header file. */
298 #undef HAVE_INTTYPES_H
300 /* is_owner_or_cap() exists */
301 #undef HAVE_IS_OWNER_OR_CAP
303 /* uncached_acl_sentinel() exists */
304 #undef HAVE_KERNEL_GET_ACL_HANDLE_CACHE
306 /* kernel does stack verification */
307 #undef HAVE_KERNEL_OBJTOOL
309 /* kuid_has_mapping/kgid_has_mapping exist */
310 #undef HAVE_KUID_HAS_MAPPING
312 /* i_(uid|gid)_(read|write) exist */
313 #undef HAVE_KUID_HELPERS
315 /* kernel has large stacks */
316 #undef HAVE_LARGE_STACKS
318 /* Define if you have libaio */
321 /* Define if you have libattr */
324 /* Define if you have libblkid */
327 /* Define if you have libtirpc */
330 /* Define if you have libudev */
333 /* Define if udev_device_get_is_initialized is available */
334 #undef HAVE_LIBUDEV_UDEV_DEVICE_GET_IS_INITIALIZED
336 /* Define if you have libuuid */
339 /* iops->lookup() passes nameidata */
340 #undef HAVE_LOOKUP_NAMEIDATA
342 /* lseek_execute() is available */
343 #undef HAVE_LSEEK_EXECUTE
345 /* makedev() is declared in sys/mkdev.h */
346 #undef HAVE_MAKEDEV_IN_MKDEV
348 /* makedev() is declared in sys/sysmacros.h */
349 #undef HAVE_MAKEDEV_IN_SYSMACROS
351 /* Noting that make_request_fn() returns int */
352 #undef HAVE_MAKE_REQUEST_FN_RET_INT
354 /* Noting that make_request_fn() returns blk_qc_t */
355 #undef HAVE_MAKE_REQUEST_FN_RET_QC
357 /* Define to 1 if you have the <memory.h> header file. */
360 /* iops->create()/mkdir()/mknod() take umode_t */
361 #undef HAVE_MKDIR_UMODE_T
363 /* Define to 1 if you have the `mlockall' function. */
366 /* new_sync_read() is available */
367 #undef HAVE_NEW_SYNC_READ
369 /* sops->nr_cached_objects() exists */
370 #undef HAVE_NR_CACHED_OBJECTS
372 /* ns_capable exists */
373 #undef HAVE_NS_CAPABLE
375 /* open_bdev_exclusive() is available */
376 #undef HAVE_OPEN_BDEV_EXCLUSIVE
378 /* iops->getattr() takes a path */
379 #undef HAVE_PATH_IOPS_GETATTR
381 /* iops->permission() exists */
382 #undef HAVE_PERMISSION
384 /* iops->permission() with nameidata exists */
385 #undef HAVE_PERMISSION_WITH_NAMEIDATA
387 /* posix_acl_chmod() exists */
388 #undef HAVE_POSIX_ACL_CHMOD
390 /* posix_acl_equiv_mode wants umode_t* */
391 #undef HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T
393 /* posix_acl_from_xattr() needs user_ns */
394 #undef HAVE_POSIX_ACL_FROM_XATTR_USERNS
396 /* posix_acl_release() is available */
397 #undef HAVE_POSIX_ACL_RELEASE
399 /* posix_acl_release() is GPL-only */
400 #undef HAVE_POSIX_ACL_RELEASE_GPL_ONLY
402 /* posix_acl_valid() wants user namespace */
403 #undef HAVE_POSIX_ACL_VALID_WITH_NS
405 /* iops->put_link() cookie */
406 #undef HAVE_PUT_LINK_COOKIE
408 /* iops->put_link() delayed */
409 #undef HAVE_PUT_LINK_DELAYED
411 /* iops->put_link() nameidata */
412 #undef HAVE_PUT_LINK_NAMEIDATA
414 /* qat is enabled and existed */
417 /* iops->rename() wants flags */
418 #undef HAVE_RENAME_WANTS_FLAGS
420 /* REQ_FAILFAST_MASK is defined */
421 #undef HAVE_REQ_FAILFAST_MASK
423 /* REQ_OP_DISCARD is defined */
424 #undef HAVE_REQ_OP_DISCARD
426 /* REQ_OP_FLUSH is defined */
427 #undef HAVE_REQ_OP_FLUSH
429 /* REQ_OP_SECURE_ERASE is defined */
430 #undef HAVE_REQ_OP_SECURE_ERASE
432 /* setattr_prepare() is available */
433 #undef HAVE_SETATTR_PREPARE
435 /* iops->set_acl() exists */
438 /* posix_acl_release() is usable */
439 #undef HAVE_SET_CACHED_ACL_USABLE
441 /* set_nlink() is available */
442 #undef HAVE_SET_NLINK
444 /* sops->show_options() with dentry */
445 #undef HAVE_SHOW_OPTIONS_WITH_DENTRY
447 /* struct super_block has s_shrink */
450 /* Define if host toolchain supports SSE */
453 /* Define if host toolchain supports SSE2 */
456 /* Define if host toolchain supports SSE3 */
459 /* Define if host toolchain supports SSE4.1 */
462 /* Define if host toolchain supports SSE4.2 */
465 /* Define if host toolchain supports SSSE3 */
468 /* Define to 1 if you have the <stdint.h> header file. */
471 /* Define to 1 if you have the <stdlib.h> header file. */
474 /* Define to 1 if you have the <strings.h> header file. */
475 #undef HAVE_STRINGS_H
477 /* Define to 1 if you have the <string.h> header file. */
480 /* super_setup_bdi_name() exits */
481 #undef HAVE_SUPER_SETUP_BDI_NAME
483 /* super_block->s_user_ns exists */
484 #undef HAVE_SUPER_USER_NS
486 /* Define to 1 if you have the <sys/stat.h> header file. */
487 #undef HAVE_SYS_STAT_H
489 /* Define to 1 if you have the <sys/types.h> header file. */
490 #undef HAVE_SYS_TYPES_H
492 /* struct super_block has s_d_op */
495 /* struct super_block has s_instances list_head */
496 #undef HAVE_S_INSTANCES_LIST_HEAD
498 /* i_op->tmpfile() exists */
501 /* truncate_setsize() is available */
502 #undef HAVE_TRUNCATE_SETSIZE
504 /* Define to 1 if you have the <unistd.h> header file. */
507 /* iops->getattr() takes a vfsmount */
508 #undef HAVE_VFSMOUNT_IOPS_GETATTR
510 /* fops->iterate() is available */
511 #undef HAVE_VFS_ITERATE
513 /* fops->iterate_shared() is available */
514 #undef HAVE_VFS_ITERATE_SHARED
516 /* fops->readdir() is available */
517 #undef HAVE_VFS_READDIR
519 /* fops->read/write_iter() are available */
520 #undef HAVE_VFS_RW_ITERATE
522 /* xattr_handler->get() wants dentry */
523 #undef HAVE_XATTR_GET_DENTRY
525 /* xattr_handler->get() wants both dentry and inode */
526 #undef HAVE_XATTR_GET_DENTRY_INODE
528 /* xattr_handler->get() wants xattr_handler */
529 #undef HAVE_XATTR_GET_HANDLER
531 /* xattr_handler->get() wants inode */
532 #undef HAVE_XATTR_GET_INODE
534 /* xattr_handler has name */
535 #undef HAVE_XATTR_HANDLER_NAME
537 /* xattr_handler->list() wants dentry */
538 #undef HAVE_XATTR_LIST_DENTRY
540 /* xattr_handler->list() wants xattr_handler */
541 #undef HAVE_XATTR_LIST_HANDLER
543 /* xattr_handler->list() wants inode */
544 #undef HAVE_XATTR_LIST_INODE
546 /* xattr_handler->list() wants simple */
547 #undef HAVE_XATTR_LIST_SIMPLE
549 /* xattr_handler->set() wants dentry */
550 #undef HAVE_XATTR_SET_DENTRY
552 /* xattr_handler->set() wants both dentry and inode */
553 #undef HAVE_XATTR_SET_DENTRY_INODE
555 /* xattr_handler->set() wants xattr_handler */
556 #undef HAVE_XATTR_SET_HANDLER
558 /* xattr_handler->set() wants inode */
559 #undef HAVE_XATTR_SET_INODE
561 /* Define if you have zlib */
564 /* __posix_acl_chmod() exists */
565 #undef HAVE___POSIX_ACL_CHMOD
567 /* Define to the sub-directory where libtool stores uninstalled libraries. */
570 /* make_request_fn() returns blk_qc_t */
571 #undef MAKE_REQUEST_FN_RET
573 /* hardened module_param_call */
574 #undef MODULE_PARAM_CALL_CONST
576 /* Name of package */
579 /* Define to the address where bug reports for this package should be sent. */
580 #undef PACKAGE_BUGREPORT
582 /* Define to the full name of this package. */
585 /* Define to the full name and version of this package. */
586 #undef PACKAGE_STRING
588 /* Define to the one symbol short name of this package. */
589 #undef PACKAGE_TARNAME
591 /* Define to the home page for this package. */
594 /* Define to the version of this package. */
595 #undef PACKAGE_VERSION
597 /* struct shrink_control has nid */
598 #undef SHRINK_CONTROL_HAS_NID
600 /* Define to 1 if you have the ANSI C header files. */
603 /* Version number of package */
606 /* zfs debugging enabled */
609 /* using global_node_page_state() */
610 #undef ZFS_GLOBAL_NODE_PAGE_STATE
612 /* Define to 1 if GPL-only symbols can be used */
613 #undef ZFS_IS_GPL_COMPATIBLE
615 /* Define the project alias string. */
616 #undef ZFS_META_ALIAS
618 /* Define the project author. */
619 #undef ZFS_META_AUTHOR
621 /* Define the project release date. */
624 /* Define the project license. */
625 #undef ZFS_META_LICENSE
627 /* Define the libtool library 'age' version information. */
628 #undef ZFS_META_LT_AGE
630 /* Define the libtool library 'current' version information. */
631 #undef ZFS_META_LT_CURRENT
633 /* Define the libtool library 'revision' version information. */
634 #undef ZFS_META_LT_REVISION
636 /* Define the project name. */
639 /* Define the project release. */
640 #undef ZFS_META_RELEASE
642 /* Define the project version. */
643 #undef ZFS_META_VERSION
647 #undef PACKAGE_BUGREPORT
649 #undef PACKAGE_STRING
650 #undef PACKAGE_TARNAME
651 #undef PACKAGE_VERSION