Searched refs:SPA_MAXBLOCKSIZE (Results 1 - 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/cmd/raidz_test/
H A Draidz_test.c629 1 << 17, (1 << 20) - (1 << 12), SPA_MAXBLOCKSIZE };
742 rand_data = (int *)umem_alloc(SPA_MAXBLOCKSIZE, UMEM_NOFAIL);
744 for (i = 0; i < SPA_MAXBLOCKSIZE / sizeof (int); i++)
747 mprotect((void *)rand_data, SPA_MAXBLOCKSIZE, PROT_READ);
757 umem_free(rand_data, SPA_MAXBLOCKSIZE);
H A Draidz_bench.c47 static size_t max_data_size = SPA_MAXBLOCKSIZE;
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dabd.c260 ASSERT3U(abd->abd_size, <=, SPA_MAXBLOCKSIZE);
309 VERIFY3U(size, <=, SPA_MAXBLOCKSIZE);
366 VERIFY3U(size, <=, SPA_MAXBLOCKSIZE);
538 VERIFY3U(size, <=, SPA_MAXBLOCKSIZE);
H A Dzio.c71 kmem_cache_t *zio_buf_cache[SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT];
72 kmem_cache_t *zio_data_buf_cache[SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT];
138 for (c = 0; c < SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT; c++) {
201 for (c = 0; c < SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT; c++) {
238 VERIFY3U(c, <, SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT);
254 VERIFY3U(c, <, SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT);
264 VERIFY3U(c, <, SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT);
274 VERIFY3U(c, <, SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT);
699 IMPLY(type != ZIO_TYPE_TRIM, psize <= SPA_MAXBLOCKSIZE);
825 if (BP_GET_LSIZE(bp) > SPA_MAXBLOCKSIZE) {
[all...]
H A Dvdev_queue.c665 ASSERT3U(size, <=, SPA_MAXBLOCKSIZE);
H A Dvdev_removal.c97 * removing a device. This can be no larger than SPA_MAXBLOCKSIZE. If
915 ASSERT3U(maxalloc, <=, SPA_MAXBLOCKSIZE);
1289 uint64_t thismax = SPA_MAXBLOCKSIZE;
1334 * size at SPA_MAXBLOCKSIZE), we:
H A Dzfs_fm.c490 ASSERT3U(size, <=, SPA_MAXBLOCKSIZE);
H A Ddmu_recv.c59 int zfs_recv_queue_length = SPA_MAXBLOCKSIZE;
1875 ASSERT3U(len, <=, SPA_MAXBLOCKSIZE);
H A Dzil.c3407 zr.zr_lr = kmem_alloc(2 * SPA_MAXBLOCKSIZE, KM_SLEEP);
3419 kmem_free(zr.zr_lr, 2 * SPA_MAXBLOCKSIZE);
H A Ddmu_send.c61 int zfs_send_queue_length = SPA_MAXBLOCKSIZE;
H A Dspa_misc.c2431 return (SPA_MAXBLOCKSIZE);
H A Ddmu.c96 uint64_t dmu_prefetch_max = 8 * SPA_MAXBLOCKSIZE;
H A Ddnode.c431 ASSERT3U(size, <=, SPA_MAXBLOCKSIZE);
H A Darc.c4964 for (i = 0; i < SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT; i++) {
5224 uint64_t overflow = MAX(SPA_MAXBLOCKSIZE,
/illumos-gate/usr/src/cmd/zstreamdump/
H A Dzstreamdump.c219 char *buf = safe_malloc(SPA_MAXBLOCKSIZE);
377 if (sz > SPA_MAXBLOCKSIZE) {
/illumos-gate/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Dspa.h61 * of memory. Therefore its SPA_MAXBLOCKSIZE is still 128KB.
66 #define SPA_MAXBLOCKSIZE (1ULL << SPA_MAXBLOCKSHIFT) macro
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c1362 char *buf = umem_alloc(SPA_MAXBLOCKSIZE, UMEM_NOFAIL);
1364 len = SPA_MAXBLOCKSIZE;
1369 umem_free(buf, SPA_MAXBLOCKSIZE);
1378 umem_free(buf, SPA_MAXBLOCKSIZE);
5572 pabd = abd_alloc_linear(SPA_MAXBLOCKSIZE, B_FALSE);
5573 lbuf = umem_alloc(SPA_MAXBLOCKSIZE, UMEM_NOFAIL);
5629 void *pbuf2 = umem_alloc(SPA_MAXBLOCKSIZE, UMEM_NOFAIL);
5630 void *lbuf2 = umem_alloc(SPA_MAXBLOCKSIZE, UMEM_NOFAIL);
5634 VERIFY0(abd_iterate_func(pabd, psize, SPA_MAXBLOCKSIZE - psize,
5638 SPA_MAXBLOCKSIZE
5707 ASSERT3U(BPE_GET_LSIZE(&bp), <=, SPA_MAXBLOCKSIZE); local
[all...]
H A Dzdb_il.c202 0, MIN(lr->lr_length, (verbose < 6 ? 20 : SPA_MAXBLOCKSIZE)),
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c1829 stackbase += SPA_MAXBLOCKSIZE;
1846 * Note: for GRUB, SPA_MAXBLOCKSIZE is 128KB. There is not enough
1851 if (blksz > SPA_MAXBLOCKSIZE) {
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c239 char *buf = zfs_alloc(dda->dedup_hdl, SPA_MAXBLOCKSIZE);
301 if (sz > SPA_MAXBLOCKSIZE) {
303 SPA_MAXBLOCKSIZE, sz);
2201 assert(ilen <= SPA_MAXBLOCKSIZE);
3280 void *buf = zfs_alloc(hdl, SPA_MAXBLOCKSIZE);
H A Dlibzfs_dataset.c1158 int maxbs = SPA_MAXBLOCKSIZE;
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h81 * 32MB - 512 bytes. Therefore, we limit SPA_MAXBLOCKSIZE to 16MB.
88 #define SPA_MAXBLOCKSIZE (1ULL << SPA_MAXBLOCKSHIFT) macro
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h132 #define SPA_MAXBLOCKSIZE (1ULL << SPA_MAXBLOCKSHIFT) macro
/illumos-gate/usr/src/boot/lib/libstand/zfs/
H A Dzfsimpl.c162 dnode_cache_buf = malloc(SPA_MAXBLOCKSIZE);
2255 if (bsize > SPA_MAXBLOCKSIZE) {
2257 "supported\n", SPA_MAXBLOCKSIZE);
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c1094 if (spa_maxblocksize(ztest_spa) == SPA_MAXBLOCKSIZE)
3637 newsize = psize + MAX(psize / 8, SPA_MAXBLOCKSIZE);
5683 * (# leaves * SPA_MAXBLOCKSIZE * 4). Within each chunk

Completed in 171 milliseconds

12