Home
last modified time | relevance | path

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

/freebsd-13.1/sys/ofed/include/rdma/
H A Dib_umem.h78 return PAGE_ALIGN(umem->address + umem->length); in ib_umem_end()
/freebsd-13.1/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_2835_arm.c141 g_slot_mem_size = PAGE_ALIGN(TOTAL_SLOTS * VCHIQ_SLOT_SIZE); in vchiq_platform_init()
143 frag_mem_size = PAGE_ALIGN(g_fragment_size * MAX_FRAGMENTS); in vchiq_platform_init()
/freebsd-13.1/sys/compat/linuxkpi/common/include/linux/
H A Dmm.h46 #define PAGE_ALIGN(x) ALIGN(x, PAGE_SIZE) macro
H A Dscatterlist.h415 return (PAGE_ALIGN(sg->offset + sg->length) >> PAGE_SHIFT); in sg_page_count()
/freebsd-13.1/sys/dev/drm2/
H A Ddrm_bufs.c244 map->size = PAGE_ALIGN(map->size); in drm_addmap_core()
711 ? PAGE_ALIGN(size) : size; in drm_addbufs_agp()
889 ? PAGE_ALIGN(size) : size; in drm_addbufs_pci()
1087 ? PAGE_ALIGN(size) : size; in drm_addbufs_sg()
1243 ? PAGE_ALIGN(size) : size; in drm_addbufs_fb()
H A Ddrm_os_freebsd.h319 #define PAGE_ALIGN(addr) round_page(addr) macro
/freebsd-13.1/sys/dev/drm2/ttm/
H A Dttm_bo.c1315 unsigned npages = (PAGE_ALIGN(bo_size)) >> PAGE_SHIFT; in ttm_bo_acc_size()
1319 size += PAGE_ALIGN(npages * sizeof(void *)); in ttm_bo_acc_size()
1328 unsigned npages = (PAGE_ALIGN(bo_size)) >> PAGE_SHIFT; in ttm_bo_dma_acc_size()
1332 size += PAGE_ALIGN(npages * sizeof(void *)); in ttm_bo_dma_acc_size()
1333 size += PAGE_ALIGN(npages * sizeof(dma_addr_t)); in ttm_bo_dma_acc_size()
H A Dttm_memory.c459 return PAGE_ALIGN(size); in ttm_round_pot()
/freebsd-13.1/sys/ofed/drivers/infiniband/core/
H A Dib_umem.c114 PAGE_ALIGN(addr + size) < (addr + size)) in ib_umem_get()
/freebsd-13.1/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.h420 #define PAGE_ALIGN(addr) round_page(addr) macro
/freebsd-13.1/sys/compat/ndis/
H A Dntoskrnl_var.h136 #define PAGE_ALIGN(ptr) \ macro
149 (b)->mdl_startva = (void *)PAGE_ALIGN((baseva)); \
/freebsd-13.1/sys/dev/mlx4/mlx4_core/
H A Dmlx4_icm.c415 chunk_size = PAGE_ALIGN(size - in mlx4_init_icm_table()
H A Dmlx4_eq.c975 npages = PAGE_ALIGN(eq->nent * dev->caps.eqe_size) / PAGE_SIZE; in mlx4_create_eq()
1081 int npages = PAGE_ALIGN(dev->caps.eqe_size * eq->nent) / PAGE_SIZE; in mlx4_free_eq()
/freebsd-13.1/sys/dev/mlx4/mlx4_en/
H A Den.h121 #define MLX4_EN_ALLOC_SIZE PAGE_ALIGN(PAGE_SIZE)
/freebsd-13.1/sys/dev/mthca/
H A Dmthca_qp.c1041 size = PAGE_ALIGN(qp->send_wqe_offset + in mthca_alloc_wqe_buf()
1064 mthca_buf_free(dev, PAGE_ALIGN(qp->send_wqe_offset + in mthca_free_wqe_buf()
/freebsd-13.1/sys/dev/cxgbe/iw_cxgbe/
H A Dqp.c1855 sq_key_mm->len = PAGE_ALIGN(qhp->wq.sq.memsize); in c4iw_create_qp()
1862 rq_key_mm->len = PAGE_ALIGN(qhp->wq.rq.memsize); in c4iw_create_qp()