Searched refs:oldflags (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/auxdisplay/ |
A 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/fs/ext4/ |
A D | ioctl.c | 287 unsigned int oldflags = ei->i_flags; in ext4_ioctl_check_immutable() local 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() 363 if (!dax_compatible(inode, oldflags, flags)) { in ext4_ioctl_setflags() 368 if ((flags ^ oldflags) & EXT4_EXTENTS_FL) in ext4_ioctl_setflags() 371 if ((flags ^ oldflags) & EXT4_CASEFOLD_FL) { in ext4_ioctl_setflags() [all …]
|
/linux/mm/ |
A D | mprotect.c | 413 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/fs/crypto/ |
A D | hooks.c | 142 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/fs/ocfs2/ |
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/include/linux/ |
A D | fscrypt.h | 345 unsigned int oldflags, unsigned int flags); 648 unsigned int oldflags, in fscrypt_prepare_setflags() argument
|
/linux/fs/nilfs2/ |
A 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/security/selinux/ |
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/fs/cifs/ |
A D | connect.c | 2432 unsigned int oldflags = old->mnt_cifs_flags & CIFS_MOUNT_MASK; in compare_mount_options() local 2441 if (oldflags != newflags) in compare_mount_options()
|
Completed in 53 milliseconds