Searched refs:P2ALIGN (Results 1 - 14 of 14) sorted by relevance
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | vdev_cache.c | 174 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 D | dmu.c | 458 P2ALIGN(offset, 1ULL << blkshift)) >> blkshift; 699 *start = P2ALIGN(*start, iblkrange);
|
H A D | vdev.c | 224 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 D | vdev_geom.c | 441 psize = P2ALIGN(psize, (uint64_t)sizeof(vdev_label_t));
|
H A D | dmu_tx.c | 369 start = P2ALIGN(off, 1ULL << max_bs);
|
H A D | metaslab.c | 492 space += P2ALIGN(tvd->vdev_max_asize - tvd->vdev_asize,
|
H A D | zvol.c | 1329 offset = P2ALIGN(offset, size);
|
H A D | zfs_vnops.c | 778 nblk = (P2ROUNDUP(offset + n, blksz) - P2ALIGN(offset,
|
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | sysmacros.h | 238 * 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 D | efsys.h | 98 #ifndef P2ALIGN 99 #define P2ALIGN(_x, _a) ((_x) & -(_a)) macro
|
H A D | ef10_rx.c | 692 wptr = P2ALIGN(added, EF10_RX_WPTR_ALIGN);
|
/freebsd-10-stable/sys/cddl/boot/zfs/ |
H A D | zfsimpl.h | 73 #define P2ALIGN(x, align) ((x) & -(align)) macro
|
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/ztest/ |
H A D | ztest.c | 1889 offset = P2ALIGN(offset, size); 5014 uint64_t psize = P2ALIGN(fsize, sizeof (vdev_label_t));
|
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/zdb/ |
H A D | zdb.c | 2254 psize = P2ALIGN(psize, (uint64_t)sizeof (vdev_label_t));
|
Completed in 251 milliseconds