Home
last modified time | relevance | path

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

/Linux-v5.15/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-v5.15/fs/ext4/
Dioctl.c287 unsigned int oldflags = ei->i_flags; in ext4_ioctl_check_immutable() local
289 if (!(oldflags & EXT4_IMMUTABLE_FL) || !(flags & EXT4_IMMUTABLE_FL)) in ext4_ioctl_check_immutable()
292 if ((oldflags & ~EXT4_IMMUTABLE_FL) != (flags & ~EXT4_IMMUTABLE_FL)) in ext4_ioctl_check_immutable()
316 static bool dax_compatible(struct inode *inode, unsigned int oldflags, in dax_compatible() argument
322 oldflags &= ~EXT4_INLINE_DATA_FL; in dax_compatible()
326 if ((oldflags & EXT4_DAX_MUT_EXCL) || in dax_compatible()
333 if ((flags & EXT4_DAX_MUT_EXCL) && (oldflags & EXT4_DAX_FL)) in dax_compatible()
346 unsigned int oldflags, mask, i; in ext4_ioctl_setflags() local
353 oldflags = ei->i_flags; in ext4_ioctl_setflags()
358 if ((flags ^ oldflags) & (EXT4_JOURNAL_DATA_FL)) { in ext4_ioctl_setflags()
[all …]
/Linux-v5.15/mm/
Dmprotect.c413 unsigned long oldflags = vma->vm_flags; in mprotect_fixup() local
420 if (newflags == oldflags) { in mprotect_fixup()
450 may_expand_vm(mm, oldflags, nrpages)) in mprotect_fixup()
452 if (!(oldflags & (VM_ACCOUNT|VM_WRITE|VM_HUGETLB| in mprotect_fixup()
504 if ((oldflags & (VM_WRITE | VM_SHARED | VM_LOCKED)) == VM_LOCKED && in mprotect_fixup()
509 vm_stat_account(mm, oldflags, -nrpages); in mprotect_fixup()
/Linux-v5.15/fs/crypto/
Dhooks.c142 unsigned int oldflags, unsigned int flags) in fscrypt_prepare_setflags() argument
154 if (IS_ENCRYPTED(inode) && (flags & ~oldflags & FS_CASEFOLD_FL)) { in fscrypt_prepare_setflags()
/Linux-v5.15/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-v5.15/include/linux/
Dfscrypt.h348 unsigned int oldflags, unsigned int flags);
651 unsigned int oldflags, in fscrypt_prepare_setflags() argument
/Linux-v5.15/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-v5.15/security/selinux/
Dhooks.c898 char oldflags = old->flags & SE_MNTMASK; in selinux_cmp_sb_context() local
901 if (oldflags != newflags) in selinux_cmp_sb_context()
903 if ((oldflags & FSCONTEXT_MNT) && old->sid != new->sid) in selinux_cmp_sb_context()
905 if ((oldflags & CONTEXT_MNT) && old->mntpoint_sid != new->mntpoint_sid) in selinux_cmp_sb_context()
907 if ((oldflags & DEFCONTEXT_MNT) && old->def_sid != new->def_sid) in selinux_cmp_sb_context()
909 if (oldflags & ROOTCONTEXT_MNT) { in selinux_cmp_sb_context()
/Linux-v5.15/fs/cifs/
Dconnect.c2318 unsigned int oldflags = old->mnt_cifs_flags & CIFS_MOUNT_MASK; in compare_mount_options() local
2327 if (oldflags != newflags) in compare_mount_options()