Searched refs:rqt_pool (Results 1 – 4 of 4) sorted by relevance
/drivers/infiniband/hw/cxgb3/ |
D | cxio_resource.c | 318 unsigned long addr = gen_pool_alloc(rdev_p->rqt_pool, size << 6); in cxio_hal_rqtpool_alloc() 326 gen_pool_free(rdev_p->rqt_pool, (unsigned long)addr, size << 6); in cxio_hal_rqtpool_free() 332 rdev_p->rqt_pool = gen_pool_create(MIN_RQT_SHIFT, -1); in cxio_hal_rqtpool_create() 333 if (rdev_p->rqt_pool) in cxio_hal_rqtpool_create() 337 gen_pool_add(rdev_p->rqt_pool, i, RQT_CHUNK, -1); in cxio_hal_rqtpool_create() 338 return rdev_p->rqt_pool ? 0 : -ENOMEM; in cxio_hal_rqtpool_create() 343 gen_pool_destroy(rdev_p->rqt_pool); in cxio_hal_rqtpool_destroy()
|
D | cxio_hal.h | 112 struct gen_pool *rqt_pool; member
|
/drivers/infiniband/hw/cxgb4/ |
D | resource.c | 346 unsigned long addr = gen_pool_alloc(rdev->rqt_pool, size << 6); in c4iw_rqtpool_alloc() 368 gen_pool_destroy(rdev->rqt_pool); in destroy_rqtpool() 378 gen_pool_free(rdev->rqt_pool, (unsigned long)addr, size << 6); in c4iw_rqtpool_free() 387 rdev->rqt_pool = gen_pool_create(MIN_RQT_SHIFT, -1); in c4iw_rqtpool_create() 388 if (!rdev->rqt_pool) in c4iw_rqtpool_create() 404 if (gen_pool_add(rdev->rqt_pool, rqt_start, rqt_chunk, -1)) { in c4iw_rqtpool_create()
|
D | iw_cxgb4.h | 177 struct gen_pool *rqt_pool; member
|