Home
last modified time | relevance | path

Searched refs:SPA_MAXBLOCKSIZE (Results 1 – 25 of 41) sorted by relevance

12

/freebsd-head/sys/contrib/openzfs/lib/libzpool/
HDabd_os.c189 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-head/sys/contrib/openzfs/cmd/raidz_test/
HDraidz_test.c696 1 << 17, (1 << 20) - (1 << 12), SPA_MAXBLOCKSIZE }; in run_sweep()
822 rand_data = (int *)umem_alloc(SPA_MAXBLOCKSIZE, UMEM_NOFAIL); in main()
824 for (i = 0; i < SPA_MAXBLOCKSIZE / sizeof (int); i++) in main()
827 mprotect(rand_data, SPA_MAXBLOCKSIZE, PROT_READ); in main()
837 umem_free(rand_data, SPA_MAXBLOCKSIZE); in main()
HDraidz_bench.c45 static size_t max_data_size = SPA_MAXBLOCKSIZE;
/freebsd-head/sys/contrib/openzfs/module/zfs/
HDabd.c116 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()
622 ASSERT3U(size, <=, SPA_MAXBLOCKSIZE); in abd_get_zeros()
632 VERIFY3U(size, <=, SPA_MAXBLOCKSIZE); in abd_get_from_buf_impl()
HDzio.c81 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 …]
HDvdev_queue.c623 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()
HDvdev_removal.c108 uint_t zfs_remove_max_segment = SPA_MAXBLOCKSIZE;
1131 ASSERT3U(maxalloc, <=, SPA_MAXBLOCKSIZE); in spa_vdev_copy_segment()
1516 uint64_t thismax = SPA_MAXBLOCKSIZE; in spa_vdev_copy_impl()
HDvdev_mirror.c965 SPA_MAXBLOCKSIZE); in vdev_mirror_rebuild_asize()
HDzfs_fm.c964 ASSERT3U(size, <=, SPA_MAXBLOCKSIZE); in annotate_ecksum()
HDvdev_raidz.c362 static unsigned long raidz_expand_max_copy_bytes = SPA_MAXBLOCKSIZE;
364 static unsigned long raidz_expand_max_copy_bytes = 10 * SPA_MAXBLOCKSIZE;
4027 MIN(zfs_max_recordsize, SPA_MAXBLOCKSIZE)); in raidz_reflow_impl()
/freebsd-head/sys/contrib/openzfs/module/os/freebsd/zfs/
HDabd_os.c259 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-head/sys/contrib/openzfs/module/os/linux/zfs/
HDabd_os.c486 int nr_pages = abd_chunkcnt_for_bytes(SPA_MAXBLOCKSIZE); in abd_alloc_zero_scatter()
506 abd_zero_scatter = abd_alloc_struct(SPA_MAXBLOCKSIZE); in abd_alloc_zero_scatter()
511 abd_zero_scatter->abd_size = SPA_MAXBLOCKSIZE; in abd_alloc_zero_scatter()
HDzpl_super.c144 statp->f_bsize < SPA_MAXBLOCKSIZE) { in zpl_statfs()
HDzvol_os.c1716 len = MIN(zvol_prefetch_bytes, SPA_MAXBLOCKSIZE); in zvol_os_create_minor()
/freebsd-head/sys/contrib/openzfs/cmd/zstream/
HDzstream_dump.c211 char *buf = safe_malloc(SPA_MAXBLOCKSIZE); in zstream_do_dump()
392 if (sz > SPA_MAXBLOCKSIZE) { in zstream_do_dump()
HDzstream_recompress.c69 int bufsz = SPA_MAXBLOCKSIZE; in zstream_do_recompress()
HDzstream_decompress.c70 int bufsz = SPA_MAXBLOCKSIZE; in zstream_do_decompress()
HDzstream_redup.c180 int bufsz = SPA_MAXBLOCKSIZE; in zfs_redup_stream()
/freebsd-head/sys/contrib/openzfs/cmd/zdb/
HDzdb_il.c220 0, MIN(lr->lr_length, (verbose < 6 ? 20 : SPA_MAXBLOCKSIZE)), in zil_prt_rec_write()
HDzdb.c2474 buf = malloc(SPA_MAXBLOCKSIZE); in snprintf_zstd_header()
2493 pabd = abd_alloc_for_io(SPA_MAXBLOCKSIZE, B_FALSE); in snprintf_zstd_header()
8788 void *lbuf2 = umem_alloc(SPA_MAXBLOCKSIZE, UMEM_NOFAIL); in zdb_decompress_block()
8791 uint64_t maxlsize = SPA_MAXBLOCKSIZE; in zdb_decompress_block()
8844 umem_free(lbuf2, SPA_MAXBLOCKSIZE); in zdb_decompress_block()
8979 pabd = abd_alloc_for_io(SPA_MAXBLOCKSIZE, B_FALSE); in zdb_read_block()
8980 lbuf = umem_alloc(SPA_MAXBLOCKSIZE, UMEM_NOFAIL); in zdb_read_block()
9145 umem_free(lbuf, SPA_MAXBLOCKSIZE); in zdb_read_block()
9169 ASSERT3U(BPE_GET_LSIZE(&bp), <=, SPA_MAXBLOCKSIZE); in zdb_embedded_block()
9170 buf = malloc(SPA_MAXBLOCKSIZE); in zdb_embedded_block()
/freebsd-head/sys/contrib/openzfs/include/sys/
HDarc_impl.h323 _Static_assert(sizeof (l2arc_log_blk_phys_t) <= SPA_MAXBLOCKSIZE,
/freebsd-head/sys/contrib/openzfs/include/sys/fs/
HDzfs.h1939 #define SPA_MAXBLOCKSIZE (1ULL << SPA_MAXBLOCKSHIFT) macro
/freebsd-head/stand/libsa/zfs/
HDzfsimpl.c173 dnode_cache_buf = malloc(SPA_MAXBLOCKSIZE); in zfs_init()
2327 if (bsize > SPA_MAXBLOCKSIZE) { in dnode_read()
2329 "supported\n", SPA_MAXBLOCKSIZE); in dnode_read()
/freebsd-head/sys/cddl/boot/zfs/
HDzfsimpl.h137 #define SPA_MAXBLOCKSIZE (1ULL << SPA_MAXBLOCKSHIFT) macro
/freebsd-head/sys/contrib/openzfs/lib/libzfs/
HDlibzfs_sendrecv.c4047 void *buf = zfs_alloc(hdl, SPA_MAXBLOCKSIZE); in recv_skip()
4101 assert(payload_size <= SPA_MAXBLOCKSIZE); in recv_skip()
5025 void *buf = zfs_alloc(hdl, SPA_MAXBLOCKSIZE); in zfs_receive_one()

12