Lines Matching defs:offset
351 unsigned long offset;
353 offset = (unsigned long) entry / sizeof(unsigned long);
354 offset = (offset & (PTRS_PER_PMD - 1)) * PMD_SIZE;
356 return page->index + offset;
1767 unsigned long raddr, origin, offset, len;
1813 offset = ((r2t & _REGION_ENTRY_OFFSET) >> 6) * PAGE_SIZE;
1814 len = ((r2t & _REGION_ENTRY_LENGTH) + 1) * PAGE_SIZE - offset;
1815 rc = gmap_protect_rmap(sg, raddr, origin + offset, len);
1851 unsigned long raddr, origin, offset, len;
1897 offset = ((r3t & _REGION_ENTRY_OFFSET) >> 6) * PAGE_SIZE;
1898 len = ((r3t & _REGION_ENTRY_LENGTH) + 1) * PAGE_SIZE - offset;
1899 rc = gmap_protect_rmap(sg, raddr, origin + offset, len);
1935 unsigned long raddr, origin, offset, len;
1981 offset = ((sgt & _REGION_ENTRY_OFFSET) >> 6) * PAGE_SIZE;
1982 len = ((sgt & _REGION_ENTRY_LENGTH) + 1) * PAGE_SIZE - offset;
1983 rc = gmap_protect_rmap(sg, raddr, origin + offset, len);
2268 unsigned long offset, gaddr = 0;
2272 offset = ((unsigned long) pte) & (255 * sizeof(pte_t));
2273 offset = offset * (PAGE_SIZE / sizeof(pte_t));
2280 gaddr = __gmap_segment_gaddr(table) + offset;