Searched refs:oldflags (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/drivers/auxdisplay/ |
D | charlcd.c | 204 int oldflags = priv->flags; in handle_lcd_special_code() local 210 if (priv->flags != oldflags) in handle_lcd_special_code() 217 if (priv->flags != oldflags) in handle_lcd_special_code() 224 if (priv->flags != oldflags) in handle_lcd_special_code() 231 if (priv->flags != oldflags) in handle_lcd_special_code() 238 if (priv->flags != oldflags) in handle_lcd_special_code() 245 if (priv->flags != oldflags) in handle_lcd_special_code() 252 if (priv->flags != oldflags) in handle_lcd_special_code() 259 if (priv->flags != oldflags) in handle_lcd_special_code() 270 if (priv->flags != oldflags) in handle_lcd_special_code() [all …]
|
/linux-6.1.9/arch/x86/include/asm/ |
D | tlbflush.h | 263 static inline bool pte_flags_need_flush(unsigned long oldflags, in pte_flags_need_flush() argument 281 unsigned long diff = oldflags ^ newflags; in pte_flags_need_flush() 297 if (diff & oldflags & flush_on_clear) in pte_flags_need_flush()
|
/linux-6.1.9/fs/ext4/ |
D | ioctl.c | 526 unsigned int oldflags = ei->i_flags; in ext4_ioctl_check_immutable() local 528 if (!(oldflags & EXT4_IMMUTABLE_FL) || !(flags & EXT4_IMMUTABLE_FL)) in ext4_ioctl_check_immutable() 531 if ((oldflags & ~EXT4_IMMUTABLE_FL) != (flags & ~EXT4_IMMUTABLE_FL)) in ext4_ioctl_check_immutable() 555 static bool dax_compatible(struct inode *inode, unsigned int oldflags, in dax_compatible() argument 561 oldflags &= ~EXT4_INLINE_DATA_FL; in dax_compatible() 565 if ((oldflags & EXT4_DAX_MUT_EXCL) || in dax_compatible() 572 if ((flags & EXT4_DAX_MUT_EXCL) && (oldflags & EXT4_DAX_FL)) in dax_compatible() 585 unsigned int oldflags, mask, i; in ext4_ioctl_setflags() local 592 oldflags = ei->i_flags; in ext4_ioctl_setflags() 597 if ((flags ^ oldflags) & (EXT4_JOURNAL_DATA_FL)) { in ext4_ioctl_setflags() [all …]
|
/linux-6.1.9/mm/ |
D | mprotect.c | 553 unsigned long oldflags = vma->vm_flags; in mprotect_fixup() local 560 if (newflags == oldflags) { in mprotect_fixup() 590 may_expand_vm(mm, oldflags, nrpages)) in mprotect_fixup() 592 if (!(oldflags & (VM_ACCOUNT|VM_WRITE|VM_HUGETLB| in mprotect_fixup() 653 if ((oldflags & (VM_WRITE | VM_SHARED | VM_LOCKED)) == VM_LOCKED && in mprotect_fixup() 658 vm_stat_account(mm, oldflags, -nrpages); in mprotect_fixup()
|
D | mlock.c | 411 vm_flags_t oldflags = vma->vm_flags; in mlock_fixup() local 413 if (newflags == oldflags || (oldflags & VM_SPECIAL) || in mlock_fixup() 447 else if (oldflags & VM_LOCKED) in mlock_fixup() 457 if ((newflags & VM_LOCKED) && (oldflags & VM_LOCKED)) { in mlock_fixup()
|
/linux-6.1.9/fs/crypto/ |
D | hooks.c | 140 unsigned int oldflags, unsigned int flags) in fscrypt_prepare_setflags() argument 151 if (IS_ENCRYPTED(inode) && (flags & ~oldflags & FS_CASEFOLD_FL)) { in fscrypt_prepare_setflags()
|
/linux-6.1.9/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.1.9/fs/nilfs2/ |
D | ioctl.c | 136 unsigned int flags, oldflags; in nilfs_fileattr_set() local 148 oldflags = NILFS_I(inode)->i_flags & ~FS_FL_USER_MODIFIABLE; in nilfs_fileattr_set() 149 NILFS_I(inode)->i_flags = oldflags | (flags & FS_FL_USER_MODIFIABLE); in nilfs_fileattr_set()
|
/linux-6.1.9/include/linux/ |
D | fscrypt.h | 367 unsigned int oldflags, unsigned int flags); 698 unsigned int oldflags, in fscrypt_prepare_setflags() argument
|
/linux-6.1.9/security/selinux/ |
D | hooks.c | 841 char oldflags = old->flags & SE_MNTMASK; in selinux_cmp_sb_context() local 844 if (oldflags != newflags) in selinux_cmp_sb_context() 846 if ((oldflags & FSCONTEXT_MNT) && old->sid != new->sid) in selinux_cmp_sb_context() 848 if ((oldflags & CONTEXT_MNT) && old->mntpoint_sid != new->mntpoint_sid) in selinux_cmp_sb_context() 850 if ((oldflags & DEFCONTEXT_MNT) && old->def_sid != new->def_sid) in selinux_cmp_sb_context() 852 if (oldflags & ROOTCONTEXT_MNT) { in selinux_cmp_sb_context()
|
/linux-6.1.9/fs/cifs/ |
D | connect.c | 2655 unsigned int oldflags = old->mnt_cifs_flags & CIFS_MOUNT_MASK; in compare_mount_options() local 2664 if (oldflags != newflags) in compare_mount_options()
|