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

12

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dabd.c235 ASSERT3U(abd->abd_size, <=, SPA_MAXBLOCKSIZE);
283 VERIFY3U(size, <=, SPA_MAXBLOCKSIZE);
340 VERIFY3U(size, <=, SPA_MAXBLOCKSIZE);
512 VERIFY3U(size, <=, SPA_MAXBLOCKSIZE);
H A Dzio.c70 kmem_cache_t *zio_buf_cache[SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT];
71 kmem_cache_t *zio_data_buf_cache[SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT];
134 for (c = 0; c < SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT; c++) {
197 for (c = 0; c < SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT; c++) {
234 VERIFY3U(c, <, SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT);
250 VERIFY3U(c, <, SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT);
260 VERIFY3U(c, <, SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT);
270 VERIFY3U(c, <, SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT);
695 IMPLY(type != ZIO_TYPE_TRIM, psize <= SPA_MAXBLOCKSIZE);
821 if (BP_GET_LSIZE(bp) > SPA_MAXBLOCKSIZE) {
[all...]
H A Dzfs_fm.c557 ASSERT3U(size, <=, SPA_MAXBLOCKSIZE);
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
914 ASSERT3U(maxalloc, <=, SPA_MAXBLOCKSIZE);
1286 uint64_t thismax = SPA_MAXBLOCKSIZE;
1331 * size at SPA_MAXBLOCKSIZE), we:
H A Dzil.c3417 zr.zr_lr = kmem_alloc(2 * SPA_MAXBLOCKSIZE, KM_SLEEP);
3429 kmem_free(zr.zr_lr, 2 * SPA_MAXBLOCKSIZE);
H A Ddmu_recv.c59 int zfs_recv_queue_length = SPA_MAXBLOCKSIZE;
1879 ASSERT3U(len, <=, SPA_MAXBLOCKSIZE);
H A Ddmu_send.c61 int zfs_send_queue_length = SPA_MAXBLOCKSIZE;
H A Dspa_misc.c2252 return (SPA_MAXBLOCKSIZE);
H A Ddnode.c432 ASSERT3U(size, <=, SPA_MAXBLOCKSIZE);
H A Ddmu.c96 uint64_t dmu_prefetch_max = 8 * SPA_MAXBLOCKSIZE;
H A Darc.c4949 for (i = 0; i < SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT; i++) {
5209 uint64_t overflow = MAX(SPA_MAXBLOCKSIZE,
H A Dmetaslab.c45 uint64_t metaslab_force_ganging = SPA_MAXBLOCKSIZE + 1; /* force gang blocks */
/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.c1367 char *buf = umem_alloc(SPA_MAXBLOCKSIZE, UMEM_NOFAIL);
1369 len = SPA_MAXBLOCKSIZE;
1374 umem_free(buf, SPA_MAXBLOCKSIZE);
1383 umem_free(buf, SPA_MAXBLOCKSIZE);
5576 pabd = abd_alloc_linear(SPA_MAXBLOCKSIZE, B_FALSE);
5577 lbuf = umem_alloc(SPA_MAXBLOCKSIZE, UMEM_NOFAIL);
5633 void *pbuf2 = umem_alloc(SPA_MAXBLOCKSIZE, UMEM_NOFAIL);
5634 void *lbuf2 = umem_alloc(SPA_MAXBLOCKSIZE, UMEM_NOFAIL);
5638 VERIFY0(abd_iterate_func(pabd, psize, SPA_MAXBLOCKSIZE - psize,
5642 SPA_MAXBLOCKSIZE
5711 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/boot/lib/libstand/zfs/
H A Dzfsimpl.c169 dnode_cache_buf = malloc(SPA_MAXBLOCKSIZE);
170 zap_scratch = malloc(SPA_MAXBLOCKSIZE);
1898 if (bsize > SPA_MAXBLOCKSIZE) {
1900 "supported\n", 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.c238 char *buf = zfs_alloc(dda->dedup_hdl, SPA_MAXBLOCKSIZE);
300 if (sz > SPA_MAXBLOCKSIZE) {
302 SPA_MAXBLOCKSIZE, sz);
2196 assert(ilen <= SPA_MAXBLOCKSIZE);
3275 void *buf = zfs_alloc(hdl, SPA_MAXBLOCKSIZE);
H A Dlibzfs_dataset.c1153 int maxbs = SPA_MAXBLOCKSIZE;
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h124 #define SPA_MAXBLOCKSIZE (1ULL << SPA_MAXBLOCKSHIFT) macro
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h118 * 32MB - 512 bytes. Therefore, we limit SPA_MAXBLOCKSIZE to 16MB.
125 #define SPA_MAXBLOCKSIZE (1ULL << SPA_MAXBLOCKSHIFT) macro
/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
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c3953 * SPA_MINBLOCKSHIFT of 512 bytes and a SPA_MAXBLOCKSIZE of 128K.
3999 unsigned int max_shifted = SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT;

Completed in 421 milliseconds

12