Searched refs:oldflags (Results 1 – 13 of 13) sorted by relevance
| /linux-6.15/drivers/auxdisplay/ |
| H A D | charlcd.c | 206 int oldflags = priv->flags; in handle_lcd_special_code() local 212 if (priv->flags != oldflags) in handle_lcd_special_code() 219 if (priv->flags != oldflags) in handle_lcd_special_code() 226 if (priv->flags != oldflags) in handle_lcd_special_code() 233 if (priv->flags != oldflags) in handle_lcd_special_code() 240 if (priv->flags != oldflags) in handle_lcd_special_code() 247 if (priv->flags != oldflags) in handle_lcd_special_code() 254 if (priv->flags != oldflags) in handle_lcd_special_code() 261 if (priv->flags != oldflags) in handle_lcd_special_code() 272 if (priv->flags != oldflags) in handle_lcd_special_code() [all …]
|
| /linux-6.15/mm/ |
| H A D | mprotect.c | 602 unsigned long oldflags = READ_ONCE(vma->vm_flags); in mprotect_fixup() local 611 if (newflags == oldflags) { in mprotect_fixup() 622 (oldflags & (VM_PFNMAP|VM_MIXEDMAP)) && in mprotect_fixup() 644 may_expand_vm(mm, oldflags, nrpages)) in mprotect_fixup() 646 if (!(oldflags & (VM_ACCOUNT|VM_WRITE|VM_HUGETLB| in mprotect_fixup() 653 } else if ((oldflags & VM_ACCOUNT) && vma_is_anonymous(vma) && in mprotect_fixup() 678 if ((oldflags & VM_ACCOUNT) && !(newflags & VM_ACCOUNT)) in mprotect_fixup() 685 if ((oldflags & (VM_WRITE | VM_SHARED | VM_LOCKED)) == VM_LOCKED && in mprotect_fixup() 690 vm_stat_account(mm, oldflags, -nrpages); in mprotect_fixup()
|
| H A D | mlock.c | 475 vm_flags_t oldflags = vma->vm_flags; in mlock_fixup() local 477 if (newflags == oldflags || (oldflags & VM_SPECIAL) || in mlock_fixup() 479 vma_is_dax(vma) || vma_is_secretmem(vma) || (oldflags & VM_DROPPABLE)) in mlock_fixup() 495 else if (oldflags & VM_LOCKED) in mlock_fixup() 504 if ((newflags & VM_LOCKED) && (oldflags & VM_LOCKED)) { in mlock_fixup()
|
| H A D | mseal.c | 77 vm_flags_t oldflags = vma->vm_flags; in mseal_fixup() local 79 if (newflags == oldflags) in mseal_fixup()
|
| /linux-6.15/fs/ext4/ |
| H A D | ioctl.c | 534 unsigned int oldflags = ei->i_flags; in ext4_ioctl_check_immutable() local 569 oldflags &= ~EXT4_INLINE_DATA_FL; in dax_compatible() 573 if ((oldflags & EXT4_DAX_MUT_EXCL) || in dax_compatible() 580 if ((flags & EXT4_DAX_MUT_EXCL) && (oldflags & EXT4_DAX_FL)) in dax_compatible() 593 unsigned int oldflags, mask, i; in ext4_ioctl_setflags() local 600 oldflags = ei->i_flags; in ext4_ioctl_setflags() 605 if ((flags ^ oldflags) & (EXT4_JOURNAL_DATA_FL)) { in ext4_ioctl_setflags() 610 if (!dax_compatible(inode, oldflags, flags)) { in ext4_ioctl_setflags() 615 if ((flags ^ oldflags) & EXT4_EXTENTS_FL) in ext4_ioctl_setflags() 618 if ((flags ^ oldflags) & EXT4_CASEFOLD_FL) { in ext4_ioctl_setflags() [all …]
|
| /linux-6.15/arch/x86/include/asm/ |
| H A D | tlbflush.h | 366 static inline bool pte_flags_need_flush(unsigned long oldflags, in pte_flags_need_flush() argument 385 unsigned long diff = oldflags ^ newflags; in pte_flags_need_flush() 401 if (diff & oldflags & flush_on_clear) in pte_flags_need_flush()
|
| /linux-6.15/include/linux/sched/ |
| H A D | mm.h | 332 unsigned oldflags = ~current->flags & flags; in memalloc_flags_save() local 334 return oldflags; in memalloc_flags_save()
|
| /linux-6.15/fs/crypto/ |
| H A D | hooks.c | 185 unsigned int oldflags, unsigned int flags) in fscrypt_prepare_setflags() argument 196 if (IS_ENCRYPTED(inode) && (flags & ~oldflags & FS_CASEFOLD_FL)) { in fscrypt_prepare_setflags()
|
| /linux-6.15/fs/ocfs2/ |
| H A D | ioctl.c | 94 unsigned oldflags; in ocfs2_fileattr_set() local 109 oldflags = ocfs2_inode->ip_attr; in ocfs2_fileattr_set() 111 flags |= oldflags & ~OCFS2_FL_MODIFIABLE; in ocfs2_fileattr_set() 115 if ((flags ^ oldflags) & (FS_APPEND_FL | FS_IMMUTABLE_FL) && in ocfs2_fileattr_set()
|
| /linux-6.15/include/linux/ |
| H A D | fscrypt.h | 434 unsigned int oldflags, unsigned int flags); 778 unsigned int oldflags, in fscrypt_prepare_setflags() argument
|
| /linux-6.15/fs/nilfs2/ |
| H A D | ioctl.c | 143 unsigned int flags, oldflags; in nilfs_fileattr_set() local 155 oldflags = NILFS_I(inode)->i_flags & ~FS_FL_USER_MODIFIABLE; in nilfs_fileattr_set() 156 NILFS_I(inode)->i_flags = oldflags | (flags & FS_FL_USER_MODIFIABLE); in nilfs_fileattr_set()
|
| /linux-6.15/security/selinux/ |
| H A D | hooks.c | 881 char oldflags = old->flags & SE_MNTMASK; in selinux_cmp_sb_context() local 884 if (oldflags != newflags) in selinux_cmp_sb_context() 886 if ((oldflags & FSCONTEXT_MNT) && old->sid != new->sid) in selinux_cmp_sb_context() 888 if ((oldflags & CONTEXT_MNT) && old->mntpoint_sid != new->mntpoint_sid) in selinux_cmp_sb_context() 890 if ((oldflags & DEFCONTEXT_MNT) && old->def_sid != new->def_sid) in selinux_cmp_sb_context() 892 if (oldflags & ROOTCONTEXT_MNT) { in selinux_cmp_sb_context()
|
| /linux-6.15/fs/smb/client/ |
| H A D | connect.c | 2912 unsigned int oldflags = old->mnt_cifs_flags & CIFS_MOUNT_MASK; in compare_mount_options() local 2921 if (oldflags != newflags) in compare_mount_options()
|