Lines Matching defs:offset
107 int offset = from & (PAGE_SIZE-1);
111 if ((offset + len) > PAGE_SIZE)
112 cpylen = PAGE_SIZE - offset; // multiple pages
121 memcpy(buf, page_address(page) + offset, cpylen);
127 offset = 0;
141 int offset = to & ~PAGE_MASK; // page offset
145 if ((offset+len) > PAGE_SIZE)
146 cpylen = PAGE_SIZE - offset; // multiple pages
155 if (memcmp(page_address(page)+offset, buf, cpylen)) {
157 memcpy(page_address(page) + offset, buf, cpylen);
168 offset = 0;