Home
last modified time | relevance | path

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

12

/f-stack/freebsd/contrib/openzfs/cmd/zstream/
H A Dzstream_redup.c61 highbit64(uint64_t i) in highbit64() function
214 numbuckets = 1ULL << highbit64(numbuckets); in zfs_redup_stream()
220 rdt.numhashbits = highbit64(numbuckets) - 1; in zfs_redup_stream()
/f-stack/freebsd/contrib/openzfs/cmd/zpool/
H A Dzpool_util.c106 highbit64(uint64_t i) in highbit64() function
H A Dzpool_util.h45 int highbit64(uint64_t i);
H A Dzpool_vdev.c413 ashift = highbit64(sector_size) - 1; in make_leaf_vdev()
/f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/
H A Dsysmacros.h127 #define highbit64(x) fls64(x) macro
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dvdev_disk.c323 *physical_ashift = highbit64(MAX(physical_block_size, in vdev_disk_open()
326 *logical_ashift = highbit64(MAX(logical_block_size, in vdev_disk_open()
H A Dabd_os.c274 order = MIN(highbit64(nr_pages - alloc_pages) - 1, max_order); in abd_alloc_chunks()
496 #define PAGE_SHIFT (highbit64(PAGESIZE)-1)
H A Dzfs_znode.c1515 newblksz = MIN(end, 1 << highbit64(zp->z_blksz)); in zfs_extend()
1934 size = MIN(1 << (highbit64(zfs_object_mutex_size)-1), ZFS_OBJ_MTX_MAX); in zfs_create_fs()
H A Dzfs_vfsops.c822 int size = MIN(1 << (highbit64(zfs_object_mutex_size) - 1), in zfsvfs_create_impl()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Drange_tree.c110 int idx = highbit64(size) - 1; in range_tree_stat_verify()
129 int idx = highbit64(size) - 1; in range_tree_stat_incr()
143 int idx = highbit64(size) - 1; in range_tree_stat_decr()
H A Dzap_leaf.c113 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()
H A Dzfs_vnops.c514 1 << highbit64(zp->z_blksz)); in zfs_write()
H A Dzap.c110 zap->zap_f.zap_block_shift = highbit64(zap->zap_dbuf->db_size) - 1; in fzap_upgrade()
480 l->l_bs = highbit64(db->db_size) - 1; in zap_open_leaf()
H A Dddt.c439 bucket = highbit64(dds.dds_ref_blocks) - 1; in ddt_stat_update()
H A Dvdev.c2543 ms_shift = highbit64(asize / zfs_vdev_min_ms_count); in vdev_metaslab_set_size()
2545 ms_shift = highbit64(asize / zfs_vdev_default_ms_count); in vdev_metaslab_set_size()
2555 ms_shift = highbit64(asize / zfs_vdev_ms_count_limit); in vdev_metaslab_set_size()
H A Dmetaslab.c1652 uint64_t *cursor = &msp->ms_lbas[highbit64(align) - 1]; in metaslab_df_alloc()
1776 uint64_t hbit = highbit64(size); in metaslab_ndf_alloc()
3090 int idx = highbit64(msp->ms_size) - 1; in metaslab_segment_weight()
H A Dvdev_label.c599 if (i + 1 < highbit64(vdev_removal_max_span) in vdev_config_generate()
H A Dzap_micro.c429 zap->zap_f.zap_block_shift = highbit64(db->db_size) - 1; in mzap_open()
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dsysmacros.h375 highbit64(uint64_t i) in highbit64() function
/f-stack/freebsd/contrib/openzfs/module/icp/os/
H A Dmodhash.c315 rshift = highbit64(key_elem_size); in mod_hash_create_ptrhash()
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dzfs_context.h643 extern int highbit64(uint64_t i);
/f-stack/freebsd/contrib/openzfs/include/sys/fs/
H A Dzfs.h1134 #define HISTO(val, buckets) (val != 0 ? MIN(highbit64(val) - 1, \
/f-stack/freebsd/contrib/openzfs/lib/libzpool/
H A Dkernel.c704 highbit64(uint64_t i) in highbit64() function
/f-stack/freebsd/contrib/openzfs/cmd/zdb/
H A Dzdb.c5155 int bin = highbit64(BP_GET_PSIZE(bp)) - 1; in zdb_count_block()
5161 bin = highbit64(BP_GET_LSIZE(bp)) - 1; in zdb_count_block()
5167 bin = highbit64(BP_GET_ASIZE(bp)) - 1; in zdb_count_block()
6586 ddt_stat_add(&ddh_total.ddh_stat[highbit64(refcnt) - 1], in dump_simulated_ddt()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_znode.c1385 newblksz = MIN(end, 1 << highbit64(zp->z_blksz)); in zfs_extend()

12