Home
last modified time | relevance | path

Searched refs:PAGE_ALIGN (Results 1 – 17 of 17) sorted by relevance

/freebsd/sys/dev/drm2/
H A Ddrm_bufs.c241 map->size = PAGE_ALIGN(map->size); in drm_addmap_core()
708 ? PAGE_ALIGN(size) : size; in drm_addbufs_agp()
886 ? PAGE_ALIGN(size) : size; in drm_addbufs_pci()
1084 ? PAGE_ALIGN(size) : size; in drm_addbufs_sg()
1240 ? PAGE_ALIGN(size) : size; in drm_addbufs_fb()
H A Ddrm_os_freebsd.h289 #define PAGE_ALIGN(addr) round_page(addr) macro
/freebsd/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_2835_arm.c204 g_slot_mem_size = PAGE_ALIGN(TOTAL_SLOTS * VCHIQ_SLOT_SIZE); in vchiq_platform_init()
206 frag_mem_size = PAGE_ALIGN(g_fragment_size * MAX_FRAGMENTS); in vchiq_platform_init()
/freebsd/sys/dev/drm2/ttm/
H A Dttm_bo.c1313 unsigned npages = (PAGE_ALIGN(bo_size)) >> PAGE_SHIFT; in ttm_bo_acc_size()
1317 size += PAGE_ALIGN(npages * sizeof(void *)); in ttm_bo_acc_size()
1326 unsigned npages = (PAGE_ALIGN(bo_size)) >> PAGE_SHIFT; in ttm_bo_dma_acc_size()
1330 size += PAGE_ALIGN(npages * sizeof(void *)); in ttm_bo_dma_acc_size()
1331 size += PAGE_ALIGN(npages * sizeof(dma_addr_t)); in ttm_bo_dma_acc_size()
H A Dttm_memory.c457 return PAGE_ALIGN(size); in ttm_round_pot()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_umem.c106 PAGE_ALIGN(addr + size) < (addr + size)) in ib_umem_get()
/freebsd/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.h420 #define PAGE_ALIGN(addr) round_page(addr) macro
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dmm.h49 #define PAGE_ALIGN(x) ALIGN(x, PAGE_SIZE) macro
H A Dscatterlist.h511 return (PAGE_ALIGN(sg->offset + sg->length) >> PAGE_SHIFT); in sg_page_count()
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_icm.c415 chunk_size = PAGE_ALIGN(size - in mlx4_init_icm_table()
H A Dmlx4_eq.c972 npages = PAGE_ALIGN(eq->nent * dev->caps.eqe_size) / PAGE_SIZE; in mlx4_create_eq()
1078 int npages = PAGE_ALIGN(dev->caps.eqe_size * eq->nent) / PAGE_SIZE; in mlx4_free_eq()
/freebsd/sys/dev/mlx4/mlx4_en/
H A Den.h121 #define MLX4_EN_ALLOC_SIZE PAGE_ALIGN(PAGE_SIZE)
/freebsd/sys/dev/mthca/
H A Dmthca_qp.c1055 size = PAGE_ALIGN(qp->send_wqe_offset + in mthca_alloc_wqe_buf()
1078 mthca_buf_free(dev, PAGE_ALIGN(qp->send_wqe_offset + in mthca_free_wqe_buf()
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dib_verbs.c1148 bytes = PAGE_ALIGN(bytes); in bnxt_re_init_user_srq()
1635 bytes = PAGE_ALIGN(bytes); in bnxt_re_init_user_qp()
1655 bytes = PAGE_ALIGN(bytes); in bnxt_re_init_user_qp()
1674 bytes = PAGE_ALIGN(bytes); in bnxt_re_init_user_qp()
H A Dmain.c1872 *db_len = PAGE_ALIGN(le16_to_cpu(resp.l2_doorbell_bar_size_kb) * 1024); in bnxt_re_hwrm_qcfg()
1873 *offset = PAGE_ALIGN(le16_to_cpu(resp.legacy_l2_db_size_kb) * 1024); in bnxt_re_hwrm_qcfg()
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dqp.c2089 sq_key_mm->len = PAGE_ALIGN(qhp->wq.sq.memsize); in c4iw_create_qp()
2096 rq_key_mm->len = PAGE_ALIGN(qhp->wq.rq.memsize); in c4iw_create_qp()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_pci.c2025 size = PAGE_ALIGN(size); in linuxkpi_dma_alloc_noncoherent()