/linux-6.12.1/mm/ |
D | mlock.c | 424 unsigned long start, unsigned long end, vm_flags_t newflags) in mlock_vma_pages_range() argument 442 if (newflags & VM_LOCKED) in mlock_vma_pages_range() 443 newflags |= VM_IO; in mlock_vma_pages_range() 445 vm_flags_reset_once(vma, newflags); in mlock_vma_pages_range() 451 if (newflags & VM_IO) { in mlock_vma_pages_range() 452 newflags &= ~VM_IO; in mlock_vma_pages_range() 453 vm_flags_reset_once(vma, newflags); in mlock_vma_pages_range() 468 unsigned long end, vm_flags_t newflags) in mlock_fixup() argument 475 if (newflags == oldflags || (oldflags & VM_SPECIAL) || in mlock_fixup() 481 vma = vma_modify_flags(vmi, *prev, vma, start, end, newflags); in mlock_fixup() [all …]
|
D | mprotect.c | 605 unsigned long start, unsigned long end, unsigned long newflags) in mprotect_fixup() argument 617 if (newflags == oldflags) { in mprotect_fixup() 629 (newflags & VM_ACCESS_FLAGS) == 0) { in mprotect_fixup() 630 pgprot_t new_pgprot = vm_get_page_prot(newflags); in mprotect_fixup() 647 if (newflags & VM_WRITE) { in mprotect_fixup() 649 if (!may_expand_vm(mm, newflags, nrpages) && in mprotect_fixup() 657 newflags |= VM_ACCOUNT; in mprotect_fixup() 661 newflags &= ~VM_ACCOUNT; in mprotect_fixup() 664 vma = vma_modify_flags(vmi, *pprev, vma, start, end, newflags); in mprotect_fixup() 677 vm_flags_reset(vma, newflags); in mprotect_fixup() [all …]
|
D | mseal.c | 73 unsigned long end, vm_flags_t newflags) in mseal_fixup() argument 78 if (newflags == oldflags) in mseal_fixup() 81 vma = vma_modify_flags(vmi, *prev, vma, start, end, newflags); in mseal_fixup() 145 vm_flags_t newflags; in apply_mm_seal() local 147 newflags = vma->vm_flags | VM_SEALED; in apply_mm_seal() 151 error = mseal_fixup(&vmi, vma, &prev, nstart, tmp, newflags); in apply_mm_seal()
|
/linux-6.12.1/arch/x86/kernel/ |
D | vm86_32.c | 559 newflags |= X86_EFLAGS_TF in handle_vm86_fault() 603 unsigned long newflags; in handle_vm86_fault() local 605 newflags = popl(ssp, sp, simulate_sigsegv); in handle_vm86_fault() 608 newflags = popw(ssp, sp, simulate_sigsegv); in handle_vm86_fault() 614 set_vflags_long(newflags, regs); in handle_vm86_fault() 616 set_vflags_short(newflags, regs); in handle_vm86_fault() 640 unsigned long newflags; in handle_vm86_fault() local 644 newflags = popl(ssp, sp, simulate_sigsegv); in handle_vm86_fault() 649 newflags = popw(ssp, sp, simulate_sigsegv); in handle_vm86_fault() 656 set_vflags_long(newflags, regs); in handle_vm86_fault() [all …]
|
/linux-6.12.1/fs/bcachefs/ |
D | fs-ioctl.c | 45 unsigned newflags = s->flags; in bch2_inode_flags_set() local 48 if (((newflags ^ oldflags) & (BCH_INODE_append|BCH_INODE_immutable)) && in bch2_inode_flags_set() 54 (newflags & (BCH_INODE_nodump|BCH_INODE_noatime)) != newflags) in bch2_inode_flags_set() 63 bi->bi_flags |= newflags; in bch2_inode_flags_set()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | tlbflush.h | 297 unsigned long newflags, in pte_flags_need_flush() argument 315 unsigned long diff = oldflags ^ newflags; in pte_flags_need_flush()
|
/linux-6.12.1/arch/s390/kvm/ |
D | vsie.c | 108 int newflags, cpuflags = atomic_read(&scb_o->cpuflags); in prepare_cpuflags() local 120 newflags = CPUSTAT_ZARCH; in prepare_cpuflags() 122 newflags |= CPUSTAT_GED; in prepare_cpuflags() 126 newflags |= CPUSTAT_GED2; in prepare_cpuflags() 129 newflags |= cpuflags & CPUSTAT_P; in prepare_cpuflags() 131 newflags |= cpuflags & CPUSTAT_SM; in prepare_cpuflags() 133 newflags |= cpuflags & CPUSTAT_IBS; in prepare_cpuflags() 135 newflags |= cpuflags & CPUSTAT_KSS; in prepare_cpuflags() 137 atomic_set(&scb_s->cpuflags, newflags); in prepare_cpuflags()
|
/linux-6.12.1/drivers/hid/usbhid/ |
D | hiddev.c | 666 int newflags; in hiddev_ioctl() local 668 if (get_user(newflags, (int __user *)arg)) { in hiddev_ioctl() 673 if ((newflags & ~HIDDEV_FLAGS) != 0 || in hiddev_ioctl() 674 ((newflags & HIDDEV_FLAG_REPORT) != 0 && in hiddev_ioctl() 675 (newflags & HIDDEV_FLAG_UREF) == 0)) in hiddev_ioctl() 678 list->flags = newflags; in hiddev_ioctl()
|
/linux-6.12.1/lib/ |
D | dynamic_debug.c | 179 unsigned int newflags; in ddebug_change() local 246 newflags = (dp->flags & modifiers->mask) | modifiers->flags; in ddebug_change() 247 if (newflags == dp->flags) in ddebug_change() 251 if (!(newflags & _DPRINTK_FLAGS_PRINT)) in ddebug_change() 253 } else if (newflags & _DPRINTK_FLAGS_PRINT) { in ddebug_change() 261 ddebug_describe_flags(newflags, &nbuf)); in ddebug_change() 262 dp->flags = newflags; in ddebug_change()
|
/linux-6.12.1/fs/btrfs/ |
D | ioctl.c | 4411 u64 newflags; in btrfs_ioctl_set_features() local 4451 newflags = btrfs_super_compat_flags(super_block); in btrfs_ioctl_set_features() 4452 newflags |= flags[0].compat_flags & flags[1].compat_flags; in btrfs_ioctl_set_features() 4453 newflags &= ~(flags[0].compat_flags & ~flags[1].compat_flags); in btrfs_ioctl_set_features() 4454 btrfs_set_super_compat_flags(super_block, newflags); in btrfs_ioctl_set_features() 4456 newflags = btrfs_super_compat_ro_flags(super_block); in btrfs_ioctl_set_features() 4457 newflags |= flags[0].compat_ro_flags & flags[1].compat_ro_flags; in btrfs_ioctl_set_features() 4458 newflags &= ~(flags[0].compat_ro_flags & ~flags[1].compat_ro_flags); in btrfs_ioctl_set_features() 4459 btrfs_set_super_compat_ro_flags(super_block, newflags); in btrfs_ioctl_set_features() 4461 newflags = btrfs_super_incompat_flags(super_block); in btrfs_ioctl_set_features() [all …]
|
/linux-6.12.1/arch/x86/kernel/cpu/sgx/ |
D | encl.c | 571 unsigned long end, unsigned long newflags) in sgx_vma_mprotect() argument 573 return sgx_encl_may_map(vma->vm_private_data, start, end, newflags); in sgx_vma_mprotect()
|
/linux-6.12.1/tools/testing/vma/ |
D | vma_internal.h | 308 unsigned long end, unsigned long newflags);
|
/linux-6.12.1/fs/smb/client/ |
D | connect.c | 2781 unsigned int newflags = new->mnt_cifs_flags & CIFS_MOUNT_MASK; in compare_mount_options() local 2787 newflags &= ~CIFS_MOUNT_SERVER_INUM; in compare_mount_options() 2789 if (oldflags != newflags) in compare_mount_options()
|
/linux-6.12.1/include/linux/ |
D | mm.h | 614 unsigned long end, unsigned long newflags); 2574 unsigned long start, unsigned long end, unsigned long newflags);
|
/linux-6.12.1/fs/ocfs2/ |
D | dlmglue.c | 889 unsigned long newflags) in lockres_set_flags() argument 895 lockres->l_flags = newflags; in lockres_set_flags()
|
/linux-6.12.1/security/selinux/ |
D | hooks.c | 882 char newflags = new->flags & SE_MNTMASK; in selinux_cmp_sb_context() local 884 if (oldflags != newflags) in selinux_cmp_sb_context()
|