| /freebsd/sys/contrib/openzfs/cmd/zstream/ |
| H A D | zstream_redup.c | 155 numbuckets = 1ULL << highbit64(numbuckets); in zfs_redup_stream() 161 rdt.numhashbits = highbit64(numbuckets) - 1; in zfs_redup_stream()
|
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | ddt_stats.c | 121 bucket = highbit64(dds.dds_ref_blocks) - 1; in ddt_histogram_add_entry() 137 bucket = highbit64(dds.dds_ref_blocks) - 1; in ddt_histogram_sub_entry()
|
| H A D | aggsum.c | 98 as->as_bucketshift = highbit64(boot_ncpus / 6) / 2; in aggsum_init()
|
| H A D | range_tree.c | 122 int idx = highbit64(size) - 1; in zfs_range_tree_stat_verify() 140 int idx = highbit64(size) - 1; in zfs_range_tree_stat_incr() 154 int idx = highbit64(size) - 1; in zfs_range_tree_stat_decr()
|
| H A D | zap_leaf.c | 103 l.l_bs = highbit64(size) - 1; in zap_leaf_byteswap() 154 l->l_bs = highbit64(l->l_dbuf->db_size) - 1; in zap_leaf_init()
|
| H A D | zap.c | 119 zap->zap_f.zap_block_shift = highbit64(zap->zap_dbuf->db_size) - 1; in fzap_upgrade() 498 l->l_bs = highbit64(db->db_size) - 1; in zap_open_leaf()
|
| H A D | metaslab.c | 1912 uint64_t *cursor = &msp->ms_lbas[highbit64(align) - 1]; in metaslab_df_alloc() 1926 cursor = &msp->ms_lbas[highbit64(align) - 1]; in metaslab_df_alloc() 1933 cursor = &msp->ms_lbas[highbit64(align) - 1]; in metaslab_df_alloc() 2033 uint64_t hbit = highbit64(max_size); in metaslab_ndf_alloc() 2048 hbit = highbit64(size); in metaslab_ndf_alloc() 3407 int idx = highbit64(msp->ms_size) - 1; in metaslab_segment_weight()
|
| H A D | zfs_vnops.c | 823 blksz = 1 << highbit64(zp->z_blksz); in zfs_write()
|
| H A D | vdev_label.c | 651 if (i + 1 < highbit64(vdev_removal_max_span) in vdev_config_generate()
|
| H A D | vdev.c | 3005 ms_shift = highbit64(asize / zfs_vdev_min_ms_count); in vdev_metaslab_set_size() 3007 ms_shift = highbit64(asize / zfs_vdev_default_ms_count); in vdev_metaslab_set_size() 3017 ms_shift = highbit64(asize / zfs_vdev_ms_count_limit); in vdev_metaslab_set_size()
|
| H A D | zap_micro.c | 538 zap->zap_f.zap_block_shift = highbit64(db->db_size) - 1; in mzap_open()
|
| H A D | zio.c | 250 align = 1 << (highbit64(size ^ (size - 1)) - 1); in zio_init() 2478 zio = zio_pipeline[highbit64(stage) - 1](zio); in __zio_execute()
|
| H A D | ddt.c | 2877 int bin = MIN(highbit64(age) - 1, HIST_BINS - 1); in ddt_prune_walk()
|
| /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/lib/libspl/include/sys/ |
| H A D | sysmacros.h | 135 highbit64(uint64_t i) in highbit64() function
|
| /freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | sysmacros.h | 134 #define highbit64(x) fls64(x) macro
|
| /freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | sysmacros.h | 296 #define highbit64(x) flsll(x) macro
|
| /freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | vdev_disk.c | 464 *physical_ashift = highbit64(MAX(physical_block_size, in vdev_disk_open() 467 *logical_ashift = highbit64(MAX(logical_block_size, in vdev_disk_open()
|
| H A D | zfs_znode_os.c | 1519 newblksz = MIN(end, 1 << highbit64(zp->z_blksz)); in zfs_extend() 1939 size = MIN(1 << (highbit64(zfs_object_mutex_size)-1), ZFS_OBJ_MTX_MAX); in zfs_create_fs()
|
| H A D | abd_os.c | 292 order = MIN(highbit64(nr_pages - alloc_pages) - 1, max_order); in abd_alloc_chunks()
|
| H A D | zfs_vfsops.c | 667 int size = MIN(1 << (highbit64(zfs_object_mutex_size) - 1), in zfsvfs_create_impl()
|
| /freebsd/sys/contrib/openzfs/include/sys/fs/ |
| H A D | zfs.h | 1463 #define HISTO(val, buckets) (val != 0 ? MIN(highbit64(val) - 1, \
|
| /freebsd/sys/contrib/openzfs/cmd/zpool/ |
| H A D | zpool_vdev.c | 391 ashift = highbit64(sector_size) - 1; in make_leaf_vdev()
|
| /freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_znode_os.c | 1492 newblksz = MIN(end, 1 << highbit64(zp->z_blksz)); in zfs_extend()
|