Lines Matching refs:pbl
1417 struct siw_pbl *pbl = NULL; in siw_alloc_mr() local
1435 pbl = siw_pbl_alloc(max_sge); in siw_alloc_mr()
1436 if (IS_ERR(pbl)) { in siw_alloc_mr()
1437 rv = PTR_ERR(pbl); in siw_alloc_mr()
1439 pbl = NULL; in siw_alloc_mr()
1447 rv = siw_mr_add_mem(mr, pd, pbl, 0, max_sge * PAGE_SIZE, 0); in siw_alloc_mr()
1461 kfree(pbl); in siw_alloc_mr()
1484 struct siw_pbl *pbl = mem->pbl; in siw_map_mr_sg() local
1489 if (!pbl) { in siw_map_mr_sg()
1493 pble = pbl->pbe; in siw_map_mr_sg()
1495 if (pbl->max_buf < num_sle) { in siw_map_mr_sg()
1497 mem->pbl->max_buf, num_sle); in siw_map_mr_sg()
1510 pbl->num_buf = 1; in siw_map_mr_sg()
1517 pbl->num_buf++; in siw_map_mr_sg()
1536 pbl->num_buf); in siw_map_mr_sg()