Lines Matching defs:offset
361 * flags, permissions, and offset, so we use temporary values. We'll update
555 int offset, bytes_to_copy;
563 offset = pos % PAGE_SIZE;
564 if (offset == 0)
565 offset = PAGE_SIZE;
567 bytes_to_copy = offset;
571 offset -= bytes_to_copy;
595 if (copy_from_user(kaddr+offset, str, bytes_to_copy)) {
882 unsigned int offset = index == stop ? bprm->p & ~PAGE_MASK : 0;
883 char *src = kmap(bprm->page[index]) + offset;
884 sp -= PAGE_SIZE - offset;
885 if (copy_to_user((void *) sp, src, PAGE_SIZE - offset) != 0)
1671 unsigned long offset;
1679 offset = bprm->p & ~PAGE_MASK;
1687 for (; offset < PAGE_SIZE && kaddr[offset];
1688 offset++, bprm->p++)
1693 } while (offset == PAGE_SIZE);