Home
last modified time | relevance | path

Searched refs:pbl_pool (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/cxgb3/
Dcxio_resource.c259 unsigned long addr = gen_pool_alloc(rdev_p->pbl_pool, size); in cxio_hal_pblpool_alloc()
267 gen_pool_free(rdev_p->pbl_pool, (unsigned long)addr, size); in cxio_hal_pblpool_free()
274 rdev_p->pbl_pool = gen_pool_create(MIN_PBL_SHIFT, -1); in cxio_hal_pblpool_create()
275 if (!rdev_p->pbl_pool) in cxio_hal_pblpool_create()
284 if (gen_pool_add(rdev_p->pbl_pool, pbl_start, pbl_chunk, -1)) { in cxio_hal_pblpool_create()
306 gen_pool_destroy(rdev_p->pbl_pool); in cxio_hal_pblpool_destroy()
Dcxio_hal.h111 struct gen_pool *pbl_pool; member
/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Dresource.c267 unsigned long addr = gen_pool_alloc(rdev->pbl_pool, size); in c4iw_pblpool_alloc()
286 gen_pool_destroy(rdev->pbl_pool); in destroy_pblpool()
296 gen_pool_free(rdev->pbl_pool, (unsigned long)addr, size); in c4iw_pblpool_free()
304 rdev->pbl_pool = gen_pool_create(MIN_PBL_SHIFT, -1); in c4iw_pblpool_create()
305 if (!rdev->pbl_pool) in c4iw_pblpool_create()
314 if (gen_pool_add(rdev->pbl_pool, pbl_start, pbl_chunk, -1)) { in c4iw_pblpool_create()
Diw_cxgb4.h176 struct gen_pool *pbl_pool; member
/Linux-v5.4/drivers/scsi/lpfc/
Dlpfc_sli.c19759 struct lpfc_pbl_pool *pbl_pool; in lpfc_snapshot_mxp() local
19769 pbl_pool = &qp->p_multixri_pool->pbl_pool; in lpfc_snapshot_mxp()
19772 multixri_pool->stat_pbl_count = pbl_pool->count; in lpfc_snapshot_mxp()
19867 struct lpfc_pbl_pool *pbl_pool; in lpfc_move_xri_pvt_to_pbl() local
19877 pbl_pool = &qp->p_multixri_pool->pbl_pool; in lpfc_move_xri_pvt_to_pbl()
19881 lpfc_qp_spin_lock_irqsave(&pbl_pool->lock, iflag, qp, mv_to_pub_pool); in lpfc_move_xri_pvt_to_pbl()
19900 list_splice_init(&pvt_pool->list, &pbl_pool->list); in lpfc_move_xri_pvt_to_pbl()
19905 pbl_pool->count += (pvt_pool->count - tmp_count); in lpfc_move_xri_pvt_to_pbl()
19909 list_splice_init(&pvt_pool->list, &pbl_pool->list); in lpfc_move_xri_pvt_to_pbl()
19910 pbl_pool->count += pvt_pool->count; in lpfc_move_xri_pvt_to_pbl()
[all …]
Dlpfc_init.c3151 struct lpfc_pbl_pool *pbl_pool; in lpfc_create_multixri_pools() local
3193 pbl_pool = &multixri_pool->pbl_pool; in lpfc_create_multixri_pools()
3194 spin_lock_init(&pbl_pool->lock); in lpfc_create_multixri_pools()
3196 spin_lock(&pbl_pool->lock); in lpfc_create_multixri_pools()
3197 INIT_LIST_HEAD(&pbl_pool->list); in lpfc_create_multixri_pools()
3200 list_move_tail(&lpfc_ncmd->list, &pbl_pool->list); in lpfc_create_multixri_pools()
3202 pbl_pool->count++; in lpfc_create_multixri_pools()
3206 pbl_pool->count, i); in lpfc_create_multixri_pools()
3207 spin_unlock(&pbl_pool->lock); in lpfc_create_multixri_pools()
3237 struct lpfc_pbl_pool *pbl_pool; in lpfc_destroy_multixri_pools() local
[all …]
Dlpfc_sli4.h610 struct lpfc_pbl_pool pbl_pool; /* Public free XRI pool */ member
Dlpfc_debugfs.c465 struct lpfc_pbl_pool *pbl_pool; in lpfc_debugfs_multixripools_data() local
532 pbl_pool = &multixri_pool->pbl_pool; in lpfc_debugfs_multixripools_data()
538 i, pbl_pool->count, pvt_pool->count, in lpfc_debugfs_multixripools_data()