/illumos-gate/usr/src/cmd/raidz_test/ |
H A D | raidz_test.c | 634 1 << 17, (1 << 20) - (1 << 12), SPA_MAXBLOCKSIZE }; in run_sweep() 747 rand_data = (int *)umem_alloc(SPA_MAXBLOCKSIZE, UMEM_NOFAIL); in main() 749 for (i = 0; i < SPA_MAXBLOCKSIZE / sizeof (int); i++) in main() 752 mprotect((void *)rand_data, SPA_MAXBLOCKSIZE, PROT_READ); in main() 762 umem_free(rand_data, SPA_MAXBLOCKSIZE); in main()
|
H A D | raidz_bench.c | 47 static size_t max_data_size = SPA_MAXBLOCKSIZE;
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | abd.c | 261 ASSERT3U(abd->abd_size, <=, SPA_MAXBLOCKSIZE); in abd_verify() 310 VERIFY3U(size, <=, SPA_MAXBLOCKSIZE); in abd_alloc() 367 VERIFY3U(size, <=, SPA_MAXBLOCKSIZE); in abd_alloc_linear() 539 VERIFY3U(size, <=, SPA_MAXBLOCKSIZE); in abd_get_from_buf()
|
H A D | zio.c | 73 kmem_cache_t *zio_buf_cache[SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT]; 74 kmem_cache_t *zio_data_buf_cache[SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT]; 140 for (c = 0; c < SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT; c++) { in zio_init() 203 for (c = 0; c < SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT; c++) { in zio_fini() 240 VERIFY3U(c, <, SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT); in zio_buf_alloc() 256 VERIFY3U(c, <, SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT); in zio_data_buf_alloc() 266 VERIFY3U(c, <, SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT); in zio_buf_free() 276 VERIFY3U(c, <, SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT); in zio_data_buf_free() 701 IMPLY(type != ZIO_TYPE_TRIM, psize <= SPA_MAXBLOCKSIZE); in zio_create() 827 if (BP_GET_LSIZE(bp) > SPA_MAXBLOCKSIZE) { in zfs_blkptr_verify() [all …]
|
H A D | zfs_fm.c | 490 ASSERT3U(size, <=, SPA_MAXBLOCKSIZE); in annotate_ecksum()
|
H A D | vdev_queue.c | 665 ASSERT3U(size, <=, SPA_MAXBLOCKSIZE); in vdev_queue_aggregate()
|
H A D | vdev_removal.c | 915 ASSERT3U(maxalloc, <=, SPA_MAXBLOCKSIZE); in spa_vdev_copy_segment() 1289 uint64_t thismax = SPA_MAXBLOCKSIZE; in spa_vdev_copy_impl()
|
H A D | zil.c | 3407 zr.zr_lr = kmem_alloc(2 * SPA_MAXBLOCKSIZE, KM_SLEEP); in zil_replay() 3419 kmem_free(zr.zr_lr, 2 * SPA_MAXBLOCKSIZE); in zil_replay()
|
H A D | dmu_recv.c | 59 int zfs_recv_queue_length = SPA_MAXBLOCKSIZE; 1902 ASSERT3U(len, <=, SPA_MAXBLOCKSIZE); in receive_read_payload_and_next_header()
|
H A D | dmu_send.c | 61 int zfs_send_queue_length = SPA_MAXBLOCKSIZE;
|
H A D | spa_misc.c | 2445 return (SPA_MAXBLOCKSIZE); in spa_maxblocksize()
|
H A D | dnode.c | 425 ASSERT3U(size, <=, SPA_MAXBLOCKSIZE); in dnode_setdblksz()
|
H A D | dmu.c | 96 uint64_t dmu_prefetch_max = 8 * SPA_MAXBLOCKSIZE;
|
/illumos-gate/usr/src/cmd/zstreamdump/ |
H A D | zstreamdump.c | 174 char *buf = safe_malloc(SPA_MAXBLOCKSIZE); in main() 333 if (sz > SPA_MAXBLOCKSIZE) { in main()
|
/illumos-gate/usr/src/cmd/zdb/ |
H A D | zdb.c | 1361 char *buf = umem_alloc(SPA_MAXBLOCKSIZE, UMEM_NOFAIL); in dump_history() 1363 len = SPA_MAXBLOCKSIZE; in dump_history() 1368 umem_free(buf, SPA_MAXBLOCKSIZE); in dump_history() 1377 umem_free(buf, SPA_MAXBLOCKSIZE); in dump_history() 6092 pabd = abd_alloc_linear(SPA_MAXBLOCKSIZE, B_FALSE); in zdb_read_block() 6093 lbuf = umem_alloc(SPA_MAXBLOCKSIZE, UMEM_NOFAIL); in zdb_read_block() 6149 void *pbuf2 = umem_alloc(SPA_MAXBLOCKSIZE, UMEM_NOFAIL); in zdb_read_block() 6150 void *lbuf2 = umem_alloc(SPA_MAXBLOCKSIZE, UMEM_NOFAIL); in zdb_read_block() 6154 VERIFY0(abd_iterate_func(pabd, psize, SPA_MAXBLOCKSIZE - psize, in zdb_read_block() 6158 SPA_MAXBLOCKSIZE - psize)); in zdb_read_block() [all …]
|
H A D | zdb_il.c | 202 0, MIN(lr->lr_length, (verbose < 6 ? 20 : SPA_MAXBLOCKSIZE)), in zil_prt_rec_write()
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/zfs-include/ |
H A D | spa.h | 66 #define SPA_MAXBLOCKSIZE (1ULL << SPA_MAXBLOCKSHIFT) macro
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | arc_impl.h | 303 CTASSERT(sizeof (l2arc_log_blk_phys_t) <= SPA_MAXBLOCKSIZE);
|
H A D | spa.h | 89 #define SPA_MAXBLOCKSIZE (1ULL << SPA_MAXBLOCKSHIFT) macro
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_zfs.c | 1832 stackbase += SPA_MAXBLOCKSIZE; in zfs_read() 1854 if (blksz > SPA_MAXBLOCKSIZE) { in zfs_read()
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_sendrecv.c | 239 char *buf = zfs_alloc(dda->dedup_hdl, SPA_MAXBLOCKSIZE); in cksummer() 301 if (sz > SPA_MAXBLOCKSIZE) { in cksummer() 303 SPA_MAXBLOCKSIZE, sz); in cksummer() 3320 void *buf = zfs_alloc(hdl, SPA_MAXBLOCKSIZE); in recv_skip() 3368 assert(payload_size <= SPA_MAXBLOCKSIZE); in recv_skip()
|
H A D | libzfs_util.c | 736 hdl->libzfs_max_nvlist = (SPA_MAXBLOCKSIZE * 4); in libzfs_init()
|
/illumos-gate/usr/src/boot/libsa/zfs/ |
H A D | zfsimpl.c | 164 dnode_cache_buf = malloc(SPA_MAXBLOCKSIZE); in zfs_init() 2345 if (bsize > SPA_MAXBLOCKSIZE) { in dnode_read() 2347 "supported\n", SPA_MAXBLOCKSIZE); in dnode_read()
|
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
H A D | zfsimpl.h | 136 #define SPA_MAXBLOCKSIZE (1ULL << SPA_MAXBLOCKSHIFT) macro
|
/illumos-gate/usr/src/cmd/ztest/ |
H A D | ztest.c | 1099 if (spa_maxblocksize(ztest_spa) == SPA_MAXBLOCKSIZE) in ztest_random_blocksize() 3642 newsize = psize + MAX(psize / 8, SPA_MAXBLOCKSIZE); in ztest_vdev_LUN_growth()
|