Home
last modified time | relevance | path

Searched refs:P2ALIGN (Results 1 – 12 of 12) sorted by relevance

/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dvdev_cache.c172 uint64_t offset = P2ALIGN(zio->io_offset, VCBS); in vdev_cache_allocate()
269 uint64_t cache_offset = P2ALIGN(zio->io_offset, VCBS); in vdev_cache_read()
348 uint64_t min_offset = P2ALIGN(io_start, VCBS); in vdev_cache_write()
H A Dvdev.c366 return (P2ALIGN(vd->vdev_asize, 1ULL << vd->vdev_ms_shift)); in vdev_get_min_asize()
1640 osize = P2ALIGN(osize, (uint64_t)sizeof (vdev_label_t)); in vdev_open()
1641 max_osize = P2ALIGN(max_osize, (uint64_t)sizeof (vdev_label_t)); in vdev_open()
3663 vs->vs_esize = P2ALIGN(vd->vdev_max_asize - vd->vdev_asize - in vdev_get_stats()
H A Dvdev_geom.c463 psize = P2ALIGN(psize, (uint64_t)sizeof(vdev_label_t)); in vdev_geom_read_config()
H A Ddmu.c476 P2ALIGN(offset, 1ULL << blkshift)) >> blkshift; in dmu_buf_hold_array_by_dnode()
726 *start = P2ALIGN(*start, iblkrange); in get_next_chunk()
H A Dzvol.c1376 offset = P2ALIGN(offset, size);
H A Dmetaslab.c540 space += P2ALIGN(tspace, 1ULL << tvd->vdev_ms_shift); in metaslab_class_expandable_space()
H A Dzfs_vnops.c777 nblk = (P2ROUNDUP(offset + n, blksz) - P2ALIGN(offset, in zfs_read()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dsysmacros.h243 #define P2ALIGN(x, align) ((x) & -(align)) macro
/freebsd-12.1/sys/cddl/boot/zfs/
H A Dzfsimpl.h75 #define P2ALIGN(x, align) ((x) & -(align)) macro
/freebsd-12.1/stand/libsa/zfs/
H A Dzfsimpl.c1550 psize = P2ALIGN(ldi_get_size(read_priv), in vdev_probe()
/freebsd-12.1/cddl/contrib/opensolaris/cmd/ztest/
H A Dztest.c2005 offset = P2ALIGN(offset, size); in ztest_get_data()
5367 uint64_t psize = P2ALIGN(fsize, sizeof (vdev_label_t)); in ztest_fault_inject()
/freebsd-12.1/cddl/contrib/opensolaris/cmd/zdb/
H A Dzdb.c2676 psize = P2ALIGN(psize, (uint64_t)sizeof (vdev_label_t)); in dump_label()