Home
last modified time | relevance | path

Searched refs:pbl_start (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/infiniband/hw/cxgb3/
Dcxio_resource.c272 unsigned pbl_start, pbl_chunk; in cxio_hal_pblpool_create() local
278 pbl_start = rdev_p->rnic_info.pbl_base; in cxio_hal_pblpool_create()
279 pbl_chunk = rdev_p->rnic_info.pbl_top - pbl_start + 1; in cxio_hal_pblpool_create()
281 while (pbl_start < rdev_p->rnic_info.pbl_top) { in cxio_hal_pblpool_create()
282 pbl_chunk = min(rdev_p->rnic_info.pbl_top - pbl_start + 1, in cxio_hal_pblpool_create()
284 if (gen_pool_add(rdev_p->pbl_pool, pbl_start, pbl_chunk, -1)) { in cxio_hal_pblpool_create()
286 __func__, pbl_start, pbl_chunk); in cxio_hal_pblpool_create()
289 __func__, pbl_start, rdev_p->rnic_info.pbl_top - pbl_start); in cxio_hal_pblpool_create()
295 __func__, pbl_start, pbl_chunk); in cxio_hal_pblpool_create()
296 pbl_start += pbl_chunk; in cxio_hal_pblpool_create()
/linux-2.6.39/drivers/infiniband/hw/cxgb4/
Dresource.c328 unsigned pbl_start, pbl_chunk, pbl_top; in c4iw_pblpool_create() local
334 pbl_start = rdev->lldi.vr->pbl.start; in c4iw_pblpool_create()
336 pbl_top = pbl_start + pbl_chunk; in c4iw_pblpool_create()
338 while (pbl_start < pbl_top) { in c4iw_pblpool_create()
339 pbl_chunk = min(pbl_top - pbl_start + 1, pbl_chunk); in c4iw_pblpool_create()
340 if (gen_pool_add(rdev->pbl_pool, pbl_start, pbl_chunk, -1)) { in c4iw_pblpool_create()
342 __func__, pbl_start, pbl_chunk); in c4iw_pblpool_create()
346 pbl_start, in c4iw_pblpool_create()
347 pbl_top - pbl_start); in c4iw_pblpool_create()
353 __func__, pbl_start, pbl_chunk); in c4iw_pblpool_create()
[all …]