Home
last modified time | relevance | path

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

/illumos-gate/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()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dfastboot.c549 offs = P2ROUNDUP_TYPED(offs, 16, size_t); in fastboot_build_mbi()
681 fsize_roundup = P2ROUNDUP_TYPED(saved_file_size[i], in fastboot_reserve_mem()
733 fsize_roundup = P2ROUNDUP_TYPED(fb->fb_size, PAGESIZE, size_t); in fastboot_free_file()
960 fsize_roundup = P2ROUNDUP_TYPED(fsize, PAGESIZE, size_t); in fastboot_load_kernel()
1017 va = P2ROUNDUP_TYPED((uintptr_t)buf, PAGESIZE, uintptr_t); in fastboot_load_kernel()
H A Dddi_impl.c1418 rsize = P2ROUNDUP_TYPED(size + align, KA_ALIGN, size_t); in kalloca()
1658 length = P2ROUNDUP_TYPED(length, attr->dma_attr_minxfer, in i_ddi_mem_alloc()
1666 length = P2ROUNDUP_TYPED(length, iomin, size_t); in i_ddi_mem_alloc()
/illumos-gate/usr/src/uts/common/io/ena/
H A Dena_dma.c32 P2ROUNDUP_TYPED(conf->edc_size, ena->ena_page_sz, size_t); in ena_dma_attr()
H A Dena.c805 ena->ena_tx_buf_sz = P2ROUNDUP_TYPED(ena->ena_max_frame_total, in ena_update_buf_sizes()
807 ena->ena_rx_buf_sz = P2ROUNDUP_TYPED(ena->ena_max_frame_total + in ena_update_buf_sizes()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzio_checksum.c362 size = P2ROUNDUP_TYPED(zilc.zc_nused, ZIL_MIN_BLKSZ, in zio_checksum_compute()
453 size = P2ROUNDUP_TYPED(nused, ZIL_MIN_BLKSZ, uint64_t); in zio_checksum_error_impl()
H A Dzil.c1478 wsz = P2ROUNDUP_TYPED(lwb->lwb_nused, ZIL_MIN_BLKSZ, uint64_t); in zil_lwb_write_issue()
1549 dlen = P2ROUNDUP_TYPED( in zil_lwb_commit()
1664 lrsize = P2ROUNDUP_TYPED(lrsize, sizeof (uint64_t), size_t); in zil_itx_create()
H A Dsa.c505 blocksize = P2ROUNDUP_TYPED(size, SPA_MINBLOCKSIZE, uint32_t); in sa_resize_spill()
H A Dzfs_vnops.c4786 io_len = P2ROUNDUP_TYPED(len + (off - io_off), blksz, size_t); in zfs_putpage()
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_fusion.c839 rwnd = P2ROUNDUP_TYPED(rwnd, PAGESIZE, size_t); in tcp_fuse_set_rcv_hiwat()
880 maxpsz = P2ROUNDUP_TYPED(maxpsz, PAGESIZE, uint_t) >> 1; in tcp_fuse_maxpsz()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/sys/
H A Dsysmacros.h318 #define P2ROUNDUP_TYPED(x, align, type) \ macro
/illumos-gate/usr/src/common/fs/
H A Dbootrd_cpio.c186 tmpfile.fi_count = P2ROUNDUP_TYPED(len, DEV_BSIZE, size_t); in read_ramdisk()
/illumos-gate/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.c4503 P2ROUNDUP_TYPED(ip->i_size, PAGESIZE, u_offset_t); in ufs_getpage()
5979 cur_len = P2ROUNDUP_TYPED(cur_len, PAGESIZE, size_t); in ufs_pageio()
/illumos-gate/usr/src/uts/common/io/igc/
H A Digc.c808 igc->igc_rx_buf_size = P2ROUNDUP_TYPED(igc->igc_max_frame + in igc_hw_buf_update()
810 tx_mtu = P2ROUNDUP_TYPED(igc->igc_max_frame, IGC_BUF_ALIGN, uint32_t); in igc_hw_buf_update()
/illumos-gate/usr/src/uts/sun4v/os/
H A Derror.c644 len = P2ROUNDUP_TYPED(orig_va + orig_len, MMU_PAGESIZE, uint64_t) - va; in mem_sync()
/illumos-gate/usr/src/uts/common/io/virtio/
H A Dvirtio_main.c708 size_t sz_driver = P2ROUNDUP_TYPED(sz_descs + in virtio_queue_alloc()
712 size_t sz_device = P2ROUNDUP_TYPED(sizeof (virtio_vq_device_t) + in virtio_queue_alloc()
/illumos-gate/usr/src/uts/common/fs/specfs/
H A Dspecvnops.c1191 P2ROUNDUP_TYPED(off + on + n, PAGESIZE, offset_t)) { in spec_write()
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vnops.c220 P2ROUNDUP_TYPED(tp->tn_size, PAGESIZE, u_offset_t); in wrtmp()
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_as.c1589 size = P2ROUNDUP_TYPED(size, PAGESIZE, size_t); in as_map_vnsegs()
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c1007 volsize = P2ROUNDUP_TYPED(volsize, volblocksize, in zfs_do_create()