Home
last modified time | relevance | path

Searched refs:ISP2 (Results 1 – 25 of 28) sorted by relevance

12

/f-stack/freebsd/contrib/openzfs/lib/libzutil/
H A Dzutil_pool.c130 if (ISP2(*numrecords + 1)) { in zpool_history_unpack()
/f-stack/freebsd/contrib/openzfs/lib/libspl/include/os/linux/sys/
H A Dsysmacros.h64 #define ISP2(x) (((x) & ((x) - 1)) == 0) macro
/f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/
H A Dsysmacros.h158 #define ISP2(x) (((x) & ((x) - 1)) == 0) macro
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dccompile.h241 #define ISP2(x) (((x) & ((x) - 1)) == 0) macro
H A Dsysmacros.h180 #define ISP2(x) (((x) & ((x) - 1)) == 0) macro
/f-stack/dpdk/drivers/common/sfc_efx/
H A Defsys.h94 #ifndef ISP2
95 #define ISP2(x) rte_is_power_of_2(x) macro
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c222 if (pp->sectorsize > VDEV_PAD_SIZE || !ISP2(pp->sectorsize)) { in vdev_geom_attach()
895 !ISP2(cp->provider->sectorsize)) { in vdev_geom_open()
954 ISP2(pp->stripesize) && pp->stripesize <= (1 << ASHIFT_MAX) && in vdev_geom_open()
H A Ddmu_os.c184 ASSERT(ISP2(dbp[i]->db_size)); in dmu_read_pages()
H A Dzfs_znode.c130 if (end_size > zp->z_blksz && (!ISP2(zp->z_blksz) || in zfs_rangelock_cb()
1374 (!ISP2(zp->z_blksz) || zp->z_blksz < zfsvfs->z_max_blksz)) { in zfs_extend()
1384 ASSERT(!ISP2(zp->z_blksz)); in zfs_extend()
H A Dzfs_vfsops.c487 ASSERT(ISP2(newval)); in blksz_changed_cb()
/f-stack/dpdk/drivers/common/sfc_efx/base/
H A Defx_tx.c375 EFSYS_ASSERT(ISP2(encp->enc_txq_max_ndescs)); in efx_tx_qcreate()
376 EFSYS_ASSERT(ISP2(encp->enc_txq_min_ndescs)); in efx_tx_qcreate()
378 if (!ISP2(ndescs) || in efx_tx_qcreate()
H A Defx_ev.c308 EFSYS_ASSERT(ISP2(encp->enc_evq_max_nevs)); in efx_ev_qcreate()
309 EFSYS_ASSERT(ISP2(encp->enc_evq_min_nevs)); in efx_ev_qcreate()
311 if (!ISP2(ndescs) || in efx_ev_qcreate()
H A Defx_rx.c859 EFSYS_ASSERT(ISP2(encp->enc_rxq_max_ndescs)); in efx_rx_qcreate_internal()
860 EFSYS_ASSERT(ISP2(encp->enc_rxq_min_ndescs)); in efx_rx_qcreate_internal()
867 if (!ISP2(ndescs) || in efx_rx_qcreate_internal()
H A Defx_nic.c1141 !ISP2(pcie_link_width)) { in efx_nic_calculate_pcie_link_bandwidth()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dzfs_vnops.c512 ASSERT(!ISP2(zp->z_blksz)); in zfs_write()
802 blkoff = ISP2(size) ? P2PHASE(offset, size) : offset; in zfs_get_data()
H A Ddnode.c294 ASSERT3U(ISP2(dn->dn_datablksz), ==, dn->dn_datablkshift != 0); in dnode_verify()
441 dn->dn_datablkshift = ISP2(size) ? highbit64(size - 1) : 0; in dnode_setdblksz()
2065 if (ISP2(blksz)) { in dnode_free_range()
2133 ASSERT(ISP2(blksz)); in dnode_free_range()
H A Dzvol.c408 !ISP2(volblocksize)) in zvol_check_volblocksize()
H A Ddmu.c754 ASSERT(ISP2(iblkrange)); in get_next_chunk()
H A Dzio.c177 while (!ISP2(p2)) in zio_init()
2153 ASSERT(ISP2(stage)); in __zio_execute()
H A Ddmu_objset.c330 ASSERT(ISP2(newval)); in smallblk_changed_cb()
/f-stack/freebsd/contrib/openzfs/cmd/zstream/
H A Dzstream_redup.c213 if (!ISP2(numbuckets)) in zfs_redup_stream()
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_znode.c109 if (end_size > zp->z_blksz && (!ISP2(zp->z_blksz) || in zfs_rangelock_cb()
1504 (!ISP2(zp->z_blksz) || zp->z_blksz < zfsvfs->z_max_blksz)) { in zfs_extend()
1514 ASSERT(!ISP2(zp->z_blksz)); in zfs_extend()
H A Dzfs_vfsops.c380 ASSERT(ISP2(newval)); in blksz_changed_cb()
/f-stack/freebsd/contrib/openzfs/module/os/linux/spl/
H A Dspl-kmem-cache.c757 VERIFY(ISP2(align)); in spl_kmem_cache_create()
/f-stack/freebsd/contrib/openzfs/lib/libzfs/
H A Dlibzfs_dataset.c1225 intval > maxbs || !ISP2(intval)) { in zfs_valid_proplist()
1262 intval > maxbs || !ISP2(intval))) { in zfs_valid_proplist()

12