/titanic_44/usr/src/grub/grub-0.97/stage2/zfs-include/ |
H A D | spa.h | 62 #define SPA_MINBLOCKSHIFT 9 macro 64 #define SPA_MINBLOCKSIZE (1ULL << SPA_MINBLOCKSHIFT) 176 BF64_GET_SB((dva)->dva_word[0], 0, SPA_ASIZEBITS, SPA_MINBLOCKSHIFT, 0) 179 SPA_MINBLOCKSHIFT, 0, x) 188 BF64_GET_SB((dva)->dva_word[1], 0, 63, SPA_MINBLOCKSHIFT, 0) 190 BF64_SET_SB((dva)->dva_word[1], 0, 63, SPA_MINBLOCKSHIFT, 0, x) 196 BF64_GET_SB((bp)->blk_prop, 0, SPA_LSIZEBITS, SPA_MINBLOCKSHIFT, 1) 198 BF64_SET_SB((bp)->blk_prop, 0, SPA_LSIZEBITS, SPA_MINBLOCKSHIFT, 1, x) 201 BF64_GET_SB((bp)->blk_prop, 16, SPA_PSIZEBITS, SPA_MINBLOCKSHIFT, 1) 203 BF64_SET_SB((bp)->blk_prop, 16, SPA_PSIZEBITS, SPA_MINBLOCKSHIFT, 1, x)
|
/titanic_44/usr/src/uts/common/fs/zfs/sys/ |
H A D | ddt.h | 76 BF64_GET_SB((ddk)->ddk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1) 78 BF64_SET_SB((ddk)->ddk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1, x) 81 BF64_GET_SB((ddk)->ddk_prop, 16, 16, SPA_MINBLOCKSHIFT, 1) 83 BF64_SET_SB((ddk)->ddk_prop, 16, 16, SPA_MINBLOCKSHIFT, 1, x)
|
H A D | spa.h | 112 #define SPA_MINBLOCKSHIFT 9 macro 115 #define SPA_MINBLOCKSIZE (1ULL << SPA_MINBLOCKSHIFT) 331 BF64_GET_SB((dva)->dva_word[0], 0, SPA_ASIZEBITS, SPA_MINBLOCKSHIFT, 0) 334 SPA_MINBLOCKSHIFT, 0, x) 343 BF64_GET_SB((dva)->dva_word[1], 0, 63, SPA_MINBLOCKSHIFT, 0) 345 BF64_SET_SB((dva)->dva_word[1], 0, 63, SPA_MINBLOCKSHIFT, 0, x) 353 BF64_GET_SB((bp)->blk_prop, 0, SPA_LSIZEBITS, SPA_MINBLOCKSHIFT, 1)) 357 0, SPA_LSIZEBITS, SPA_MINBLOCKSHIFT, 1, x); \ 362 BF64_GET_SB((bp)->blk_prop, 16, SPA_PSIZEBITS, SPA_MINBLOCKSHIFT, 1)) 366 16, SPA_PSIZEBITS, SPA_MINBLOCKSHIFT, 1, x); \
|
H A D | dnode.h | 95 #define DN_MAX_LEVELS (2 + ((DN_MAX_OFFSET_SHIFT - SPA_MINBLOCKSHIFT) / \ 102 (dnp)->dn_used : (dnp)->dn_used << SPA_MINBLOCKSHIFT)
|
/titanic_44/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_zfs.c | 282 offset = (sector << SPA_MINBLOCKSHIFT) + in find_bestub() 545 dn->dn_datablkszsec << SPA_MINBLOCKSHIFT); in dmu_read() 770 size = zap_dnode->dn_datablkszsec << SPA_MINBLOCKSHIFT; in zap_lookup() 801 uint32_t size = zap_dnode->dn_datablkszsec << SPA_MINBLOCKSHIFT; in zap_iterate() 862 blksz = mdn->dn_datablkszsec << SPA_MINBLOCKSHIFT; in dnode_get() 1531 sector += (VDEV_SKIP_SIZE >> SPA_MINBLOCKSHIFT); in check_pool_label() 1626 uint64_t adjpl = (uint64_t)part_length << SPA_MINBLOCKSHIFT; in zfs_mount() 1659 label) >> SPA_MINBLOCKSHIFT; in zfs_mount() 1663 ((VDEV_SKIP_SIZE + VDEV_PHYS_SIZE) >> SPA_MINBLOCKSHIFT), in zfs_mount() 1838 blksz = DNODE->dn_datablkszsec << SPA_MINBLOCKSHIFT; in zfs_read()
|
H A D | fsys_zfs.h | 112 ((offset + VDEV_LABEL_START_SIZE) >> SPA_MINBLOCKSHIFT)
|
/titanic_44/usr/src/uts/common/fs/zfs/ |
H A D | zio.c | 60 kmem_cache_t *zio_buf_cache[SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT]; 61 kmem_cache_t *zio_data_buf_cache[SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT]; 122 for (c = 0; c < SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT; c++) { in zio_init() 123 size_t size = (c + 1) << SPA_MINBLOCKSHIFT; in zio_init() 185 for (c = 0; c < SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT; c++) { in zio_fini() 220 size_t c = (size - 1) >> SPA_MINBLOCKSHIFT; in zio_buf_alloc() 222 VERIFY3U(c, <, SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT); in zio_buf_alloc() 236 size_t c = (size - 1) >> SPA_MINBLOCKSHIFT; in zio_data_buf_alloc() 238 VERIFY3U(c, <, SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT); in zio_data_buf_alloc() 246 size_t c = (size - 1) >> SPA_MINBLOCKSHIFT; in zio_buf_free() [all …]
|
H A D | dnode_sync.c | 372 (dn->dn_phys->dn_datablkszsec << SPA_MINBLOCKSHIFT); in dnode_sync_free_range_impl() 593 dnp->dn_datablkszsec << SPA_MINBLOCKSHIFT); in dnode_sync() 608 dn->dn_next_blksz[txgoff] >> SPA_MINBLOCKSHIFT == in dnode_sync() 612 dn->dn_next_blksz[txgoff] >> SPA_MINBLOCKSHIFT; in dnode_sync()
|
H A D | dnode.c | 58 int zfs_default_bs = SPA_MINBLOCKSHIFT; 252 ASSERT3U(dn->dn_datablkshift, >=, SPA_MINBLOCKSHIFT); in dnode_verify() 262 dn->dn_datablkszsec << SPA_MINBLOCKSHIFT); in dnode_verify() 395 ASSERT3U(size >> SPA_MINBLOCKSHIFT, <, in dnode_setdblksz() 398 dn->dn_datablkszsec = size >> SPA_MINBLOCKSHIFT; in dnode_setdblksz() 422 dnode_setdblksz(dn, dnp->dn_datablkszsec << SPA_MINBLOCKSHIFT); in dnode_create() 1387 if (size >> SPA_MINBLOCKSHIFT == dn->dn_datablkszsec && ibs == 0) in dnode_set_blksz()
|
H A D | vdev_file.c | 119 *ashift = SPA_MINBLOCKSHIFT; in vdev_file_open()
|
H A D | dmu_diff.c | 104 (((uint64_t)dnp->dn_datablkszsec) << (SPA_MINBLOCKSHIFT + \
|
H A D | dmu_send.c | 66 (((uint64_t)datablkszsec) << (SPA_MINBLOCKSHIFT + \ 427 drro->drr_blksz = dnp->dn_datablkszsec << SPA_MINBLOCKSHIFT; in dump_dnode() 444 (dnp->dn_datablkszsec << SPA_MINBLOCKSHIFT), -1ULL) != 0) in dump_dnode() 511 record_size = dnp->dn_datablkszsec << SPA_MINBLOCKSHIFT; in send_cb() 613 int blksz = dblkszsec << SPA_MINBLOCKSHIFT; in do_dump() 621 int blksz = dblkszsec << SPA_MINBLOCKSHIFT; in do_dump()
|
H A D | zfs_vfsops.c | 1719 statp->f_frsize = 1UL << SPA_MINBLOCKSHIFT; in zfs_statvfs() 1728 statp->f_blocks = (refdbytes + availbytes) >> SPA_MINBLOCKSHIFT; in zfs_statvfs() 1729 statp->f_bfree = availbytes >> SPA_MINBLOCKSHIFT; in zfs_statvfs()
|
H A D | zap_micro.c | 660 ASSERT(leaf_blockshift >= SPA_MINBLOCKSHIFT && in zap_create_flags() 662 indirect_blockshift >= SPA_MINBLOCKSHIFT && in zap_create_flags()
|
H A D | arc.c | 1132 BF64_GET_SB((_obj)->_field, 0, 16, SPA_MINBLOCKSHIFT, 1) 1134 BF64_SET_SB((_obj)->_field, 0, 16, SPA_MINBLOCKSHIFT, 1, x) 1136 BF64_GET_SB((_obj)->_field, 16, 16, SPA_MINBLOCKSHIFT, 1) 1138 BF64_SET_SB((_obj)->_field, 16, 16, SPA_MINBLOCKSHIFT, 1, x) 3664 for (i = 0; i < SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT; i++) { in arc_kmem_reap_now()
|
H A D | spa_misc.c | 1758 dsize = (asize >> SPA_MINBLOCKSHIFT) * vd->vdev_deflate_ratio; in dva_get_dsize_sync()
|
H A D | vdev.c | 857 (vdev_psize_to_asize(vd, 1 << 17) >> SPA_MINBLOCKSHIFT); in vdev_metaslab_init() 2874 dspace_delta = (dspace_delta >> SPA_MINBLOCKSHIFT) * in vdev_space_update()
|
H A D | dmu_tx.c | 226 min_bs = SPA_MINBLOCKSHIFT; in dmu_tx_count_write()
|
H A D | dmu.c | 1965 SPA_MINBLOCKSHIFT) + 1; in dmu_object_size_from_db()
|
H A D | metaslab.c | 1406 int idx = MIN(shift - SPA_MINBLOCKSHIFT + i, in metaslab_fragmentation()
|
H A D | spa.c | 2206 ASSERT3U(spa->spa_min_ashift, >=, SPA_MINBLOCKSHIFT); in spa_load_impl()
|
/titanic_44/usr/src/lib/libzpool/common/ |
H A D | kernel.c | 519 int sectors = len >> SPA_MINBLOCKSHIFT; in vn_rdwr() 521 SPA_MINBLOCKSHIFT; in vn_rdwr()
|
/titanic_44/usr/src/cmd/zdb/ |
H A D | zdb.c | 1156 dnp->dn_datablkszsec << SPA_MINBLOCKSHIFT); in blkid2offset() 2226 ashift = SPA_MINBLOCKSHIFT; in dump_label() 2235 ashift = SPA_MINBLOCKSHIFT; in dump_label() 2350 int idx = BP_GET_PSIZE(bp) >> SPA_MINBLOCKSHIFT; in zdb_count_block()
|
/titanic_44/usr/src/cmd/ztest/ |
H A D | ztest.c | 171 .zo_ashift = SPA_MINBLOCKSHIFT, 814 return (SPA_MINBLOCKSHIFT + ztest_random(5)); in ztest_get_ashift() 985 return (1 << (SPA_MINBLOCKSHIFT + block_shift)); in ztest_random_blocksize()
|
/titanic_44/usr/src/cmd/mdb/common/modules/zfs/ |
H A D | zfs.c | 197 int mapshift = SPA_MINBLOCKSHIFT; in freelist_walk_step()
|