/freebsd/sys/contrib/openzfs/cmd/zpool/ |
H A D | zpool_util.c | 122 highbit64(uint64_t i) in highbit64() function
|
H A D | zpool_util.h | 47 int highbit64(uint64_t i);
|
H A D | zpool_vdev.c | 416 ashift = highbit64(sector_size) - 1; in make_leaf_vdev()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | ddt_stats.c | 120 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 D | aggsum.c | 97 as->as_bucketshift = highbit64(boot_ncpus / 6) / 2; in aggsum_init()
|
H A D | range_tree.c | 111 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 D | zap_leaf.c | 102 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 D | zap.c | 118 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 D | zfs_vnops.c | 780 blksz = 1 << highbit64(zp->z_blksz); in zfs_write()
|
H A D | metaslab.c | 1757 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 D | vdev_label.c | 648 if (i + 1 < highbit64(vdev_removal_max_span) in vdev_config_generate()
|
/freebsd/sys/contrib/openzfs/cmd/zstream/ |
H A D | zstream_redup.c | 206 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 D | bitmap.h | 158 extern int highbit64(uint64_t);
|
H A D | sysmacros.h | 431 highbit64(uint64_t i) in highbit64() function
|
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | sysmacros.h | 136 #define highbit64(x) fls64(x) macro
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | sysmacros.h | 336 highbit64(uint64_t i) in highbit64() function
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | vdev_disk.c | 456 *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 D | zfs_znode_os.c | 1511 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 D | abd_os.c | 294 order = MIN(highbit64(nr_pages - alloc_pages) - 1, max_order); in abd_alloc_chunks()
|
H A D | zfs_vfsops.c | 826 int size = MIN(1 << (highbit64(zfs_object_mutex_size) - 1), in zfsvfs_create_impl()
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | zfs_context.h | 643 extern int highbit64(uint64_t i);
|
/freebsd/sys/contrib/openzfs/lib/libzpool/ |
H A D | kernel.c | 709 highbit64(uint64_t i) in highbit64() function
|
/freebsd/sys/contrib/openzfs/include/sys/fs/ |
H A D | zfs.h | 1343 #define HISTO(val, buckets) (val != 0 ? MIN(highbit64(val) - 1, \
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_znode_os.c | 1405 newblksz = MIN(end, 1 << highbit64(zp->z_blksz)); in zfs_extend()
|
/freebsd/sys/contrib/openzfs/cmd/zdb/ |
H A D | zdb.c | 2242 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()
|