Searched refs:P2ALIGN (Results 1 - 14 of 14) sorted by relevance

/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dvdev_cache.c174 uint64_t offset = P2ALIGN(zio->io_offset, VCBS);
271 uint64_t cache_offset = P2ALIGN(zio->io_offset, VCBS);
350 uint64_t min_offset = P2ALIGN(io_start, VCBS);
H A Ddmu.c458 P2ALIGN(offset, 1ULL << blkshift)) >> blkshift;
699 *start = P2ALIGN(*start, iblkrange);
H A Dvdev.c224 return (P2ALIGN(vd->vdev_asize, 1ULL << vd->vdev_ms_shift));
1336 osize = P2ALIGN(osize, (uint64_t)sizeof (vdev_label_t));
1337 max_osize = P2ALIGN(max_osize, (uint64_t)sizeof (vdev_label_t));
2835 vs->vs_esize = P2ALIGN(vd->vdev_max_asize - vd->vdev_asize,
H A Dvdev_geom.c441 psize = P2ALIGN(psize, (uint64_t)sizeof(vdev_label_t));
H A Ddmu_tx.c369 start = P2ALIGN(off, 1ULL << max_bs);
H A Dmetaslab.c492 space += P2ALIGN(tvd->vdev_max_asize - tvd->vdev_asize,
H A Dzvol.c1329 offset = P2ALIGN(offset, size);
H A Dzfs_vnops.c778 nblk = (P2ROUNDUP(offset + n, blksz) - P2ALIGN(offset,
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dsysmacros.h238 * eg, P2ALIGN(1200, 1024) == 1024 (1*align)
239 * eg, P2ALIGN(1024, 1024) == 1024 (1*align)
240 * eg, P2ALIGN(0x1234, 0x100) == 0x1200 (0x12*align)
241 * eg, P2ALIGN(0x5600, 0x100) == 0x5600 (0x56*align)
243 #define P2ALIGN(x, align) ((x) & -(align)) macro
/freebsd-10-stable/sys/dev/sfxge/common/
H A Defsys.h98 #ifndef P2ALIGN
99 #define P2ALIGN(_x, _a) ((_x) & -(_a)) macro
H A Def10_rx.c692 wptr = P2ALIGN(added, EF10_RX_WPTR_ALIGN);
/freebsd-10-stable/sys/cddl/boot/zfs/
H A Dzfsimpl.h73 #define P2ALIGN(x, align) ((x) & -(align)) macro
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/ztest/
H A Dztest.c1889 offset = P2ALIGN(offset, size);
5014 uint64_t psize = P2ALIGN(fsize, sizeof (vdev_label_t));
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/zdb/
H A Dzdb.c2254 psize = P2ALIGN(psize, (uint64_t)sizeof (vdev_label_t));

Completed in 251 milliseconds