1 /* 2 * $FreeBSD$ 3 */ 4 5 /* zfs_config.h. Generated from zfs_config.h.in by configure. */ 6 /* zfs_config.h.in. Generated from configure.ac by autoheader. */ 7 8 /* Define to 1 if translation of program messages to the user's native 9 language is requested. */ 10 /* #undef ENABLE_NLS */ 11 12 /* bio_end_io_t wants 1 arg */ 13 /* #undef HAVE_1ARG_BIO_END_IO_T */ 14 15 /* lookup_bdev() wants 1 arg */ 16 /* #undef HAVE_1ARG_LOOKUP_BDEV */ 17 18 /* submit_bio() wants 1 arg */ 19 /* #undef HAVE_1ARG_SUBMIT_BIO */ 20 21 /* bdi_setup_and_register() wants 2 args */ 22 /* #undef HAVE_2ARGS_BDI_SETUP_AND_REGISTER */ 23 24 /* vfs_getattr wants 2 args */ 25 /* #undef HAVE_2ARGS_VFS_GETATTR */ 26 27 /* zlib_deflate_workspacesize() wants 2 args */ 28 /* #undef HAVE_2ARGS_ZLIB_DEFLATE_WORKSPACESIZE */ 29 30 /* bdi_setup_and_register() wants 3 args */ 31 /* #undef HAVE_3ARGS_BDI_SETUP_AND_REGISTER */ 32 33 /* vfs_getattr wants 3 args */ 34 /* #undef HAVE_3ARGS_VFS_GETATTR */ 35 36 /* vfs_getattr wants 4 args */ 37 /* #undef HAVE_4ARGS_VFS_GETATTR */ 38 39 /* kernel has access_ok with 'type' parameter */ 40 /* #undef HAVE_ACCESS_OK_TYPE */ 41 42 /* posix_acl has refcount_t */ 43 /* #undef HAVE_ACL_REFCOUNT */ 44 45 /* add_disk() returns int */ 46 /* #undef HAVE_ADD_DISK_RET */ 47 48 /* Define if host toolchain supports AES */ 49 #define HAVE_AES 1 50 51 /* Define if you have [rt] */ 52 #define HAVE_AIO_H 1 53 54 #ifdef __amd64__ 55 #ifndef RESCUE 56 /* Define if host toolchain supports AVX */ 57 #define HAVE_AVX 1 58 #endif 59 60 /* Define if host toolchain supports AVX2 */ 61 #define HAVE_AVX2 1 62 63 /* Define if host toolchain supports AVX512BW */ 64 #define HAVE_AVX512BW 1 65 66 /* Define if host toolchain supports AVX512CD */ 67 #define HAVE_AVX512CD 1 68 69 /* Define if host toolchain supports AVX512DQ */ 70 #define HAVE_AVX512DQ 1 71 72 /* Define if host toolchain supports AVX512ER */ 73 #define HAVE_AVX512ER 1 74 75 /* Define if host toolchain supports AVX512F */ 76 #define HAVE_AVX512F 1 77 78 /* Define if host toolchain supports AVX512IFMA */ 79 #define HAVE_AVX512IFMA 1 80 81 /* Define if host toolchain supports AVX512PF */ 82 #define HAVE_AVX512PF 1 83 84 /* Define if host toolchain supports AVX512VBMI */ 85 #define HAVE_AVX512VBMI 1 86 87 /* Define if host toolchain supports AVX512VL */ 88 #define HAVE_AVX512VL 1 89 #endif 90 91 /* bdevname() is available */ 92 /* #undef HAVE_BDEVNAME */ 93 94 /* bdev_check_media_change() exists */ 95 /* #undef HAVE_BDEV_CHECK_MEDIA_CHANGE */ 96 97 /* bdev_*_io_acct() available */ 98 /* #undef HAVE_BDEV_IO_ACCT_63 */ 99 100 /* bdev_*_io_acct() available */ 101 /* #undef HAVE_BDEV_IO_ACCT_OLD */ 102 103 /* bdev_kobj() exists */ 104 /* #undef HAVE_BDEV_KOBJ */ 105 106 /* bdev_max_discard_sectors() is available */ 107 /* #undef HAVE_BDEV_MAX_DISCARD_SECTORS */ 108 109 /* bdev_max_secure_erase_sectors() is available */ 110 /* #undef HAVE_BDEV_MAX_SECURE_ERASE_SECTORS */ 111 112 /* block_device_operations->submit_bio() returns void */ 113 /* #undef HAVE_BDEV_SUBMIT_BIO_RETURNS_VOID */ 114 115 /* bdev_whole() is available */ 116 /* #undef HAVE_BDEV_WHOLE */ 117 118 /* bio_alloc() takes 4 arguments */ 119 /* #undef HAVE_BIO_ALLOC_4ARG */ 120 121 /* bio->bi_bdev->bd_disk exists */ 122 /* #undef HAVE_BIO_BDEV_DISK */ 123 124 /* bio->bi_opf is defined */ 125 /* #undef HAVE_BIO_BI_OPF */ 126 127 /* bio->bi_status exists */ 128 /* #undef HAVE_BIO_BI_STATUS */ 129 130 /* bio has bi_iter */ 131 /* #undef HAVE_BIO_BVEC_ITER */ 132 133 /* bio_*_io_acct() available */ 134 /* #undef HAVE_BIO_IO_ACCT */ 135 136 /* bio_max_segs() is implemented */ 137 /* #undef HAVE_BIO_MAX_SEGS */ 138 139 /* bio_set_dev() is available */ 140 /* #undef HAVE_BIO_SET_DEV */ 141 142 /* bio_set_dev() GPL-only */ 143 /* #undef HAVE_BIO_SET_DEV_GPL_ONLY */ 144 145 /* bio_set_dev() is a macro */ 146 /* #undef HAVE_BIO_SET_DEV_MACRO */ 147 148 /* bio_set_op_attrs is available */ 149 /* #undef HAVE_BIO_SET_OP_ATTRS */ 150 151 /* blkdev_get_by_path() handles ERESTARTSYS */ 152 /* #undef HAVE_BLKDEV_GET_ERESTARTSYS */ 153 154 /* blkdev_issue_discard() is available */ 155 /* #undef HAVE_BLKDEV_ISSUE_DISCARD */ 156 157 /* blkdev_issue_secure_erase() is available */ 158 /* #undef HAVE_BLKDEV_ISSUE_SECURE_ERASE */ 159 160 /* blkdev_reread_part() exists */ 161 /* #undef HAVE_BLKDEV_REREAD_PART */ 162 163 /* blkg_tryget() is available */ 164 /* #undef HAVE_BLKG_TRYGET */ 165 166 /* blkg_tryget() GPL-only */ 167 /* #undef HAVE_BLKG_TRYGET_GPL_ONLY */ 168 169 /* blk_alloc_disk() exists */ 170 /* #undef HAVE_BLK_ALLOC_DISK */ 171 172 /* blk_alloc_queue() expects request function */ 173 /* #undef HAVE_BLK_ALLOC_QUEUE_REQUEST_FN */ 174 175 /* blk_alloc_queue_rh() expects request function */ 176 /* #undef HAVE_BLK_ALLOC_QUEUE_REQUEST_FN_RH */ 177 178 /* blk_cleanup_disk() exists */ 179 /* #undef HAVE_BLK_CLEANUP_DISK */ 180 181 /* block multiqueue is available */ 182 /* #undef HAVE_BLK_MQ */ 183 184 /* blk queue backing_dev_info is dynamic */ 185 /* #undef HAVE_BLK_QUEUE_BDI_DYNAMIC */ 186 187 /* blk_queue_discard() is available */ 188 /* #undef HAVE_BLK_QUEUE_DISCARD */ 189 190 /* blk_queue_flag_clear() exists */ 191 /* #undef HAVE_BLK_QUEUE_FLAG_CLEAR */ 192 193 /* blk_queue_flag_set() exists */ 194 /* #undef HAVE_BLK_QUEUE_FLAG_SET */ 195 196 /* blk_queue_flush() is available */ 197 /* #undef HAVE_BLK_QUEUE_FLUSH */ 198 199 /* blk_queue_flush() is GPL-only */ 200 /* #undef HAVE_BLK_QUEUE_FLUSH_GPL_ONLY */ 201 202 /* blk_queue_secdiscard() is available */ 203 /* #undef HAVE_BLK_QUEUE_SECDISCARD */ 204 205 /* blk_queue_secure_erase() is available */ 206 /* #undef HAVE_BLK_QUEUE_SECURE_ERASE */ 207 208 /* blk_queue_update_readahead() exists */ 209 /* #undef HAVE_BLK_QUEUE_UPDATE_READAHEAD */ 210 211 /* blk_queue_write_cache() exists */ 212 /* #undef HAVE_BLK_QUEUE_WRITE_CACHE */ 213 214 /* blk_queue_write_cache() is GPL-only */ 215 /* #undef HAVE_BLK_QUEUE_WRITE_CACHE_GPL_ONLY */ 216 217 /* Define if revalidate_disk() in block_device_operations */ 218 /* #undef HAVE_BLOCK_DEVICE_OPERATIONS_REVALIDATE_DISK */ 219 220 /* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the 221 CoreFoundation framework. */ 222 /* #undef HAVE_CFLOCALECOPYCURRENT */ 223 224 /* Define to 1 if you have the Mac OS X function 225 CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ 226 /* #undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES */ 227 228 /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in 229 the CoreFoundation framework. */ 230 /* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */ 231 232 /* check_disk_change() exists */ 233 /* #undef HAVE_CHECK_DISK_CHANGE */ 234 235 /* clear_inode() is available */ 236 /* #undef HAVE_CLEAR_INODE */ 237 238 /* dentry uses const struct dentry_operations */ 239 /* #undef HAVE_CONST_DENTRY_OPERATIONS */ 240 241 /* copy_from_iter() is available */ 242 /* #undef HAVE_COPY_FROM_ITER */ 243 244 /* copy_to_iter() is available */ 245 /* #undef HAVE_COPY_TO_ITER */ 246 247 /* cpu_has_feature() is GPL-only */ 248 /* #undef HAVE_CPU_HAS_FEATURE_GPL_ONLY */ 249 250 /* yes */ 251 /* #undef HAVE_CPU_HOTPLUG */ 252 253 /* current_time() exists */ 254 /* #undef HAVE_CURRENT_TIME */ 255 256 /* Define if the GNU dcgettext() function is already present or preinstalled. 257 */ 258 /* #undef HAVE_DCGETTEXT */ 259 260 /* DECLARE_EVENT_CLASS() is available */ 261 /* #undef HAVE_DECLARE_EVENT_CLASS */ 262 263 /* dentry aliases are in d_u member */ 264 /* #undef HAVE_DENTRY_D_U_ALIASES */ 265 266 /* dequeue_signal() takes 4 arguments */ 267 /* #undef HAVE_DEQUEUE_SIGNAL_4ARG */ 268 269 /* lookup_bdev() wants dev_t arg */ 270 /* #undef HAVE_DEVT_LOOKUP_BDEV */ 271 272 /* sops->dirty_inode() wants flags */ 273 /* #undef HAVE_DIRTY_INODE_WITH_FLAGS */ 274 275 /* disk_*_io_acct() available */ 276 /* #undef HAVE_DISK_IO_ACCT */ 277 278 /* disk_update_readahead() exists */ 279 /* #undef HAVE_DISK_UPDATE_READAHEAD */ 280 281 /* Define to 1 if you have the <dlfcn.h> header file. */ 282 #define HAVE_DLFCN_H 1 283 284 /* d_make_root() is available */ 285 /* #undef HAVE_D_MAKE_ROOT */ 286 287 /* d_prune_aliases() is available */ 288 /* #undef HAVE_D_PRUNE_ALIASES */ 289 290 /* dops->d_revalidate() operation takes nameidata */ 291 /* #undef HAVE_D_REVALIDATE_NAMEIDATA */ 292 293 /* eops->encode_fh() wants child and parent inodes */ 294 /* #undef HAVE_ENCODE_FH_WITH_INODE */ 295 296 /* sops->evict_inode() exists */ 297 /* #undef HAVE_EVICT_INODE */ 298 299 /* FALLOC_FL_ZERO_RANGE is defined */ 300 /* #undef HAVE_FALLOC_FL_ZERO_RANGE */ 301 302 /* fault_in_iov_iter_readable() is available */ 303 /* #undef HAVE_FAULT_IN_IOV_ITER_READABLE */ 304 305 /* filemap_range_has_page() is available */ 306 /* #undef HAVE_FILEMAP_RANGE_HAS_PAGE */ 307 308 /* fops->aio_fsync() exists */ 309 /* #undef HAVE_FILE_AIO_FSYNC */ 310 311 /* file_dentry() is available */ 312 /* #undef HAVE_FILE_DENTRY */ 313 314 /* fops->fadvise() exists */ 315 /* #undef HAVE_FILE_FADVISE */ 316 317 /* file_inode() is available */ 318 /* #undef HAVE_FILE_INODE */ 319 320 /* flush_dcache_page() is GPL-only */ 321 /* #undef HAVE_FLUSH_DCACHE_PAGE_GPL_ONLY */ 322 323 /* iops->follow_link() cookie */ 324 /* #undef HAVE_FOLLOW_LINK_COOKIE */ 325 326 /* iops->follow_link() nameidata */ 327 /* #undef HAVE_FOLLOW_LINK_NAMEIDATA */ 328 329 /* Define if compiler supports -Wformat-overflow */ 330 /* #undef HAVE_FORMAT_OVERFLOW */ 331 332 /* fops->fsync() with range */ 333 /* #undef HAVE_FSYNC_RANGE */ 334 335 /* fops->fsync() without dentry */ 336 /* #undef HAVE_FSYNC_WITHOUT_DENTRY */ 337 338 /* yes */ 339 /* #undef HAVE_GENERIC_FADVISE */ 340 341 /* generic_fillattr requires struct mnt_idmap* */ 342 /* #undef HAVE_GENERIC_FILLATTR_IDMAP */ 343 344 /* generic_fillattr requires struct user_namespace* */ 345 /* #undef HAVE_GENERIC_FILLATTR_USERNS */ 346 347 /* generic_*_io_acct() 3 arg available */ 348 /* #undef HAVE_GENERIC_IO_ACCT_3ARG */ 349 350 /* generic_*_io_acct() 4 arg available */ 351 /* #undef HAVE_GENERIC_IO_ACCT_4ARG */ 352 353 /* generic_readlink is global */ 354 /* #undef HAVE_GENERIC_READLINK */ 355 356 /* generic_setxattr() exists */ 357 /* #undef HAVE_GENERIC_SETXATTR */ 358 359 /* generic_write_checks() takes kiocb */ 360 /* #undef HAVE_GENERIC_WRITE_CHECKS_KIOCB */ 361 362 /* Define if the GNU gettext() function is already present or preinstalled. */ 363 /* #undef HAVE_GETTEXT */ 364 365 /* iops->get_acl() exists */ 366 /* #undef HAVE_GET_ACL */ 367 368 /* iops->get_acl() takes rcu */ 369 /* #undef HAVE_GET_ACL_RCU */ 370 371 /* has iops->get_inode_acl() */ 372 /* #undef HAVE_GET_INODE_ACL */ 373 374 /* iops->get_link() cookie */ 375 /* #undef HAVE_GET_LINK_COOKIE */ 376 377 /* iops->get_link() delayed */ 378 /* #undef HAVE_GET_LINK_DELAYED */ 379 380 /* group_info->gid exists */ 381 /* #undef HAVE_GROUP_INFO_GID */ 382 383 /* has_capability() is available */ 384 /* #undef HAVE_HAS_CAPABILITY */ 385 386 /* iattr->ia_vfsuid and iattr->ia_vfsgid exist */ 387 /* #undef HAVE_IATTR_VFSID */ 388 389 /* Define if you have the iconv() function and it works. */ 390 #define HAVE_ICONV 1 391 392 /* iops->getattr() takes struct mnt_idmap* */ 393 /* #undef HAVE_IDMAP_IOPS_GETATTR */ 394 395 /* iops->setattr() takes struct mnt_idmap* */ 396 /* #undef HAVE_IDMAP_IOPS_SETATTR */ 397 398 /* APIs for idmapped mount are present */ 399 /* #undef HAVE_IDMAP_MNT_API */ 400 401 /* Define if compiler supports -Wimplicit-fallthrough */ 402 /* #undef HAVE_IMPLICIT_FALLTHROUGH */ 403 404 /* Define if compiler supports -Winfinite-recursion */ 405 /* #undef HAVE_INFINITE_RECURSION */ 406 407 /* yes */ 408 /* #undef HAVE_INODE_LOCK_SHARED */ 409 410 /* inode_owner_or_capable() exists */ 411 /* #undef HAVE_INODE_OWNER_OR_CAPABLE */ 412 413 /* inode_owner_or_capable() takes mnt_idmap */ 414 /* #undef HAVE_INODE_OWNER_OR_CAPABLE_IDMAP */ 415 416 /* inode_owner_or_capable() takes user_ns */ 417 /* #undef HAVE_INODE_OWNER_OR_CAPABLE_USERNS */ 418 419 /* inode_set_flags() exists */ 420 /* #undef HAVE_INODE_SET_FLAGS */ 421 422 /* inode_set_iversion() exists */ 423 /* #undef HAVE_INODE_SET_IVERSION */ 424 425 /* inode->i_*time's are timespec64 */ 426 /* #undef HAVE_INODE_TIMESPEC64_TIMES */ 427 428 /* timestamp_truncate() exists */ 429 /* #undef HAVE_INODE_TIMESTAMP_TRUNCATE */ 430 431 /* Define to 1 if you have the <inttypes.h> header file. */ 432 #define HAVE_INTTYPES_H 1 433 434 /* in_compat_syscall() is available */ 435 /* #undef HAVE_IN_COMPAT_SYSCALL */ 436 437 /* iops->create() takes struct mnt_idmap* */ 438 /* #undef HAVE_IOPS_CREATE_IDMAP */ 439 440 /* iops->create() takes struct user_namespace* */ 441 /* #undef HAVE_IOPS_CREATE_USERNS */ 442 443 /* iops->mkdir() takes struct mnt_idmap* */ 444 /* #undef HAVE_IOPS_MKDIR_IDMAP */ 445 446 /* iops->mkdir() takes struct user_namespace* */ 447 /* #undef HAVE_IOPS_MKDIR_USERNS */ 448 449 /* iops->mknod() takes struct mnt_idmap* */ 450 /* #undef HAVE_IOPS_MKNOD_IDMAP */ 451 452 /* iops->mknod() takes struct user_namespace* */ 453 /* #undef HAVE_IOPS_MKNOD_USERNS */ 454 455 /* iops->permission() takes struct mnt_idmap* */ 456 /* #undef HAVE_IOPS_PERMISSION_IDMAP */ 457 458 /* iops->permission() takes struct user_namespace* */ 459 /* #undef HAVE_IOPS_PERMISSION_USERNS */ 460 461 /* iops->rename() takes struct mnt_idmap* */ 462 /* #undef HAVE_IOPS_RENAME_IDMAP */ 463 464 /* iops->rename() takes struct user_namespace* */ 465 /* #undef HAVE_IOPS_RENAME_USERNS */ 466 467 /* iops->setattr() exists */ 468 /* #undef HAVE_IOPS_SETATTR */ 469 470 /* iops->symlink() takes struct mnt_idmap* */ 471 /* #undef HAVE_IOPS_SYMLINK_IDMAP */ 472 473 /* iops->symlink() takes struct user_namespace* */ 474 /* #undef HAVE_IOPS_SYMLINK_USERNS */ 475 476 /* iov_iter_advance() is available */ 477 /* #undef HAVE_IOV_ITER_ADVANCE */ 478 479 /* iov_iter_count() is available */ 480 /* #undef HAVE_IOV_ITER_COUNT */ 481 482 /* iov_iter_fault_in_readable() is available */ 483 /* #undef HAVE_IOV_ITER_FAULT_IN_READABLE */ 484 485 /* iov_iter_revert() is available */ 486 /* #undef HAVE_IOV_ITER_REVERT */ 487 488 /* iov_iter_type() is available */ 489 /* #undef HAVE_IOV_ITER_TYPE */ 490 491 /* iov_iter types are available */ 492 /* #undef HAVE_IOV_ITER_TYPES */ 493 494 /* yes */ 495 /* #undef HAVE_IO_SCHEDULE_TIMEOUT */ 496 497 /* Define to 1 if you have the `issetugid' function. */ 498 #define HAVE_ISSETUGID 1 499 500 /* kernel has kernel_fpu_* functions */ 501 /* #undef HAVE_KERNEL_FPU */ 502 503 /* kernel has asm/fpu/api.h */ 504 /* #undef HAVE_KERNEL_FPU_API_HEADER */ 505 506 /* kernel fpu internal */ 507 /* #undef HAVE_KERNEL_FPU_INTERNAL */ 508 509 /* kernel has asm/fpu/internal.h */ 510 /* #undef HAVE_KERNEL_FPU_INTERNAL_HEADER */ 511 512 /* uncached_acl_sentinel() exists */ 513 /* #undef HAVE_KERNEL_GET_ACL_HANDLE_CACHE */ 514 515 /* Define if compiler supports -Winfinite-recursion */ 516 /* #undef HAVE_KERNEL_INFINITE_RECURSION */ 517 518 /* kernel does stack verification */ 519 /* #undef HAVE_KERNEL_OBJTOOL */ 520 521 /* kernel has linux/objtool.h */ 522 /* #undef HAVE_KERNEL_OBJTOOL_HEADER */ 523 524 /* kernel_read() take loff_t pointer */ 525 /* #undef HAVE_KERNEL_READ_PPOS */ 526 527 /* timer_list.function gets a timer_list */ 528 /* #undef HAVE_KERNEL_TIMER_FUNCTION_TIMER_LIST */ 529 530 /* struct timer_list has a flags member */ 531 /* #undef HAVE_KERNEL_TIMER_LIST_FLAGS */ 532 533 /* timer_setup() is available */ 534 /* #undef HAVE_KERNEL_TIMER_SETUP */ 535 536 /* kernel_write() take loff_t pointer */ 537 /* #undef HAVE_KERNEL_WRITE_PPOS */ 538 539 /* kmem_cache_create_usercopy() exists */ 540 /* #undef HAVE_KMEM_CACHE_CREATE_USERCOPY */ 541 542 /* kstrtoul() exists */ 543 /* #undef HAVE_KSTRTOUL */ 544 545 /* ktime_get_coarse_real_ts64() exists */ 546 /* #undef HAVE_KTIME_GET_COARSE_REAL_TS64 */ 547 548 /* ktime_get_raw_ts64() exists */ 549 /* #undef HAVE_KTIME_GET_RAW_TS64 */ 550 551 /* kvmalloc exists */ 552 /* #undef HAVE_KVMALLOC */ 553 554 /* Define if you have [aio] */ 555 /* #undef HAVE_LIBAIO */ 556 557 /* Define if you have [blkid] */ 558 /* #undef HAVE_LIBBLKID */ 559 560 /* Define if you have [crypto] */ 561 #define HAVE_LIBCRYPTO 1 562 563 /* Define if you have [tirpc] */ 564 /* #undef HAVE_LIBTIRPC */ 565 566 /* Define if you have [udev] */ 567 /* #undef HAVE_LIBUDEV */ 568 569 /* Define if you have [uuid] */ 570 /* #undef HAVE_LIBUUID */ 571 572 /* linux/blk-cgroup.h exists */ 573 /* #undef HAVE_LINUX_BLK_CGROUP_HEADER */ 574 575 /* lseek_execute() is available */ 576 /* #undef HAVE_LSEEK_EXECUTE */ 577 578 /* makedev() is declared in sys/mkdev.h */ 579 /* #undef HAVE_MAKEDEV_IN_MKDEV */ 580 581 /* makedev() is declared in sys/sysmacros.h */ 582 /* #undef HAVE_MAKEDEV_IN_SYSMACROS */ 583 584 /* Noting that make_request_fn() returns blk_qc_t */ 585 /* #undef HAVE_MAKE_REQUEST_FN_RET_QC */ 586 587 /* Noting that make_request_fn() returns void */ 588 /* #undef HAVE_MAKE_REQUEST_FN_RET_VOID */ 589 590 /* iops->mkdir() takes umode_t */ 591 /* #undef HAVE_MKDIR_UMODE_T */ 592 593 /* Define to 1 if you have the `mlockall' function. */ 594 #define HAVE_MLOCKALL 1 595 596 /* lookup_bdev() wants mode arg */ 597 /* #undef HAVE_MODE_LOOKUP_BDEV */ 598 599 /* Define if host toolchain supports MOVBE */ 600 #define HAVE_MOVBE 1 601 602 /* new_sync_read()/new_sync_write() are available */ 603 /* #undef HAVE_NEW_SYNC_READ */ 604 605 /* folio_wait_bit() exists */ 606 /* #undef HAVE_PAGEMAP_FOLIO_WAIT_BIT */ 607 608 /* part_to_dev() exists */ 609 /* #undef HAVE_PART_TO_DEV */ 610 611 /* iops->getattr() takes a path */ 612 /* #undef HAVE_PATH_IOPS_GETATTR */ 613 614 /* Define if host toolchain supports PCLMULQDQ */ 615 #define HAVE_PCLMULQDQ 1 616 617 /* percpu_counter_add_batch() is defined */ 618 /* #undef HAVE_PERCPU_COUNTER_ADD_BATCH */ 619 620 /* percpu_counter_init() wants gfp_t */ 621 /* #undef HAVE_PERCPU_COUNTER_INIT_WITH_GFP */ 622 623 /* posix_acl_chmod() exists */ 624 /* #undef HAVE_POSIX_ACL_CHMOD */ 625 626 /* posix_acl_from_xattr() needs user_ns */ 627 /* #undef HAVE_POSIX_ACL_FROM_XATTR_USERNS */ 628 629 /* posix_acl_release() is available */ 630 /* #undef HAVE_POSIX_ACL_RELEASE */ 631 632 /* posix_acl_release() is GPL-only */ 633 /* #undef HAVE_POSIX_ACL_RELEASE_GPL_ONLY */ 634 635 /* posix_acl_valid() wants user namespace */ 636 /* #undef HAVE_POSIX_ACL_VALID_WITH_NS */ 637 638 /* proc_ops structure exists */ 639 /* #undef HAVE_PROC_OPS_STRUCT */ 640 641 /* iops->put_link() cookie */ 642 /* #undef HAVE_PUT_LINK_COOKIE */ 643 644 /* iops->put_link() delayed */ 645 /* #undef HAVE_PUT_LINK_DELAYED */ 646 647 /* iops->put_link() nameidata */ 648 /* #undef HAVE_PUT_LINK_NAMEIDATA */ 649 650 /* If available, contains the Python version number currently in use. */ 651 #define HAVE_PYTHON "3.7" 652 653 /* qat is enabled and existed */ 654 /* #undef HAVE_QAT */ 655 656 /* struct reclaim_state has reclaimed */ 657 /* #undef HAVE_RECLAIM_STATE_RECLAIMED */ 658 659 /* register_shrinker is vararg */ 660 /* #undef HAVE_REGISTER_SHRINKER_VARARG */ 661 662 /* iops->rename2() exists */ 663 /* #undef HAVE_RENAME2 */ 664 665 /* struct inode_operations_wrapper takes .rename2() */ 666 /* #undef HAVE_RENAME2_OPERATIONS_WRAPPER */ 667 668 /* iops->rename() wants flags */ 669 /* #undef HAVE_RENAME_WANTS_FLAGS */ 670 671 /* REQ_DISCARD is defined */ 672 /* #undef HAVE_REQ_DISCARD */ 673 674 /* REQ_FLUSH is defined */ 675 /* #undef HAVE_REQ_FLUSH */ 676 677 /* REQ_OP_DISCARD is defined */ 678 /* #undef HAVE_REQ_OP_DISCARD */ 679 680 /* REQ_OP_FLUSH is defined */ 681 /* #undef HAVE_REQ_OP_FLUSH */ 682 683 /* REQ_OP_SECURE_ERASE is defined */ 684 /* #undef HAVE_REQ_OP_SECURE_ERASE */ 685 686 /* REQ_PREFLUSH is defined */ 687 /* #undef HAVE_REQ_PREFLUSH */ 688 689 /* revalidate_disk() is available */ 690 /* #undef HAVE_REVALIDATE_DISK */ 691 692 /* revalidate_disk_size() is available */ 693 /* #undef HAVE_REVALIDATE_DISK_SIZE */ 694 695 /* struct rw_semaphore has member activity */ 696 /* #undef HAVE_RWSEM_ACTIVITY */ 697 698 /* struct rw_semaphore has atomic_long_t member count */ 699 /* #undef HAVE_RWSEM_ATOMIC_LONG_COUNT */ 700 701 /* linux/sched/signal.h exists */ 702 /* #undef HAVE_SCHED_SIGNAL_HEADER */ 703 704 /* Define to 1 if you have the <security/pam_modules.h> header file. */ 705 #define HAVE_SECURITY_PAM_MODULES_H 1 706 707 /* setattr_prepare() accepts mnt_idmap */ 708 /* #undef HAVE_SETATTR_PREPARE_IDMAP */ 709 710 /* setattr_prepare() is available, doesn't accept user_namespace */ 711 /* #undef HAVE_SETATTR_PREPARE_NO_USERNS */ 712 713 /* setattr_prepare() accepts user_namespace */ 714 /* #undef HAVE_SETATTR_PREPARE_USERNS */ 715 716 /* iops->set_acl() exists, takes 3 args */ 717 /* #undef HAVE_SET_ACL */ 718 719 /* iops->set_acl() takes 4 args, arg1 is struct mnt_idmap * */ 720 /* #undef HAVE_SET_ACL_IDMAP_DENTRY */ 721 722 /* iops->set_acl() takes 4 args */ 723 /* #undef HAVE_SET_ACL_USERNS */ 724 725 /* iops->set_acl() takes 4 args, arg2 is struct dentry * */ 726 /* #undef HAVE_SET_ACL_USERNS_DENTRY_ARG2 */ 727 728 /* set_cached_acl() is usable */ 729 /* #undef HAVE_SET_CACHED_ACL_USABLE */ 730 731 /* set_special_state() exists */ 732 /* #undef HAVE_SET_SPECIAL_STATE */ 733 734 /* struct shrink_control exists */ 735 /* #undef HAVE_SHRINK_CONTROL_STRUCT */ 736 737 /* kernel_siginfo_t exists */ 738 /* #undef HAVE_SIGINFO */ 739 740 /* signal_stop() exists */ 741 /* #undef HAVE_SIGNAL_STOP */ 742 743 /* new shrinker callback wants 2 args */ 744 /* #undef HAVE_SINGLE_SHRINKER_CALLBACK */ 745 746 /* cs->count_objects exists */ 747 /* #undef HAVE_SPLIT_SHRINKER_CALLBACK */ 748 749 #if defined(__amd64__) || defined(__i386__) 750 /* Define if host toolchain supports SSE */ 751 #define HAVE_SSE 1 752 753 /* Define if host toolchain supports SSE2 */ 754 #define HAVE_SSE2 1 755 756 /* Define if host toolchain supports SSE3 */ 757 #define HAVE_SSE3 1 758 759 /* Define if host toolchain supports SSE4.1 */ 760 #define HAVE_SSE4_1 1 761 762 /* Define if host toolchain supports SSE4.2 */ 763 #define HAVE_SSE4_2 1 764 765 /* Define if host toolchain supports SSSE3 */ 766 #define HAVE_SSSE3 1 767 #endif 768 769 /* STACK_FRAME_NON_STANDARD is defined */ 770 /* #undef HAVE_STACK_FRAME_NON_STANDARD */ 771 772 /* standalone <linux/stdarg.h> exists */ 773 /* #undef HAVE_STANDALONE_LINUX_STDARG */ 774 775 /* Define to 1 if you have the <stdint.h> header file. */ 776 #define HAVE_STDINT_H 1 777 778 /* Define to 1 if you have the <stdio.h> header file. */ 779 #define HAVE_STDIO_H 1 780 781 /* Define to 1 if you have the <stdlib.h> header file. */ 782 #define HAVE_STDLIB_H 1 783 784 /* Define to 1 if you have the <strings.h> header file. */ 785 #define HAVE_STRINGS_H 1 786 787 /* Define to 1 if you have the <string.h> header file. */ 788 #define HAVE_STRING_H 1 789 790 /* Define to 1 if you have the `strlcat' function. */ 791 #define HAVE_STRLCAT 1 792 793 /* Define to 1 if you have the `strlcpy' function. */ 794 #define HAVE_STRLCPY 1 795 796 /* submit_bio is member of struct block_device_operations */ 797 /* #undef HAVE_SUBMIT_BIO_IN_BLOCK_DEVICE_OPERATIONS */ 798 799 /* super_setup_bdi_name() exits */ 800 /* #undef HAVE_SUPER_SETUP_BDI_NAME */ 801 802 /* super_block->s_user_ns exists */ 803 /* #undef HAVE_SUPER_USER_NS */ 804 805 /* struct kobj_type has default_groups */ 806 /* #undef HAVE_SYSFS_DEFAULT_GROUPS */ 807 808 /* Define to 1 if you have the <sys/stat.h> header file. */ 809 #define HAVE_SYS_STAT_H 1 810 811 /* Define to 1 if you have the <sys/types.h> header file. */ 812 #define HAVE_SYS_TYPES_H 1 813 814 /* i_op->tmpfile() exists */ 815 /* #undef HAVE_TMPFILE */ 816 817 /* i_op->tmpfile() uses old dentry signature */ 818 /* #undef HAVE_TMPFILE_DENTRY */ 819 820 /* i_op->tmpfile() has mnt_idmap */ 821 /* #undef HAVE_TMPFILE_IDMAP */ 822 823 /* i_op->tmpfile() has userns */ 824 /* #undef HAVE_TMPFILE_USERNS */ 825 826 /* totalhigh_pages() exists */ 827 /* #undef HAVE_TOTALHIGH_PAGES */ 828 829 /* kernel has totalram_pages() */ 830 /* #undef HAVE_TOTALRAM_PAGES_FUNC */ 831 832 /* Define to 1 if you have the `udev_device_get_is_initialized' function. */ 833 /* #undef HAVE_UDEV_DEVICE_GET_IS_INITIALIZED */ 834 835 /* kernel has __kernel_fpu_* functions */ 836 /* #undef HAVE_UNDERSCORE_KERNEL_FPU */ 837 838 /* Define to 1 if you have the <unistd.h> header file. */ 839 #define HAVE_UNISTD_H 1 840 841 /* iops->getattr() takes struct user_namespace* */ 842 /* #undef HAVE_USERNS_IOPS_GETATTR */ 843 844 /* iops->setattr() takes struct user_namespace* */ 845 /* #undef HAVE_USERNS_IOPS_SETATTR */ 846 847 /* user_namespace->ns.inum exists */ 848 /* #undef HAVE_USER_NS_COMMON_INUM */ 849 850 /* iops->getattr() takes a vfsmount */ 851 /* #undef HAVE_VFSMOUNT_IOPS_GETATTR */ 852 853 /* aops->direct_IO() uses iovec */ 854 /* #undef HAVE_VFS_DIRECT_IO_IOVEC */ 855 856 /* aops->direct_IO() uses iov_iter without rw */ 857 /* #undef HAVE_VFS_DIRECT_IO_ITER */ 858 859 /* aops->direct_IO() uses iov_iter with offset */ 860 /* #undef HAVE_VFS_DIRECT_IO_ITER_OFFSET */ 861 862 /* aops->direct_IO() uses iov_iter with rw and offset */ 863 /* #undef HAVE_VFS_DIRECT_IO_ITER_RW_OFFSET */ 864 865 /* filemap_dirty_folio exists */ 866 /* #undef HAVE_VFS_FILEMAP_DIRTY_FOLIO */ 867 868 /* All required iov_iter interfaces are available */ 869 /* #undef HAVE_VFS_IOV_ITER */ 870 871 /* fops->iterate() is available */ 872 /* #undef HAVE_VFS_ITERATE */ 873 874 /* fops->iterate_shared() is available */ 875 /* #undef HAVE_VFS_ITERATE_SHARED */ 876 877 /* fops->readdir() is available */ 878 /* #undef HAVE_VFS_READDIR */ 879 880 /* address_space_operations->readpages exists */ 881 /* #undef HAVE_VFS_READPAGES */ 882 883 /* read_folio exists */ 884 /* #undef HAVE_VFS_READ_FOLIO */ 885 886 /* fops->read/write_iter() are available */ 887 /* #undef HAVE_VFS_RW_ITERATE */ 888 889 /* __set_page_dirty_nobuffers exists */ 890 /* #undef HAVE_VFS_SET_PAGE_DIRTY_NOBUFFERS */ 891 892 /* __vmalloc page flags exists */ 893 /* #undef HAVE_VMALLOC_PAGE_KERNEL */ 894 895 /* yes */ 896 /* #undef HAVE_WAIT_ON_BIT_ACTION */ 897 898 /* wait_queue_entry_t exists */ 899 /* #undef HAVE_WAIT_QUEUE_ENTRY_T */ 900 901 /* wq_head->head and wq_entry->entry exist */ 902 /* #undef HAVE_WAIT_QUEUE_HEAD_ENTRY */ 903 904 /* int (*writepage_t)() takes struct folio* */ 905 /* #undef HAVE_WRITEPAGE_T_FOLIO */ 906 907 /* xattr_handler->get() wants dentry */ 908 /* #undef HAVE_XATTR_GET_DENTRY */ 909 910 /* xattr_handler->get() wants both dentry and inode */ 911 /* #undef HAVE_XATTR_GET_DENTRY_INODE */ 912 913 /* xattr_handler->get() wants dentry and inode and flags */ 914 /* #undef HAVE_XATTR_GET_DENTRY_INODE_FLAGS */ 915 916 /* xattr_handler->get() wants xattr_handler */ 917 /* #undef HAVE_XATTR_GET_HANDLER */ 918 919 /* xattr_handler has name */ 920 /* #undef HAVE_XATTR_HANDLER_NAME */ 921 922 /* xattr_handler->list() wants dentry */ 923 /* #undef HAVE_XATTR_LIST_DENTRY */ 924 925 /* xattr_handler->list() wants xattr_handler */ 926 /* #undef HAVE_XATTR_LIST_HANDLER */ 927 928 /* xattr_handler->list() wants simple */ 929 /* #undef HAVE_XATTR_LIST_SIMPLE */ 930 931 /* xattr_handler->set() wants dentry */ 932 /* #undef HAVE_XATTR_SET_DENTRY */ 933 934 /* xattr_handler->set() wants both dentry and inode */ 935 /* #undef HAVE_XATTR_SET_DENTRY_INODE */ 936 937 /* xattr_handler->set() wants xattr_handler */ 938 /* #undef HAVE_XATTR_SET_HANDLER */ 939 940 /* xattr_handler->set() takes mnt_idmap */ 941 /* #undef HAVE_XATTR_SET_IDMAP */ 942 943 /* xattr_handler->set() takes user_namespace */ 944 /* #undef HAVE_XATTR_SET_USERNS */ 945 946 /* Define if host toolchain supports XSAVE */ 947 #define HAVE_XSAVE 1 948 949 /* Define if host toolchain supports XSAVEOPT */ 950 #define HAVE_XSAVEOPT 1 951 952 /* Define if host toolchain supports XSAVES */ 953 #define HAVE_XSAVES 1 954 955 /* ZERO_PAGE() is GPL-only */ 956 /* #undef HAVE_ZERO_PAGE_GPL_ONLY */ 957 958 /* Define if you have [z] */ 959 #define HAVE_ZLIB 1 960 961 /* __posix_acl_chmod() exists */ 962 /* #undef HAVE___POSIX_ACL_CHMOD */ 963 964 /* kernel exports FPU functions */ 965 /* #undef KERNEL_EXPORTS_X86_FPU */ 966 967 /* TBD: fetch(3) support */ 968 #if 0 969 /* whether the chosen libfetch is to be loaded at run-time */ 970 #define LIBFETCH_DYNAMIC 1 971 972 /* libfetch is fetch(3) */ 973 #define LIBFETCH_IS_FETCH 1 974 975 /* libfetch is libcurl */ 976 #define LIBFETCH_IS_LIBCURL 0 977 978 /* soname of chosen libfetch */ 979 #define LIBFETCH_SONAME "libfetch.so.6" 980 #endif 981 982 /* Define to the sub-directory where libtool stores uninstalled libraries. */ 983 #define LT_OBJDIR ".libs/" 984 985 /* make_request_fn() return type */ 986 /* #undef MAKE_REQUEST_FN_RET */ 987 988 /* struct shrink_control has nid */ 989 /* #undef SHRINK_CONTROL_HAS_NID */ 990 991 /* using complete_and_exit() instead */ 992 /* #undef SPL_KTHREAD_COMPLETE_AND_EXIT */ 993 994 /* Defined for legacy compatibility. */ 995 #define SPL_META_ALIAS ZFS_META_ALIAS 996 997 /* Defined for legacy compatibility. */ 998 #define SPL_META_RELEASE ZFS_META_RELEASE 999 1000 /* Defined for legacy compatibility. */ 1001 #define SPL_META_VERSION ZFS_META_VERSION 1002 1003 /* pde_data() is PDE_DATA() */ 1004 /* #undef SPL_PDE_DATA */ 1005 1006 /* Define to 1 if all of the C90 standard headers exist (not just the ones 1007 required in a freestanding environment). This macro is provided for 1008 backward compatibility; new code need not use it. */ 1009 #define SYSTEM_FREEBSD 1 1010 1011 /* True if ZFS is to be compiled for a Linux system */ 1012 /* #undef SYSTEM_LINUX */ 1013 1014 /* Version number of package */ 1015 /* #undef ZFS_DEBUG */ 1016 1017 /* /dev/zfs minor */ 1018 /* #undef ZFS_DEVICE_MINOR */ 1019 1020 /* enum node_stat_item contains NR_FILE_PAGES */ 1021 /* #undef ZFS_ENUM_NODE_STAT_ITEM_NR_FILE_PAGES */ 1022 1023 /* enum node_stat_item contains NR_INACTIVE_ANON */ 1024 /* #undef ZFS_ENUM_NODE_STAT_ITEM_NR_INACTIVE_ANON */ 1025 1026 /* enum node_stat_item contains NR_INACTIVE_FILE */ 1027 /* #undef ZFS_ENUM_NODE_STAT_ITEM_NR_INACTIVE_FILE */ 1028 1029 /* enum zone_stat_item contains NR_FILE_PAGES */ 1030 /* #undef ZFS_ENUM_ZONE_STAT_ITEM_NR_FILE_PAGES */ 1031 1032 /* enum zone_stat_item contains NR_INACTIVE_ANON */ 1033 /* #undef ZFS_ENUM_ZONE_STAT_ITEM_NR_INACTIVE_ANON */ 1034 1035 /* enum zone_stat_item contains NR_INACTIVE_FILE */ 1036 /* #undef ZFS_ENUM_ZONE_STAT_ITEM_NR_INACTIVE_FILE */ 1037 1038 /* GENHD_FL_EXT_DEVT flag is not available */ 1039 /* #undef ZFS_GENHD_FL_EXT_DEVT */ 1040 1041 /* GENHD_FL_NO_PART_SCAN flag is available */ 1042 /* #undef ZFS_GENHD_FL_NO_PART */ 1043 1044 /* global_node_page_state() exists */ 1045 /* #undef ZFS_GLOBAL_NODE_PAGE_STATE */ 1046 1047 /* global_zone_page_state() exists */ 1048 /* #undef ZFS_GLOBAL_ZONE_PAGE_STATE */ 1049 1050 /* Define to 1 if GPL-only symbols can be used */ 1051 /* #undef ZFS_IS_GPL_COMPATIBLE */ 1052 1053 /* Define the project alias string. */ 1054 #define ZFS_META_ALIAS "zfs-2.2.0-FreeBSD_g009d3288" 1055 1056 /* Define the project author. */ 1057 #define ZFS_META_AUTHOR "OpenZFS" 1058 1059 /* Define the project release date. */ 1060 /* #undef ZFS_META_DATA */ 1061 1062 /* Define the maximum compatible kernel version. */ 1063 #define ZFS_META_KVER_MAX "6.3" 1064 1065 /* Define the minimum compatible kernel version. */ 1066 #define ZFS_META_KVER_MIN "3.10" 1067 1068 /* Define the project license. */ 1069 #define ZFS_META_LICENSE "CDDL" 1070 1071 /* Define the libtool library 'age' version information. */ 1072 /* #undef ZFS_META_LT_AGE */ 1073 1074 /* Define the libtool library 'current' version information. */ 1075 /* #undef ZFS_META_LT_CURRENT */ 1076 1077 /* Define the libtool library 'revision' version information. */ 1078 /* #undef ZFS_META_LT_REVISION */ 1079 1080 /* Define the project name. */ 1081 #define ZFS_META_NAME "zfs" 1082 1083 /* Define the project release. */ 1084 #define ZFS_META_RELEASE "FreeBSD_g009d3288" 1085 1086 /* Define the project version. */ 1087 #define ZFS_META_VERSION "2.2.0" 1088 1089 /* count is located in percpu_ref.data */ 1090 /* #undef ZFS_PERCPU_REF_COUNT_IN_DATA */ 1091