Searched refs:highbit64 (Results 1 – 19 of 19) sorted by relevance
158 extern int highbit64(uint64_t);
424 highbit64(uint64_t i) in highbit64() function
113 int idx = highbit64(size) - 1; in range_tree_stat_verify()132 int idx = highbit64(size) - 1; in range_tree_stat_incr()146 int idx = highbit64(size) - 1; in range_tree_stat_decr()
114 l.l_bs = highbit64(size) - 1; in zap_leaf_byteswap()164 l->l_bs = highbit64(l->l_dbuf->db_size) - 1; in zap_leaf_init()
111 zap->zap_f.zap_block_shift = highbit64(zap->zap_dbuf->db_size) - 1; in fzap_upgrade()481 l->l_bs = highbit64(db->db_size) - 1; in zap_open_leaf()
573 *ashift = highbit64(MAX(pbsize, SPA_MINBLOCKSIZE)) - 1; in vdev_disk_open()
1321 uint64_t *cursor = &msp->ms_lbas[highbit64(align) - 1]; in metaslab_ff_alloc()1350 uint64_t *cursor = &msp->ms_lbas[highbit64(align) - 1]; in metaslab_df_alloc()1445 uint64_t hbit = highbit64(size); in metaslab_ndf_alloc()2303 int idx = highbit64(msp->ms_size) - 1; in metaslab_segment_weight()
2381 ms_shift = highbit64(asize / zfs_vdev_min_ms_count); in vdev_metaslab_set_size()2383 ms_shift = highbit64(asize / zfs_vdev_default_ms_count); in vdev_metaslab_set_size()2393 ms_shift = highbit64(asize / zfs_vdev_ms_count_limit); in vdev_metaslab_set_size()
420 bucket = highbit64(dds.dds_ref_blocks) - 1; in ddt_stat_update()
402 zap->zap_f.zap_block_shift = highbit64(db->db_size) - 1; in mzap_open()
1631 newblksz = MIN(end, 1 << highbit64(zp->z_blksz)); in zfs_extend()
440 dn->dn_datablkshift = ISP2(size) ? highbit64(size - 1) : 0; in dnode_setdblksz()
1789 zio = zio_pipeline[highbit64(stage) - 1](zio); in zio_execute()
2469 highbit64(dn->dn_phys->dn_nblkptr) <= 64); in dbuf_findbp()
1094 1 << highbit64(zp->z_blksz)); in zfs_write()
1375 #define HDR_COMPRESS_OFFSET (highbit64(ARC_FLAG_COMPRESS_0) - 1)
584 extern int highbit64(uint64_t i);
862 highbit64(uint64_t i)
4171 ddt_stat_add(&ddh_total.ddh_stat[highbit64(refcnt) - 1], in dump_simulated_ddt()