Home
last modified time | relevance | path

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

/NextBSD/sys/dev/drm/
HDmga_warp.c88 return PAGE_ALIGN(mga_warp_g400_microcode_size); in mga_warp_microcode_size()
90 return PAGE_ALIGN(mga_warp_g200_microcode_size); in mga_warp_microcode_size()
HDdrmP.h222 #define PAGE_ALIGN(addr) round_page(addr) macro
/NextBSD/sys/compat/linuxkpi/common/include/linux/
HDmm.h40 #define PAGE_ALIGN(x) ALIGN(x, PAGE_SIZE) macro
/NextBSD/sys/contrib/vchiq/interface/vchiq_arm/
HDvchiq_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()
/NextBSD/sys/dev/drm2/
HDdrm_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()
HDdrm_os_freebsd.h254 #define PAGE_ALIGN(addr) round_page(addr) macro
/NextBSD/sys/dev/drm2/ttm/
HDttm_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()
HDttm_memory.c459 return PAGE_ALIGN(size); in ttm_round_pot()
/NextBSD/sys/dev/cxgb/ulp/iw_cxgb/
HDiw_cxgb_provider.c260 mm->len = PAGE_ALIGN((1UL << uresp.size_log2) * in iwch_create_cq()
264 mm->len = PAGE_ALIGN(((1UL << uresp.size_log2) + 1) * in iwch_create_cq()
901 mm1->len = PAGE_ALIGN(wqsize * sizeof (union t3_wr)); in iwch_create_qp()
/NextBSD/sys/contrib/vchiq/interface/compat/
HDvchi_bsd.h423 #define PAGE_ALIGN(addr) round_page(addr) macro
/NextBSD/sys/compat/ndis/
HDntoskrnl_var.h134 #define PAGE_ALIGN(ptr) \ macro
147 (b)->mdl_startva = (void *)PAGE_ALIGN((baseva)); \
/NextBSD/sys/dev/ifmlx4/
HDicm.c413 chunk_size = PAGE_ALIGN(size - in mlx4_init_icm_table()
HDeq.c919 npages = PAGE_ALIGN(eq->nent * (MLX4_EQ_ENTRY_SIZE << dev->caps.eqe_factor)) / PAGE_SIZE; in mlx4_create_eq()
1023 int npages = PAGE_ALIGN((MLX4_EQ_ENTRY_SIZE << dev->caps.eqe_factor) * eq->nent) / PAGE_SIZE; in mlx4_free_eq()
HDmlx4_en.h108 #define MLX4_EN_ALLOC_SIZE PAGE_ALIGN(PAGE_SIZE)
/NextBSD/sys/ofed/drivers/net/mlx4/
HDicm.c413 chunk_size = PAGE_ALIGN(size - in mlx4_init_icm_table()
HDeq.c919 npages = PAGE_ALIGN(eq->nent * (MLX4_EQ_ENTRY_SIZE << dev->caps.eqe_factor)) / PAGE_SIZE; in mlx4_create_eq()
1023 int npages = PAGE_ALIGN((MLX4_EQ_ENTRY_SIZE << dev->caps.eqe_factor) * eq->nent) / PAGE_SIZE; in mlx4_free_eq()
HDmlx4_en.h102 #define MLX4_EN_ALLOC_SIZE PAGE_ALIGN(PAGE_SIZE)
/NextBSD/sys/ofed/drivers/infiniband/hw/mthca/
HDmthca_qp.c1052 size = PAGE_ALIGN(qp->send_wqe_offset + in mthca_alloc_wqe_buf()
1075 mthca_buf_free(dev, PAGE_ALIGN(qp->send_wqe_offset + in mthca_free_wqe_buf()
/NextBSD/sys/dev/cxgbe/iw_cxgbe/
HDqp.c1593 mm1->len = PAGE_ALIGN(qhp->wq.sq.memsize); in c4iw_create_qp()
1599 mm2->len = PAGE_ALIGN(qhp->wq.rq.memsize); in c4iw_create_qp()