| /freebsd/sys/contrib/openzfs/cmd/raidz_test/ |
| H A D | raidz_test.c | 272 VERIFY3U(offset + size, <=, SPA_MAXBLOCKSIZE); in init_rand() 710 1 << 17, (1 << 20) - (1 << 12), SPA_MAXBLOCKSIZE }; in run_sweep() 836 rand_data = (int *)umem_alloc(SPA_MAXBLOCKSIZE, UMEM_NOFAIL); in main() 838 for (i = 0; i < SPA_MAXBLOCKSIZE / sizeof (int); i++) in main() 841 mprotect(rand_data, SPA_MAXBLOCKSIZE, PROT_READ); in main() 851 mprotect(rand_data, SPA_MAXBLOCKSIZE, PROT_READ | PROT_WRITE); in main() 853 umem_free(rand_data, SPA_MAXBLOCKSIZE); in main()
|
| H A D | raidz_bench.c | 45 static size_t max_data_size = SPA_MAXBLOCKSIZE;
|
| /freebsd/sys/contrib/openzfs/lib/libzpool/ |
| H A D | abd_os.c | 189 abd_zero_scatter = abd_alloc_struct(SPA_MAXBLOCKSIZE); in abd_init() 191 abd_zero_scatter->abd_size = SPA_MAXBLOCKSIZE; in abd_init() 197 uint_t n = abd_iovcnt_for_bytes(SPA_MAXBLOCKSIZE); in abd_init()
|
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | abd.c | 116 ASSERT3U(abd->abd_size, <=, SPA_MAXBLOCKSIZE); in abd_verify() 193 VERIFY3U(size, <=, SPA_MAXBLOCKSIZE); in abd_alloc() 220 VERIFY3U(size, <=, SPA_MAXBLOCKSIZE); in abd_alloc_linear() 623 ASSERT3U(size, <=, SPA_MAXBLOCKSIZE); in abd_get_zeros() 633 VERIFY3U(size, <=, SPA_MAXBLOCKSIZE); in abd_get_from_buf_impl()
|
| H A D | zio.c | 81 kmem_cache_t *zio_buf_cache[SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT]; 82 kmem_cache_t *zio_data_buf_cache[SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT]; 84 static uint64_t zio_buf_cache_allocs[SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT]; 85 static uint64_t zio_buf_cache_frees[SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT]; 219 for (c = 0; c < SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT; c++) { in zio_init() 300 size_t n = SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT; in zio_fini() 391 if (c + 1 < SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT && in zio_buf_put_canary() 404 if (c + 1 < SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT && in zio_buf_check_canary() 428 VERIFY3U(c, <, SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT); in zio_buf_alloc() 451 VERIFY3U(c, <, SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT); in zio_data_buf_alloc() [all …]
|
| H A D | vdev_queue.c | 623 limit = MIN(limit, SPA_MAXBLOCKSIZE); in vdev_queue_aggregate() 691 IO_SPAN(first, dio) <= SPA_MAXBLOCKSIZE && in vdev_queue_aggregate() 745 ASSERT3U(size, <=, SPA_MAXBLOCKSIZE); in vdev_queue_aggregate()
|
| H A D | vdev_removal.c | 144 uint_t zfs_remove_max_segment = SPA_MAXBLOCKSIZE; 1169 ASSERT3U(maxalloc, <=, SPA_MAXBLOCKSIZE); in spa_vdev_copy_segment() 1556 uint64_t thismax = SPA_MAXBLOCKSIZE; in spa_vdev_copy_impl()
|
| H A D | vdev_mirror.c | 966 SPA_MAXBLOCKSIZE); in vdev_mirror_rebuild_asize()
|
| H A D | dmu.c | 96 uint_t dmu_prefetch_max = 8 * SPA_MAXBLOCKSIZE; 909 chunksize = MAX(chunksize, SPA_MAXBLOCKSIZE); in dmu_prefetch_wait()
|
| H A D | zfs_fm.c | 969 ASSERT3U(size, <=, SPA_MAXBLOCKSIZE); in annotate_ecksum()
|
| /freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | abd_os.c | 259 n = abd_chunkcnt_for_bytes(SPA_MAXBLOCKSIZE); in abd_alloc_zero_scatter() 260 abd_zero_scatter = abd_alloc_struct(SPA_MAXBLOCKSIZE); in abd_alloc_zero_scatter() 262 abd_zero_scatter->abd_size = SPA_MAXBLOCKSIZE; in abd_alloc_zero_scatter()
|
| /freebsd/sys/contrib/openzfs/cmd/zstream/ |
| H A D | zstream_drop_record.c | 44 int bufsz = SPA_MAXBLOCKSIZE; in zstream_do_drop_record()
|
| H A D | zstream_recompress.c | 45 int bufsz = SPA_MAXBLOCKSIZE; in zstream_do_recompress()
|
| H A D | zstream_decompress.c | 46 int bufsz = SPA_MAXBLOCKSIZE; in zstream_do_decompress()
|
| H A D | zstream_dump.c | 200 char *buf = safe_malloc(SPA_MAXBLOCKSIZE); in zstream_do_dump() 381 if (sz > SPA_MAXBLOCKSIZE) { in zstream_do_dump()
|
| H A D | zstream_redup.c | 128 int bufsz = SPA_MAXBLOCKSIZE; in zfs_redup_stream()
|
| /freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | abd_os.c | 483 int nr_pages = abd_chunkcnt_for_bytes(SPA_MAXBLOCKSIZE); in abd_alloc_zero_scatter() 503 abd_zero_scatter = abd_alloc_struct(SPA_MAXBLOCKSIZE); in abd_alloc_zero_scatter() 508 abd_zero_scatter->abd_size = SPA_MAXBLOCKSIZE; in abd_alloc_zero_scatter()
|
| H A D | zpl_super.c | 253 statp->f_bsize < SPA_MAXBLOCKSIZE) { in zpl_statfs()
|
| /freebsd/sys/contrib/openzfs/cmd/zdb/ |
| H A D | zdb_il.c | 218 0, MIN(lr->lr_length, (verbose < 6 ? 20 : SPA_MAXBLOCKSIZE)), in zil_prt_rec_write()
|
| H A D | zdb.c | 2557 buf = malloc(SPA_MAXBLOCKSIZE); in snprintf_zstd_header() 2576 pabd = abd_alloc_for_io(SPA_MAXBLOCKSIZE, B_FALSE); in snprintf_zstd_header() 9366 void *lbuf2 = umem_alloc(SPA_MAXBLOCKSIZE, UMEM_NOFAIL); in zdb_decompress_block() 9369 uint64_t maxlsize = SPA_MAXBLOCKSIZE; in zdb_decompress_block() 9421 umem_free(lbuf2, SPA_MAXBLOCKSIZE); in zdb_decompress_block() 9556 pabd = abd_alloc_for_io(SPA_MAXBLOCKSIZE, B_FALSE); in zdb_read_block() 9557 lbuf = umem_alloc(SPA_MAXBLOCKSIZE, UMEM_NOFAIL); in zdb_read_block() 9722 umem_free(lbuf, SPA_MAXBLOCKSIZE); in zdb_read_block() 9746 ASSERT3U(BPE_GET_LSIZE(&bp), <=, SPA_MAXBLOCKSIZE); in zdb_embedded_block() 9747 buf = malloc(SPA_MAXBLOCKSIZE); in zdb_embedded_block()
|
| /freebsd/sys/contrib/openzfs/include/sys/ |
| H A D | arc_impl.h | 357 _Static_assert(sizeof (l2arc_log_blk_phys_t) <= SPA_MAXBLOCKSIZE,
|
| /freebsd/sys/contrib/openzfs/include/sys/fs/ |
| H A D | zfs.h | 2069 #define SPA_MAXBLOCKSIZE (1ULL << SPA_MAXBLOCKSHIFT) macro
|
| /freebsd/stand/libsa/zfs/ |
| H A D | zfsimpl.c | 170 dnode_cache_buf = malloc(SPA_MAXBLOCKSIZE); in zfs_init() 2460 if (bsize > SPA_MAXBLOCKSIZE) { in dnode_read() 2462 "supported\n", SPA_MAXBLOCKSIZE); in dnode_read()
|
| /freebsd/sys/cddl/boot/zfs/ |
| H A D | zfsimpl.h | 138 #define SPA_MAXBLOCKSIZE (1ULL << SPA_MAXBLOCKSHIFT) macro
|
| /freebsd/sys/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_dataset.c | 1056 int maxbs = SPA_MAXBLOCKSIZE; in zfs_valid_proplist() 1081 int maxbs = SPA_MAXBLOCKSIZE; in zfs_valid_proplist() 1084 if (intval > SPA_MAXBLOCKSIZE) { in zfs_valid_proplist()
|