• Home
  • Raw
  • Download

Lines Matching refs:pbuf

1777 	struct ib_phys_buf *pbuf = phys_buf_array;  in ehca_mr_chk_buf_and_calc_size()  local
1786 if (((u64)iova_start & ~PAGE_MASK) != (pbuf->addr & ~PAGE_MASK)) { in ehca_mr_chk_buf_and_calc_size()
1789 iova_start, pbuf->addr, pbuf->size); in ehca_mr_chk_buf_and_calc_size()
1792 if (((pbuf->addr + pbuf->size) % PAGE_SIZE) && in ehca_mr_chk_buf_and_calc_size()
1795 "pbuf->size=%llx", pbuf->addr, pbuf->size); in ehca_mr_chk_buf_and_calc_size()
1800 if ((i > 0) && (pbuf->addr % PAGE_SIZE)) { in ehca_mr_chk_buf_and_calc_size()
1803 i, pbuf->addr, pbuf->size); in ehca_mr_chk_buf_and_calc_size()
1808 (pbuf->size % PAGE_SIZE)) || (pbuf->size == 0)) { in ehca_mr_chk_buf_and_calc_size()
1810 i, pbuf->size); in ehca_mr_chk_buf_and_calc_size()
1813 size_count += pbuf->size; in ehca_mr_chk_buf_and_calc_size()
1814 pbuf++; in ehca_mr_chk_buf_and_calc_size()
2062 struct ib_phys_buf *pbuf; in ehca_set_pagebuf_phys() local
2068 pbuf = pginfo->u.phy.phys_buf_array + pginfo->u.phy.next_buf; in ehca_set_pagebuf_phys()
2069 num_hw = NUM_CHUNKS((pbuf->addr % pginfo->hwpage_size) + in ehca_set_pagebuf_phys()
2070 pbuf->size, pginfo->hwpage_size); in ehca_set_pagebuf_phys()
2071 offs_hw = (pbuf->addr & ~(pginfo->hwpage_size - 1)) / in ehca_set_pagebuf_phys()
2087 *kpage = (pbuf->addr & ~(pginfo->hwpage_size - 1)) + in ehca_set_pagebuf_phys()
2089 if ( !(*kpage) && pbuf->addr ) { in ehca_set_pagebuf_phys()
2091 "next_hwpage=%llx", pbuf->addr, in ehca_set_pagebuf_phys()
2092 pbuf->size, pginfo->next_hwpage); in ehca_set_pagebuf_phys()