PAGE_ALIGN
return (PAGE_ALIGN(sg->offset + sg->length) >> PAGE_SHIFT);
bytes = PAGE_ALIGN(bytes);
bytes = PAGE_ALIGN(bytes);
bytes = PAGE_ALIGN(bytes);
bytes = PAGE_ALIGN(bytes);
*db_len = PAGE_ALIGN(le16_to_cpu(resp.l2_doorbell_bar_size_kb) * 1024);
*offset = PAGE_ALIGN(le16_to_cpu(resp.legacy_l2_db_size_kb) * 1024);
sq_key_mm->len = PAGE_ALIGN(qhp->wq.sq.memsize);
rq_key_mm->len = PAGE_ALIGN(qhp->wq.rq.memsize);
? PAGE_ALIGN(size) : size;
? PAGE_ALIGN(size) : size;
map->size = PAGE_ALIGN(map->size);
? PAGE_ALIGN(size) : size;
? PAGE_ALIGN(size) : size;
unsigned npages = (PAGE_ALIGN(bo_size)) >> PAGE_SHIFT;
size += PAGE_ALIGN(npages * sizeof(void *));
unsigned npages = (PAGE_ALIGN(bo_size)) >> PAGE_SHIFT;
size += PAGE_ALIGN(npages * sizeof(void *));
size += PAGE_ALIGN(npages * sizeof(dma_addr_t));
return PAGE_ALIGN(size);
int npages = PAGE_ALIGN(dev->caps.eqe_size * eq->nent) / PAGE_SIZE;
npages = PAGE_ALIGN(eq->nent * dev->caps.eqe_size) / PAGE_SIZE;
chunk_size = PAGE_ALIGN(size -
#define MLX4_EN_ALLOC_SIZE PAGE_ALIGN(PAGE_SIZE)
size = PAGE_ALIGN(qp->send_wqe_offset +
mthca_buf_free(dev, PAGE_ALIGN(qp->send_wqe_offset +
PAGE_ALIGN(addr + size) < (addr + size))
return PAGE_ALIGN(umem->address + umem->length);