Searched refs:SPA_MINBLOCKSHIFT (Results 1 - 25 of 34) sorted by relevance

12

/illumos-gate/usr/src/test/zfs-tests/tests/perf/scripts/
H A Dprefetch_io.d28 #define SPA_MINBLOCKSHIFT 9
30 #define HDR_GET_LSIZE(hdr) ((hdr)->b_lsize << SPA_MINBLOCKSHIFT)
31 #define HDR_GET_PSIZE(hdr) ((hdr)->b_psize << SPA_MINBLOCKSHIFT)
/illumos-gate/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Dspa.h63 #define SPA_MINBLOCKSHIFT 9 macro
65 #define SPA_MINBLOCKSIZE (1ULL << SPA_MINBLOCKSHIFT)
179 BF64_GET_SB((dva)->dva_word[0], 0, SPA_ASIZEBITS, SPA_MINBLOCKSHIFT, 0)
182 SPA_MINBLOCKSHIFT, 0, x)
191 BF64_GET_SB((dva)->dva_word[1], 0, 63, SPA_MINBLOCKSHIFT, 0)
193 BF64_SET_SB((dva)->dva_word[1], 0, 63, SPA_MINBLOCKSHIFT, 0, x)
199 BF64_GET_SB((bp)->blk_prop, 0, SPA_LSIZEBITS, SPA_MINBLOCKSHIFT, 1)
201 BF64_SET_SB((bp)->blk_prop, 0, SPA_LSIZEBITS, SPA_MINBLOCKSHIFT, 1, x)
204 BF64_GET_SB((bp)->blk_prop, 16, SPA_PSIZEBITS, SPA_MINBLOCKSHIFT, 1)
206 BF64_SET_SB((bp)->blk_prop, 16, SPA_PSIZEBITS, SPA_MINBLOCKSHIFT,
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dvdev_indirect_mapping.h49 BF64_GET_SB((vimep)->vimep_src, 0, 63, SPA_MINBLOCKSHIFT, 0)
51 BF64_SET_SB((vimep)->vimep_src, 0, 63, SPA_MINBLOCKSHIFT, 0, x)
H A Darc.h47 ASSERT(IS_P2ALIGNED(x, 1U << SPA_MINBLOCKSHIFT)); \
48 (hdr)->b_lsize = ((x) >> SPA_MINBLOCKSHIFT); \
52 ASSERT(IS_P2ALIGNED((x), 1U << SPA_MINBLOCKSHIFT)); \
53 (hdr)->b_psize = ((x) >> SPA_MINBLOCKSHIFT); \
56 #define HDR_GET_LSIZE(hdr) ((hdr)->b_lsize << SPA_MINBLOCKSHIFT)
57 #define HDR_GET_PSIZE(hdr) ((hdr)->b_psize << SPA_MINBLOCKSHIFT)
H A Dddt.h80 BF64_GET_SB((ddk)->ddk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1)
82 BF64_SET_SB((ddk)->ddk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1, x)
85 BF64_GET_SB((ddk)->ddk_prop, 16, 16, SPA_MINBLOCKSHIFT, 1)
87 BF64_SET_SB((ddk)->ddk_prop, 16, 16, SPA_MINBLOCKSHIFT, 1, x)
H A Dspa.h83 #define SPA_MINBLOCKSHIFT 9 macro
86 #define SPA_MINBLOCKSIZE (1ULL << SPA_MINBLOCKSHIFT)
334 * bp's they are stored in units of SPA_MINBLOCKSHIFT.
407 BF64_GET_SB((dva)->dva_word[0], 0, SPA_ASIZEBITS, SPA_MINBLOCKSHIFT, 0)
410 SPA_MINBLOCKSHIFT, 0, x)
420 BF64_GET_SB((dva)->dva_word[1], 0, 63, SPA_MINBLOCKSHIFT, 0)
422 BF64_SET_SB((dva)->dva_word[1], 0, 63, SPA_MINBLOCKSHIFT, 0, x)
430 BF64_GET_SB((bp)->blk_prop, 0, SPA_LSIZEBITS, SPA_MINBLOCKSHIFT, 1))
434 0, SPA_LSIZEBITS, SPA_MINBLOCKSHIFT, 1, x); \
439 BF64_GET_SB((bp)->blk_prop, 16, SPA_PSIZEBITS, SPA_MINBLOCKSHIFT,
[all...]
H A Ddnode.h120 #define DN_MAX_LEVELS (2 + ((DN_MAX_OFFSET_SHIFT - SPA_MINBLOCKSHIFT) / \
131 (dnp)->dn_used : (dnp)->dn_used << SPA_MINBLOCKSHIFT)
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h127 #define SPA_MINBLOCKSHIFT 9 macro
130 #define SPA_MINBLOCKSIZE (1ULL << SPA_MINBLOCKSHIFT)
279 * bp's they are stored in units of SPA_MINBLOCKSHIFT.
340 BF64_GET_SB((dva)->dva_word[0], 0, SPA_ASIZEBITS, SPA_MINBLOCKSHIFT, 0)
343 SPA_MINBLOCKSHIFT, 0, x)
352 BF64_GET_SB((dva)->dva_word[1], 0, 63, SPA_MINBLOCKSHIFT, 0)
354 BF64_SET_SB((dva)->dva_word[1], 0, 63, SPA_MINBLOCKSHIFT, 0, x)
362 BF64_GET_SB((bp)->blk_prop, 0, SPA_LSIZEBITS, SPA_MINBLOCKSHIFT, 1))
366 0, SPA_LSIZEBITS, SPA_MINBLOCKSHIFT, 1, x); \
370 BF64_GET_SB((bp)->blk_prop, 16, SPA_LSIZEBITS, SPA_MINBLOCKSHIFT,
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c285 offset = (sector << SPA_MINBLOCKSHIFT) +
549 dn->dn_datablkszsec << SPA_MINBLOCKSHIFT);
774 size = zap_dnode->dn_datablkszsec << SPA_MINBLOCKSHIFT;
805 uint32_t size = zap_dnode->dn_datablkszsec << SPA_MINBLOCKSHIFT;
866 blksz = mdn->dn_datablkszsec << SPA_MINBLOCKSHIFT;
1536 sector += (VDEV_SKIP_SIZE >> SPA_MINBLOCKSHIFT);
1631 uint64_t adjpl = (uint64_t)part_length << SPA_MINBLOCKSHIFT;
1664 label) >> SPA_MINBLOCKSHIFT;
1668 ((VDEV_SKIP_SIZE + VDEV_PHYS_SIZE) >> SPA_MINBLOCKSHIFT),
1843 blksz = DNODE->dn_datablkszsec << SPA_MINBLOCKSHIFT;
[all...]
H A Dfsys_zfs.h112 ((offset + VDEV_LABEL_START_SIZE) >> SPA_MINBLOCKSHIFT)
/illumos-gate/usr/src/lib/libzpool/common/
H A Dkernel.c206 int sectors = len >> SPA_MINBLOCKSHIFT;
208 SPA_MINBLOCKSHIFT;
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_raidz_math.c410 bench_rm = vdev_raidz_map_alloc(bench_zio, SPA_MINBLOCKSHIFT,
419 bench_rm = vdev_raidz_map_alloc(bench_zio, SPA_MINBLOCKSHIFT,
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++) {
139 size_t size = (c + 1) << SPA_MINBLOCKSHIFT;
201 for (c = 0; c < SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT; c++) {
236 size_t c = (size - 1) >> SPA_MINBLOCKSHIFT;
238 VERIFY3U(c, <, SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT);
252 size_t c = (size - 1) >> SPA_MINBLOCKSHIFT;
254 VERIFY3U(c, <, SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT);
262 size_t c = (size - 1) >> SPA_MINBLOCKSHIFT;
[all...]
H A Ddnode_sync.c405 (dn->dn_phys->dn_datablkszsec << SPA_MINBLOCKSHIFT);
658 dnp->dn_datablkszsec << SPA_MINBLOCKSHIFT);
673 dn->dn_next_blksz[txgoff] >> SPA_MINBLOCKSHIFT ==
677 dn->dn_next_blksz[txgoff] >> SPA_MINBLOCKSHIFT;
H A Ddmu_diff.c105 (((uint64_t)dnp->dn_datablkszsec) << (SPA_MINBLOCKSHIFT + \
H A Ddmu_send.c73 (((uint64_t)datablkszsec) << (SPA_MINBLOCKSHIFT + \
514 drro->drr_blksz = dnp->dn_datablkszsec << SPA_MINBLOCKSHIFT;
563 (dnp->dn_datablkszsec << SPA_MINBLOCKSHIFT), DMU_OBJECT_END) != 0)
691 record_size = dnp->dn_datablkszsec << SPA_MINBLOCKSHIFT;
832 int blksz = dblkszsec << SPA_MINBLOCKSHIFT;
840 int blksz = dblkszsec << SPA_MINBLOCKSHIFT;
H A Dvdev_file.c142 *ashift = SPA_MINBLOCKSHIFT;
H A Ddnode.c80 int zfs_default_bs = SPA_MINBLOCKSHIFT;
286 ASSERT3U(dn->dn_datablkshift, >=, SPA_MINBLOCKSHIFT);
296 dn->dn_datablkszsec << SPA_MINBLOCKSHIFT);
433 ASSERT3U(size >> SPA_MINBLOCKSHIFT, <,
436 dn->dn_datablkszsec = size >> SPA_MINBLOCKSHIFT;
462 dnode_setdblksz(dn, dnp->dn_datablkszsec << SPA_MINBLOCKSHIFT);
1754 if (size >> SPA_MINBLOCKSHIFT == dn->dn_datablkszsec && ibs == 0)
H A Dspa_log_spacemap.c962 * and SPA_MINBLOCKSHIFT as the shift, to make the space map
968 0, UINT64_MAX, SPA_MINBLOCKSHIFT));
1124 sls->sls_sm_obj, 0, UINT64_MAX, SPA_MINBLOCKSHIFT);
H A Dzfs_vfsops.c2007 statp->f_frsize = 1UL << SPA_MINBLOCKSHIFT;
2016 statp->f_blocks = (refdbytes + availbytes) >> SPA_MINBLOCKSHIFT;
2017 statp->f_bfree = availbytes >> SPA_MINBLOCKSHIFT;
H A Dzap_micro.c781 ASSERT(leaf_blockshift >= SPA_MINBLOCKSHIFT &&
783 indirect_blockshift >= SPA_MINBLOCKSHIFT &&
/illumos-gate/usr/src/boot/lib/libstand/zfs/
H A Dzfsimpl.c602 bsize = vim->vim_dn->dn_datablkszsec << SPA_MINBLOCKSHIFT;
2210 int bsize = dnode->dn_datablkszsec << SPA_MINBLOCKSHIFT;
2573 int bsize = dnode->dn_datablkszsec << SPA_MINBLOCKSHIFT;
2610 size_t size = dnode->dn_datablkszsec << SPA_MINBLOCKSHIFT;
2673 int bsize = dnode->dn_datablkszsec << SPA_MINBLOCKSHIFT;
2764 size_t size = dnode->dn_datablkszsec << SPA_MINBLOCKSHIFT;
2848 int bsize = dnode->dn_datablkszsec << SPA_MINBLOCKSHIFT;
2904 size_t size = dnode->dn_datablkszsec << SPA_MINBLOCKSHIFT;
3103 size = child_dir_zap.dn_datablkszsec << SPA_MINBLOCKSHIFT;
3276 size = dir.dn_datablkszsec << SPA_MINBLOCKSHIFT;
[all...]
H A Dzfs.c210 size_t bsize = fp->f_dnode.dn_datablkszsec << SPA_MINBLOCKSHIFT;
/illumos-gate/usr/src/cmd/raidz_test/
H A Draidz_test.c137 MAX(SPA_MINBLOCKSHIFT, value));
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c1162 sls->sls_sm_obj, 0, UINT64_MAX, SPA_MINBLOCKSHIFT));
1444 dnp->dn_datablkszsec << SPA_MINBLOCKSHIFT);
2837 ashift = SPA_MINBLOCKSHIFT;
2847 ashift = SPA_MINBLOCKSHIFT;
2982 unsigned idx = BP_GET_PSIZE(bp) >> SPA_MINBLOCKSHIFT;
3244 sls->sls_sm_obj, 0, UINT64_MAX, SPA_MINBLOCKSHIFT));

Completed in 118 milliseconds

12