Lines Matching defs:offset
111 int offset = from & (PAGE_SIZE-1);
115 if ((offset + len) > PAGE_SIZE)
116 cpylen = PAGE_SIZE - offset; // multiple pages
125 memcpy(buf, page_address(page) + offset, cpylen);
131 offset = 0;
145 int offset = to & ~PAGE_MASK; // page offset
149 if ((offset+len) > PAGE_SIZE)
150 cpylen = PAGE_SIZE - offset; // multiple pages
159 if (memcmp(page_address(page)+offset, buf, cpylen)) {
161 memcpy(page_address(page) + offset, buf, cpylen);
172 offset = 0;