| /f-stack/freebsd/contrib/openzfs/cmd/zstream/ |
| H A D | zstream_redup.c | 61 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 D | zpool_util.c | 106 highbit64(uint64_t i) in highbit64() function
|
| H A D | zpool_util.h | 45 int highbit64(uint64_t i);
|
| H A D | zpool_vdev.c | 413 ashift = highbit64(sector_size) - 1; in make_leaf_vdev()
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | sysmacros.h | 127 #define highbit64(x) fls64(x) macro
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/ |
| H A D | vdev_disk.c | 323 *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 D | abd_os.c | 274 order = MIN(highbit64(nr_pages - alloc_pages) - 1, max_order); in abd_alloc_chunks() 496 #define PAGE_SHIFT (highbit64(PAGESIZE)-1)
|
| H A D | zfs_znode.c | 1515 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 D | zfs_vfsops.c | 822 int size = MIN(1 << (highbit64(zfs_object_mutex_size) - 1), in zfsvfs_create_impl()
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | range_tree.c | 110 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 D | zap_leaf.c | 113 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 D | zfs_vnops.c | 514 1 << highbit64(zp->z_blksz)); in zfs_write()
|
| H A D | zap.c | 110 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 D | ddt.c | 439 bucket = highbit64(dds.dds_ref_blocks) - 1; in ddt_stat_update()
|
| H A D | vdev.c | 2543 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 D | metaslab.c | 1652 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 D | vdev_label.c | 599 if (i + 1 < highbit64(vdev_removal_max_span) in vdev_config_generate()
|
| H A D | zap_micro.c | 429 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 D | sysmacros.h | 375 highbit64(uint64_t i) in highbit64() function
|
| /f-stack/freebsd/contrib/openzfs/module/icp/os/ |
| H A D | modhash.c | 315 rshift = highbit64(key_elem_size); in mod_hash_create_ptrhash()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | zfs_context.h | 643 extern int highbit64(uint64_t i);
|
| /f-stack/freebsd/contrib/openzfs/include/sys/fs/ |
| H A D | zfs.h | 1134 #define HISTO(val, buckets) (val != 0 ? MIN(highbit64(val) - 1, \
|
| /f-stack/freebsd/contrib/openzfs/lib/libzpool/ |
| H A D | kernel.c | 704 highbit64(uint64_t i) in highbit64() function
|
| /f-stack/freebsd/contrib/openzfs/cmd/zdb/ |
| H A D | zdb.c | 5155 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 D | zfs_znode.c | 1385 newblksz = MIN(end, 1 << highbit64(zp->z_blksz)); in zfs_extend()
|