taglinefilesource code
newflags20mm/mlock.cstatic inline int mlock_fixup_all(struct vm_area_struct * vma, int newflags)
newflags22mm/mlock.cvma->vm_flags = newflags;
newflags27mm/mlock.cunsigned long end, int newflags)
newflags38mm/mlock.cn->vm_flags = newflags;
newflags48mm/mlock.cunsigned long start, int newflags)
newflags59mm/mlock.cn->vm_flags = newflags;
newflags69mm/mlock.cunsigned long start, unsigned long end, int newflags)
newflags89mm/mlock.cvma->vm_flags = newflags;
newflags102mm/mlock.cunsigned long start, unsigned long end, unsigned int newflags)
newflags106mm/mlock.cif (newflags == vma->vm_flags)
newflags111mm/mlock.cretval = mlock_fixup_all(vma, newflags);
newflags113mm/mlock.cretval = mlock_fixup_start(vma, end, newflags);
newflags116mm/mlock.cretval = mlock_fixup_end(vma, start, newflags);
newflags118mm/mlock.cretval = mlock_fixup_middle(vma, start, end, newflags);
newflags123mm/mlock.cif (!(newflags & VM_LOCKED))
newflags127mm/mlock.cif (newflags & VM_LOCKED)
newflags156mm/mlock.cunsigned int newflags;
newflags160mm/mlock.cnewflags = vma->vm_flags | VM_LOCKED;
newflags162mm/mlock.cnewflags &= ~VM_LOCKED;
newflags165mm/mlock.cerror = mlock_fixup(vma, nstart, end, newflags);
newflags171mm/mlock.cerror = mlock_fixup(vma, nstart, tmp, newflags);
newflags234mm/mlock.cunsigned int newflags;
newflags236mm/mlock.cnewflags = vma->vm_flags | VM_LOCKED;
newflags238mm/mlock.cnewflags &= ~VM_LOCKED;
newflags239mm/mlock.cerror = mlock_fixup(vma, vma->vm_start, vma->vm_end, newflags);
newflags88mm/mprotect.cint newflags, pgprot_t prot)
newflags90mm/mprotect.cvma->vm_flags = newflags;
newflags97mm/mprotect.cint newflags, pgprot_t prot)
newflags108mm/mprotect.cn->vm_flags = newflags;
newflags120mm/mprotect.cint newflags, pgprot_t prot)
newflags131mm/mprotect.cn->vm_flags = newflags;
newflags143mm/mprotect.cint newflags, pgprot_t prot)
newflags163mm/mprotect.cvma->vm_flags = newflags;
newflags177mm/mprotect.cunsigned long start, unsigned long end, unsigned int newflags)
newflags182mm/mprotect.cif (newflags == vma->vm_flags)
newflags184mm/mprotect.cnewprot = protection_map[newflags & 0xf];
newflags187mm/mprotect.cerror = mprotect_fixup_all(vma, newflags, newprot);
newflags189mm/mprotect.cerror = mprotect_fixup_start(vma, end, newflags, newprot);
newflags191mm/mprotect.cerror = mprotect_fixup_end(vma, start, newflags, newprot);
newflags193mm/mprotect.cerror = mprotect_fixup_middle(vma, start, end, newflags, newprot);
newflags223mm/mprotect.cunsigned int newflags;
newflags227mm/mprotect.cnewflags = prot | (vma->vm_flags & ~(PROT_READ | PROT_WRITE | PROT_EXEC));
newflags228mm/mprotect.cif ((newflags & ~(newflags >> 4)) & 0xf) {
newflags234mm/mprotect.cerror = mprotect_fixup(vma, nstart, end, newflags);
newflags240mm/mprotect.cerror = mprotect_fixup(vma, nstart, tmp, newflags);