Searched refs:fpage_offs (Results 1 – 2 of 2) sorted by relevance
297 sgl->fpage_offs = offset_in_page((unsigned long)user_addr); in genwqe_alloc_sync_sgl()298 sgl->fpage_size = min_t(size_t, PAGE_SIZE-sgl->fpage_offs, user_size); in genwqe_alloc_sync_sgl()299 sgl->nr_pages = DIV_ROUND_UP(sgl->fpage_offs + user_size, PAGE_SIZE); in genwqe_alloc_sync_sgl()304 sgl->fpage_offs, sgl->fpage_size, sgl->lpage_size); in genwqe_alloc_sync_sgl()333 if (copy_from_user(sgl->fpage + sgl->fpage_offs, in genwqe_alloc_sync_sgl()384 map_offs = sgl->fpage_offs; /* offset in first page */ in genwqe_setup_sgl()483 sgl->fpage + sgl->fpage_offs, sgl->fpage_size); in genwqe_free_sync_sgl()
357 unsigned long fpage_offs; member