tag | line | file | source code |
newflags | 20 | mm/mlock.c | static inline int mlock_fixup_all(struct vm_area_struct * vma, int newflags) |
newflags | 22 | mm/mlock.c | vma->vm_flags = newflags; |
newflags | 27 | mm/mlock.c | unsigned long end, int newflags) |
newflags | 38 | mm/mlock.c | n->vm_flags = newflags; |
newflags | 48 | mm/mlock.c | unsigned long start, int newflags) |
newflags | 59 | mm/mlock.c | n->vm_flags = newflags; |
newflags | 69 | mm/mlock.c | unsigned long start, unsigned long end, int newflags) |
newflags | 89 | mm/mlock.c | vma->vm_flags = newflags; |
newflags | 102 | mm/mlock.c | unsigned long start, unsigned long end, unsigned int newflags) |
newflags | 106 | mm/mlock.c | if (newflags == vma->vm_flags) |
newflags | 111 | mm/mlock.c | if (!(newflags & VM_LOCKED)) |
newflags | 117 | mm/mlock.c | retval = mlock_fixup_all(vma, newflags); |
newflags | 119 | mm/mlock.c | retval = mlock_fixup_start(vma, end, newflags); |
newflags | 122 | mm/mlock.c | retval = mlock_fixup_end(vma, start, newflags); |
newflags | 124 | mm/mlock.c | retval = mlock_fixup_middle(vma, start, end, newflags); |
newflags | 126 | mm/mlock.c | if (!retval && (newflags & VM_LOCKED)) { |
newflags | 155 | mm/mlock.c | unsigned int newflags; |
newflags | 159 | mm/mlock.c | newflags = vma->vm_flags | VM_LOCKED; |
newflags | 161 | mm/mlock.c | newflags &= ~VM_LOCKED; |
newflags | 164 | mm/mlock.c | error = mlock_fixup(vma, nstart, end, newflags); |
newflags | 170 | mm/mlock.c | error = mlock_fixup(vma, nstart, tmp, newflags); |
newflags | 233 | mm/mlock.c | unsigned int newflags; |
newflags | 235 | mm/mlock.c | newflags = vma->vm_flags | VM_LOCKED; |
newflags | 237 | mm/mlock.c | newflags &= ~VM_LOCKED; |
newflags | 238 | mm/mlock.c | error = mlock_fixup(vma, vma->vm_start, vma->vm_end, newflags); |
newflags | 88 | mm/mprotect.c | int newflags, pgprot_t prot) |
newflags | 90 | mm/mprotect.c | vma->vm_flags = newflags; |
newflags | 97 | mm/mprotect.c | int newflags, pgprot_t prot) |
newflags | 108 | mm/mprotect.c | n->vm_flags = newflags; |
newflags | 120 | mm/mprotect.c | int newflags, pgprot_t prot) |
newflags | 131 | mm/mprotect.c | n->vm_flags = newflags; |
newflags | 143 | mm/mprotect.c | int newflags, pgprot_t prot) |
newflags | 163 | mm/mprotect.c | vma->vm_flags = newflags; |
newflags | 177 | mm/mprotect.c | unsigned long start, unsigned long end, unsigned int newflags) |
newflags | 182 | mm/mprotect.c | if (newflags == vma->vm_flags) |
newflags | 184 | mm/mprotect.c | newprot = protection_map[newflags & 0xf]; |
newflags | 187 | mm/mprotect.c | error = mprotect_fixup_all(vma, newflags, newprot); |
newflags | 189 | mm/mprotect.c | error = mprotect_fixup_start(vma, end, newflags, newprot); |
newflags | 191 | mm/mprotect.c | error = mprotect_fixup_end(vma, start, newflags, newprot); |
newflags | 193 | mm/mprotect.c | error = mprotect_fixup_middle(vma, start, end, newflags, newprot); |
newflags | 223 | mm/mprotect.c | unsigned int newflags; |
newflags | 227 | mm/mprotect.c | newflags = prot | (vma->vm_flags & ~(PROT_READ | PROT_WRITE | PROT_EXEC)); |
newflags | 228 | mm/mprotect.c | if ((newflags & ~(newflags >> 4)) & 0xf) { |
newflags | 234 | mm/mprotect.c | error = mprotect_fixup(vma, nstart, end, newflags); |
newflags | 240 | mm/mprotect.c | error = mprotect_fixup(vma, nstart, tmp, newflags); |