Home
last modified time | relevance | path

Searched refs:highbit64 (Results 1 – 25 of 34) sorted by relevance

12

/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_util.c122 highbit64(uint64_t i) in highbit64() function
H A Dzpool_util.h47 int highbit64(uint64_t i);
H A Dzpool_vdev.c416 ashift = highbit64(sector_size) - 1; in make_leaf_vdev()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dddt_stats.c120 bucket = highbit64(dds.dds_ref_blocks) - 1; in ddt_histogram_add_entry()
136 bucket = highbit64(dds.dds_ref_blocks) - 1; in ddt_histogram_sub_entry()
H A Daggsum.c97 as->as_bucketshift = highbit64(boot_ncpus / 6) / 2; in aggsum_init()
H A Drange_tree.c111 int idx = highbit64(size) - 1; in zfs_range_tree_stat_verify()
131 int idx = highbit64(size) - 1; in zfs_range_tree_stat_incr()
145 int idx = highbit64(size) - 1; in zfs_range_tree_stat_decr()
H A Dzap_leaf.c102 l.l_bs = highbit64(size) - 1; in zap_leaf_byteswap()
153 l->l_bs = highbit64(l->l_dbuf->db_size) - 1; in zap_leaf_init()
H A Dzap.c118 zap->zap_f.zap_block_shift = highbit64(zap->zap_dbuf->db_size) - 1; in fzap_upgrade()
497 l->l_bs = highbit64(db->db_size) - 1; in zap_open_leaf()
H A Dzfs_vnops.c780 blksz = 1 << highbit64(zp->z_blksz); in zfs_write()
H A Dmetaslab.c1757 uint64_t *cursor = &msp->ms_lbas[highbit64(align) - 1]; in metaslab_df_alloc()
1865 uint64_t hbit = highbit64(size); in metaslab_ndf_alloc()
3210 int idx = highbit64(msp->ms_size) - 1; in metaslab_segment_weight()
H A Dvdev_label.c648 if (i + 1 < highbit64(vdev_removal_max_span) in vdev_config_generate()
/freebsd/sys/contrib/openzfs/cmd/zstream/
H A Dzstream_redup.c206 numbuckets = 1ULL << highbit64(numbuckets); in zfs_redup_stream()
212 rdt.numhashbits = highbit64(numbuckets) - 1; in zfs_redup_stream()
/freebsd/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dbitmap.h158 extern int highbit64(uint64_t);
H A Dsysmacros.h431 highbit64(uint64_t i) in highbit64() function
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dsysmacros.h136 #define highbit64(x) fls64(x) macro
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dsysmacros.h336 highbit64(uint64_t i) in highbit64() function
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dvdev_disk.c456 *physical_ashift = highbit64(MAX(physical_block_size, in vdev_disk_open()
459 *logical_ashift = highbit64(MAX(logical_block_size, in vdev_disk_open()
H A Dzfs_znode_os.c1511 newblksz = MIN(end, 1 << highbit64(zp->z_blksz)); in zfs_extend()
1931 size = MIN(1 << (highbit64(zfs_object_mutex_size)-1), ZFS_OBJ_MTX_MAX); in zfs_create_fs()
H A Dabd_os.c294 order = MIN(highbit64(nr_pages - alloc_pages) - 1, max_order); in abd_alloc_chunks()
H A Dzfs_vfsops.c826 int size = MIN(1 << (highbit64(zfs_object_mutex_size) - 1), in zfsvfs_create_impl()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzfs_context.h643 extern int highbit64(uint64_t i);
/freebsd/sys/contrib/openzfs/lib/libzpool/
H A Dkernel.c709 highbit64(uint64_t i) in highbit64() function
/freebsd/sys/contrib/openzfs/include/sys/fs/
H A Dzfs.h1343 #define HISTO(val, buckets) (val != 0 ? MIN(highbit64(val) - 1, \
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_znode_os.c1405 newblksz = MIN(end, 1 << highbit64(zp->z_blksz)); in zfs_extend()
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c2242 counts[highbit64(refcnt)]++; in dump_brt()
6075 int bin = highbit64(BP_GET_PSIZE(bp)) - 1; in zdb_count_block()
6081 bin = highbit64(BP_GET_LSIZE(bp)) - 1; in zdb_count_block()
6087 bin = highbit64(BP_GET_ASIZE(bp)) - 1; in zdb_count_block()
7522 ddt_stat_t *dds = &ddh_total.ddh_stat[highbit64(refcnt) - 1]; in dump_simulated_ddt()

12