Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/cxgb4/
H A 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()
/linux/drivers/scsi/lpfc/
H A Dlpfc_sli.c21595 struct lpfc_pbl_pool *pbl_pool; in lpfc_snapshot_mxp() local
21605 pbl_pool = &qp->p_multixri_pool->pbl_pool; in lpfc_snapshot_mxp()
21608 multixri_pool->stat_pbl_count = pbl_pool->count; in lpfc_snapshot_mxp()
21703 struct lpfc_pbl_pool *pbl_pool; in lpfc_move_xri_pvt_to_pbl() local
21713 pbl_pool = &qp->p_multixri_pool->pbl_pool; in lpfc_move_xri_pvt_to_pbl()
21717 lpfc_qp_spin_lock_irqsave(&pbl_pool->lock, iflag, qp, mv_to_pub_pool); in lpfc_move_xri_pvt_to_pbl()
21736 list_splice_init(&pvt_pool->list, &pbl_pool->list); in lpfc_move_xri_pvt_to_pbl()
21741 pbl_pool->count += (pvt_pool->count - tmp_count); in lpfc_move_xri_pvt_to_pbl()
21745 list_splice_init(&pvt_pool->list, &pbl_pool->list); in lpfc_move_xri_pvt_to_pbl()
21746 pbl_pool->count += pvt_pool->count; in lpfc_move_xri_pvt_to_pbl()
[all …]
H A Dlpfc_init.c3527 struct lpfc_pbl_pool *pbl_pool; in lpfc_create_multixri_pools() local
3569 pbl_pool = &multixri_pool->pbl_pool; in lpfc_create_multixri_pools()
3570 spin_lock_init(&pbl_pool->lock); in lpfc_create_multixri_pools()
3572 spin_lock(&pbl_pool->lock); in lpfc_create_multixri_pools()
3573 INIT_LIST_HEAD(&pbl_pool->list); in lpfc_create_multixri_pools()
3576 list_move_tail(&lpfc_ncmd->list, &pbl_pool->list); in lpfc_create_multixri_pools()
3578 pbl_pool->count++; in lpfc_create_multixri_pools()
3582 pbl_pool->count, i); in lpfc_create_multixri_pools()
3583 spin_unlock(&pbl_pool->lock); in lpfc_create_multixri_pools()
3613 struct lpfc_pbl_pool *pbl_pool; in lpfc_destroy_multixri_pools() local
[all …]
H A Dlpfc_debugfs.c463 struct lpfc_pbl_pool *pbl_pool; in lpfc_debugfs_multixripools_data() local
530 pbl_pool = &multixri_pool->pbl_pool; in lpfc_debugfs_multixripools_data()
536 i, pbl_pool->count, pvt_pool->count, in lpfc_debugfs_multixripools_data()