Home
last modified time | relevance | path

Searched refs:pble (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/infiniband/sw/siw/
H A Dsiw_mem.c298 struct siw_pble *pble = &pbl->pbe[i]; in siw_pbl_get_buffer() local
300 if (pble->pbl_off + pble->size > off) { in siw_pbl_get_buffer()
301 u64 pble_off = off - pble->pbl_off; in siw_pbl_get_buffer()
304 *len = pble->size - pble_off; in siw_pbl_get_buffer()
308 return pble->addr + pble_off; in siw_pbl_get_buffer()
H A Dsiw_verbs.c1487 struct siw_pble *pble; in siw_map_mr_sg() local
1495 pble = pbl->pbe; in siw_map_mr_sg()
1508 pble->addr = sg_dma_address(slp); in siw_map_mr_sg()
1509 pble->size = sg_dma_len(slp); in siw_map_mr_sg()
1510 pble->pbl_off = 0; in siw_map_mr_sg()
1511 pbl_size = pble->size; in siw_map_mr_sg()
1515 if (pble->addr + pble->size == sg_dma_address(slp)) { in siw_map_mr_sg()
1516 pble->size += sg_dma_len(slp); in siw_map_mr_sg()
1518 pble++; in siw_map_mr_sg()
1520 pble->addr = sg_dma_address(slp); in siw_map_mr_sg()
[all …]