Home
last modified time | relevance | path

Searched refs:P2ROUNDUP_TYPED (Results 1 – 19 of 19) sorted by relevance

/titanic_44/usr/src/uts/common/fs/zfs/
H A Dzio_checksum.c171 size = P2ROUNDUP_TYPED(zilc->zc_nused, ZIL_MIN_BLKSZ, in zio_checksum_compute()
227 size = P2ROUNDUP_TYPED(nused, ZIL_MIN_BLKSZ, uint64_t); in zio_checksum_error()
H A Dzil.c1009 wsz = P2ROUNDUP_TYPED(lwb->lwb_nused, ZIL_MIN_BLKSZ, uint64_t); in zil_lwb_write_start()
1053 dlen = P2ROUNDUP_TYPED( in zil_lwb_commit()
1132 lrsize = P2ROUNDUP_TYPED(lrsize, sizeof (uint64_t), size_t); in zil_itx_create()
H A Dsa.c502 blocksize = P2ROUNDUP_TYPED(size, SPA_MINBLOCKSIZE, uint32_t); in sa_resize_spill()
H A Dzfs_vnops.c4362 io_len = P2ROUNDUP_TYPED(len + (off - io_off), blksz, size_t); in zfs_putpage()
/titanic_44/usr/src/uts/common/io/scsi/adapters/smrt/
H A Dsmrt_commands.c172 contig_size += P2ROUNDUP_TYPED(sizeof (CommandList_t), 32, size_t); in smrt_command_alloc_impl()
175 contig_size += P2ROUNDUP_TYPED(sizeof (ErrorInfo_t), 32, size_t); in smrt_command_alloc_impl()
H A Dsmrt_physical.c121 sz = P2ROUNDUP_TYPED(sz, 512, size_t); in smrt_phys_identify()
H A Dsmrt_ciss.c1212 sz = P2ROUNDUP_TYPED(sizeof (*resp), 512, size_t); in smrt_ctlr_identify()
/titanic_44/usr/src/uts/i86pc/os/
H A Dfastboot.c557 offs = P2ROUNDUP_TYPED(offs, 16, size_t); in fastboot_build_mbi()
693 fsize_roundup = P2ROUNDUP_TYPED(saved_file_size[i], in fastboot_reserve_mem()
745 fsize_roundup = P2ROUNDUP_TYPED(fb->fb_size, PAGESIZE, size_t); in fastboot_free_file()
972 fsize_roundup = P2ROUNDUP_TYPED(fsize, PAGESIZE, size_t); in fastboot_load_kernel()
1029 va = P2ROUNDUP_TYPED((uintptr_t)buf, PAGESIZE, uintptr_t); in fastboot_load_kernel()
H A Dddi_impl.c1431 rsize = P2ROUNDUP_TYPED(size + align, KA_ALIGN, size_t); in kalloca()
1670 length = P2ROUNDUP_TYPED(length, attr->dma_attr_minxfer, in i_ddi_mem_alloc()
1678 length = P2ROUNDUP_TYPED(length, iomin, size_t); in i_ddi_mem_alloc()
/titanic_44/usr/src/common/crypto/dh/
H A Ddh_impl.c328 s_alloc = P2ROUNDUP_TYPED(prime_bytes, sizeof (BIG_CHUNK_TYPE), size_t); in dh_key_derive()
/titanic_44/usr/src/uts/common/inet/tcp/
H A Dtcp_fusion.c815 rwnd = P2ROUNDUP_TYPED(rwnd, PAGESIZE, size_t); in tcp_fuse_set_rcv_hiwat()
856 maxpsz = P2ROUNDUP_TYPED(maxpsz, PAGESIZE, uint_t) >> 1; in tcp_fuse_maxpsz()
/titanic_44/usr/src/uts/common/sys/
H A Dsysmacros.h314 #define P2ROUNDUP_TYPED(x, align, type) \ macro
/titanic_44/usr/src/uts/common/fs/ufs/
H A Dufs_dir.c379 endsearch = P2ROUNDUP_TYPED(dp->i_size, DIRBLKSIZ, u_offset_t); in ufs_dirlook()
1184 slotp->offset = P2ROUNDUP_TYPED(tdp->i_size, in ufs_dircheckforname()
1236 dirsize = P2ROUNDUP_TYPED(tdp->i_size, DIRBLKSIZ, u_offset_t); in ufs_dircheckforname()
1436 slotp->endoff = P2ROUNDUP_TYPED(enduseful, DIRBLKSIZ, off_t); in ufs_dircheckforname()
2004 dp->i_size = P2ROUNDUP_TYPED(entryend, DIRBLKSIZ, off_t); in dirprepareentry()
H A Dufs_bmap.c523 P2ROUNDUP_TYPED(size, in bmap_write()
802 P2ROUNDUP_TYPED(size, in bmap_write()
H A Dufs_vnops.c4618 P2ROUNDUP_TYPED(ip->i_size, PAGESIZE, u_offset_t); in ufs_getpage()
6106 cur_len = P2ROUNDUP_TYPED(cur_len, PAGESIZE, size_t); in ufs_pageio()
/titanic_44/usr/src/uts/sun4v/os/
H A Derror.c644 len = P2ROUNDUP_TYPED(orig_va + orig_len, MMU_PAGESIZE, uint64_t) - va; in mem_sync()
/titanic_44/usr/src/uts/common/fs/specfs/
H A Dspecvnops.c1188 P2ROUNDUP_TYPED(off + on + n, PAGESIZE, offset_t)) { in spec_write()
/titanic_44/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vnops.c218 P2ROUNDUP_TYPED(tp->tn_size, PAGESIZE, u_offset_t); in wrtmp()
/titanic_44/usr/src/uts/common/vm/
H A Dvm_as.c1683 size = P2ROUNDUP_TYPED(size, PAGESIZE, size_t); in as_map_vnsegs()