Lines Matching full:pbl
1402 struct siw_pbl *pbl = NULL; in siw_alloc_mr() local
1420 pbl = siw_pbl_alloc(max_sge); in siw_alloc_mr()
1421 if (IS_ERR(pbl)) { in siw_alloc_mr()
1422 rv = PTR_ERR(pbl); in siw_alloc_mr()
1423 siw_dbg_pd(pd, "pbl allocation failed: %d\n", rv); in siw_alloc_mr()
1424 pbl = NULL; in siw_alloc_mr()
1432 rv = siw_mr_add_mem(mr, pd, pbl, 0, max_sge * PAGE_SIZE, 0); in siw_alloc_mr()
1446 kfree(pbl); in siw_alloc_mr()
1469 struct siw_pbl *pbl = mem->pbl; in siw_map_mr_sg() local
1474 if (!pbl) { in siw_map_mr_sg()
1475 siw_dbg_mem(mem, "no PBL allocated\n"); in siw_map_mr_sg()
1478 pble = pbl->pbe; in siw_map_mr_sg()
1480 if (pbl->max_buf < num_sle) { in siw_map_mr_sg()
1482 num_sle, pbl->max_buf); in siw_map_mr_sg()
1495 pbl->num_buf = 1; in siw_map_mr_sg()
1497 /* Merge PBL entries if adjacent */ in siw_map_mr_sg()
1502 pbl->num_buf++; in siw_map_mr_sg()
1521 pbl->num_buf); in siw_map_mr_sg()