Searched refs:pbl_start (Results 1 – 2 of 2) sorted by relevance
/drivers/infiniband/hw/cxgb3/ |
D | cxio_resource.c | 272 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()
|
/drivers/infiniband/hw/cxgb4/ |
D | resource.c | 280 unsigned pbl_start, pbl_chunk, pbl_top; in c4iw_pblpool_create() local 286 pbl_start = rdev->lldi.vr->pbl.start; in c4iw_pblpool_create() 288 pbl_top = pbl_start + pbl_chunk; in c4iw_pblpool_create() 290 while (pbl_start < pbl_top) { in c4iw_pblpool_create() 291 pbl_chunk = min(pbl_top - pbl_start + 1, pbl_chunk); in c4iw_pblpool_create() 292 if (gen_pool_add(rdev->pbl_pool, pbl_start, pbl_chunk, -1)) { in c4iw_pblpool_create() 294 __func__, pbl_start, pbl_chunk); in c4iw_pblpool_create() 298 pbl_start, in c4iw_pblpool_create() 299 pbl_top - pbl_start); in c4iw_pblpool_create() 305 __func__, pbl_start, pbl_chunk); in c4iw_pblpool_create() [all …]
|