Home
last modified time | relevance | path

Searched refs:oldflags (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.6/drivers/auxdisplay/
Dcharlcd.c204 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-v6.6/arch/x86/include/asm/
Dtlbflush.h296 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-v6.6/fs/ext4/
Dioctl.c525 unsigned int oldflags = ei->i_flags; in ext4_ioctl_check_immutable() local
527 if (!(oldflags & EXT4_IMMUTABLE_FL) || !(flags & EXT4_IMMUTABLE_FL)) in ext4_ioctl_check_immutable()
530 if ((oldflags & ~EXT4_IMMUTABLE_FL) != (flags & ~EXT4_IMMUTABLE_FL)) in ext4_ioctl_check_immutable()
554 static bool dax_compatible(struct inode *inode, unsigned int oldflags, in dax_compatible() argument
560 oldflags &= ~EXT4_INLINE_DATA_FL; in dax_compatible()
564 if ((oldflags & EXT4_DAX_MUT_EXCL) || in dax_compatible()
571 if ((flags & EXT4_DAX_MUT_EXCL) && (oldflags & EXT4_DAX_FL)) in dax_compatible()
584 unsigned int oldflags, mask, i; in ext4_ioctl_setflags() local
591 oldflags = ei->i_flags; in ext4_ioctl_setflags()
596 if ((flags ^ oldflags) & (EXT4_JOURNAL_DATA_FL)) { in ext4_ioctl_setflags()
[all …]
/Linux-v6.6/mm/
Dmprotect.c580 unsigned long oldflags = vma->vm_flags; in mprotect_fixup() local
587 if (newflags == oldflags) { in mprotect_fixup()
617 may_expand_vm(mm, oldflags, nrpages)) in mprotect_fixup()
619 if (!(oldflags & (VM_ACCOUNT|VM_WRITE|VM_HUGETLB| in mprotect_fixup()
672 if ((oldflags & (VM_WRITE | VM_SHARED | VM_LOCKED)) == VM_LOCKED && in mprotect_fixup()
677 vm_stat_account(mm, oldflags, -nrpages); in mprotect_fixup()
Dmlock.c420 vm_flags_t oldflags = vma->vm_flags; in mlock_fixup() local
422 if (newflags == oldflags || (oldflags & VM_SPECIAL) || in mlock_fixup()
456 else if (oldflags & VM_LOCKED) in mlock_fixup()
465 if ((newflags & VM_LOCKED) && (oldflags & VM_LOCKED)) { in mlock_fixup()
/Linux-v6.6/fs/crypto/
Dhooks.c170 unsigned int oldflags, unsigned int flags) in fscrypt_prepare_setflags() argument
181 if (IS_ENCRYPTED(inode) && (flags & ~oldflags & FS_CASEFOLD_FL)) { in fscrypt_prepare_setflags()
/Linux-v6.6/fs/ocfs2/
Dioctl.c94 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-v6.6/fs/nilfs2/
Dioctl.c136 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-v6.6/include/linux/
Dfscrypt.h376 unsigned int oldflags, unsigned int flags);
716 unsigned int oldflags, in fscrypt_prepare_setflags() argument
/Linux-v6.6/security/selinux/
Dhooks.c874 char oldflags = old->flags & SE_MNTMASK; in selinux_cmp_sb_context() local
877 if (oldflags != newflags) in selinux_cmp_sb_context()
879 if ((oldflags & FSCONTEXT_MNT) && old->sid != new->sid) in selinux_cmp_sb_context()
881 if ((oldflags & CONTEXT_MNT) && old->mntpoint_sid != new->mntpoint_sid) in selinux_cmp_sb_context()
883 if ((oldflags & DEFCONTEXT_MNT) && old->def_sid != new->def_sid) in selinux_cmp_sb_context()
885 if (oldflags & ROOTCONTEXT_MNT) { in selinux_cmp_sb_context()
/Linux-v6.6/fs/smb/client/
Dconnect.c2719 unsigned int oldflags = old->mnt_cifs_flags & CIFS_MOUNT_MASK; in compare_mount_options() local
2728 if (oldflags != newflags) in compare_mount_options()