| /freebsd-14.2/sys/contrib/openzfs/cmd/zstream/ |
| H A D | zstream_redup.c | 60 highbit64(uint64_t i) in highbit64() function 215 numbuckets = 1ULL << highbit64(numbuckets); in zfs_redup_stream() 221 rdt.numhashbits = highbit64(numbuckets) - 1; in zfs_redup_stream()
|
| /freebsd-14.2/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-14.2/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-14.2/sys/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | sysmacros.h | 136 #define highbit64(x) fls64(x) macro
|
| /freebsd-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | aggsum.c | 97 as->as_bucketshift = highbit64(boot_ncpus / 6) / 2; in aggsum_init()
|
| H A D | range_tree.c | 110 int idx = highbit64(size) - 1; in range_tree_stat_verify() 130 int idx = highbit64(size) - 1; in range_tree_stat_incr() 144 int idx = highbit64(size) - 1; in 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 | 108 zap->zap_f.zap_block_shift = highbit64(zap->zap_dbuf->db_size) - 1; in fzap_upgrade() 471 l->l_bs = highbit64(db->db_size) - 1; in zap_open_leaf()
|
| H A D | zfs_vnops.c | 573 blksz = 1 << highbit64(zp->z_blksz); in zfs_write()
|
| H A D | ddt.c | 440 bucket = highbit64(dds.dds_ref_blocks) - 1; in ddt_stat_update()
|
| H A D | metaslab.c | 1690 uint64_t *cursor = &msp->ms_lbas[highbit64(align) - 1]; in metaslab_df_alloc() 1810 uint64_t hbit = highbit64(size); in metaslab_ndf_alloc() 3150 int idx = highbit64(msp->ms_size) - 1; in metaslab_segment_weight()
|
| H A D | vdev.c | 2850 ms_shift = highbit64(asize / zfs_vdev_min_ms_count); in vdev_metaslab_set_size() 2852 ms_shift = highbit64(asize / zfs_vdev_default_ms_count); in vdev_metaslab_set_size() 2862 ms_shift = highbit64(asize / zfs_vdev_ms_count_limit); in vdev_metaslab_set_size()
|
| H A D | vdev_label.c | 635 if (i + 1 < highbit64(vdev_removal_max_span) in vdev_config_generate()
|
| H A D | zap_micro.c | 437 zap->zap_f.zap_block_shift = highbit64(db->db_size) - 1; in mzap_open()
|
| /freebsd-14.2/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | sysmacros.h | 336 highbit64(uint64_t i) in highbit64() function
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | abd_os.c | 302 order = MIN(highbit64(nr_pages - alloc_pages) - 1, max_order); in abd_alloc_chunks() 526 #define PAGE_SHIFT (highbit64(PAGESIZE)-1)
|
| H A D | vdev_disk.c | 455 *physical_ashift = highbit64(MAX(physical_block_size, in vdev_disk_open() 458 *logical_ashift = highbit64(MAX(logical_block_size, in vdev_disk_open()
|
| H A D | zfs_znode.c | 1553 newblksz = MIN(end, 1 << highbit64(zp->z_blksz)); in zfs_extend() 1973 size = MIN(1 << (highbit64(zfs_object_mutex_size)-1), ZFS_OBJ_MTX_MAX); in zfs_create_fs()
|
| H A D | zfs_vfsops.c | 814 int size = MIN(1 << (highbit64(zfs_object_mutex_size) - 1), in zfsvfs_create_impl()
|
| /freebsd-14.2/sys/contrib/openzfs/include/sys/ |
| H A D | zfs_context.h | 641 extern int highbit64(uint64_t i);
|
| /freebsd-14.2/sys/contrib/openzfs/lib/libzpool/ |
| H A D | kernel.c | 706 highbit64(uint64_t i) in highbit64() function
|
| /freebsd-14.2/sys/contrib/openzfs/include/sys/fs/ |
| H A D | zfs.h | 1273 #define HISTO(val, buckets) (val != 0 ? MIN(highbit64(val) - 1, \
|