/linux-6.12.1/drivers/auxdisplay/ |
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.12.1/mm/ |
D | mprotect.c | 608 unsigned long oldflags = vma->vm_flags; in mprotect_fixup() local 617 if (newflags == oldflags) { in mprotect_fixup() 650 may_expand_vm(mm, oldflags, nrpages)) in mprotect_fixup() 652 if (!(oldflags & (VM_ACCOUNT|VM_WRITE|VM_HUGETLB| in mprotect_fixup() 659 } else if ((oldflags & VM_ACCOUNT) && vma_is_anonymous(vma) && in mprotect_fixup() 684 if ((oldflags & VM_ACCOUNT) && !(newflags & VM_ACCOUNT)) in mprotect_fixup() 691 if ((oldflags & (VM_WRITE | VM_SHARED | VM_LOCKED)) == VM_LOCKED && in mprotect_fixup() 696 vm_stat_account(mm, oldflags, -nrpages); in mprotect_fixup()
|
D | mlock.c | 473 vm_flags_t oldflags = vma->vm_flags; in mlock_fixup() local 475 if (newflags == oldflags || (oldflags & VM_SPECIAL) || in mlock_fixup() 477 vma_is_dax(vma) || vma_is_secretmem(vma) || (oldflags & VM_DROPPABLE)) in mlock_fixup() 493 else if (oldflags & VM_LOCKED) in mlock_fixup() 502 if ((newflags & VM_LOCKED) && (oldflags & VM_LOCKED)) { in mlock_fixup()
|
D | mseal.c | 76 vm_flags_t oldflags = vma->vm_flags; in mseal_fixup() local 78 if (newflags == oldflags) in mseal_fixup()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | tlbflush.h | 296 static inline bool pte_flags_need_flush(unsigned long oldflags, in pte_flags_need_flush() argument 315 unsigned long diff = oldflags ^ newflags; in pte_flags_need_flush() 331 if (diff & oldflags & flush_on_clear) in pte_flags_need_flush()
|
/linux-6.12.1/fs/ext4/ |
D | ioctl.c | 534 unsigned int oldflags = ei->i_flags; in ext4_ioctl_check_immutable() local 536 if (!(oldflags & EXT4_IMMUTABLE_FL) || !(flags & EXT4_IMMUTABLE_FL)) in ext4_ioctl_check_immutable() 539 if ((oldflags & ~EXT4_IMMUTABLE_FL) != (flags & ~EXT4_IMMUTABLE_FL)) in ext4_ioctl_check_immutable() 563 static bool dax_compatible(struct inode *inode, unsigned int oldflags, in dax_compatible() argument 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() [all …]
|
/linux-6.12.1/include/linux/sched/ |
D | mm.h | 332 unsigned oldflags = ~current->flags & flags; in memalloc_flags_save() local 334 return oldflags; in memalloc_flags_save()
|
/linux-6.12.1/fs/crypto/ |
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.12.1/fs/ocfs2/ |
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.12.1/fs/bcachefs/ |
D | fs-ioctl.c | 46 unsigned oldflags = bi->bi_flags & s->mask; in bch2_inode_flags_set() local 48 if (((newflags ^ oldflags) & (BCH_INODE_append|BCH_INODE_immutable)) && in bch2_inode_flags_set()
|
/linux-6.12.1/fs/nilfs2/ |
D | ioctl.c | 146 unsigned int flags, oldflags; in nilfs_fileattr_set() local 158 oldflags = NILFS_I(inode)->i_flags & ~FS_FL_USER_MODIFIABLE; in nilfs_fileattr_set() 159 NILFS_I(inode)->i_flags = oldflags | (flags & FS_FL_USER_MODIFIABLE); in nilfs_fileattr_set()
|
/linux-6.12.1/include/linux/ |
D | fscrypt.h | 435 unsigned int oldflags, unsigned int flags); 781 unsigned int oldflags, in fscrypt_prepare_setflags() argument
|
/linux-6.12.1/security/selinux/ |
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.12.1/fs/smb/client/ |
D | connect.c | 2780 unsigned int oldflags = old->mnt_cifs_flags & CIFS_MOUNT_MASK; in compare_mount_options() local 2789 if (oldflags != newflags) in compare_mount_options()
|