oldflags 379 drivers/auxdisplay/charlcd.c int oldflags = priv->flags; oldflags 555 drivers/auxdisplay/charlcd.c if (oldflags == priv->flags) oldflags 559 drivers/auxdisplay/charlcd.c if ((oldflags ^ priv->flags) & oldflags 568 drivers/auxdisplay/charlcd.c else if ((oldflags ^ priv->flags) & (LCD_FLAG_F | LCD_FLAG_N)) oldflags 575 drivers/auxdisplay/charlcd.c else if ((oldflags ^ priv->flags) & LCD_FLAG_L) oldflags 3618 fs/cifs/connect.c unsigned int oldflags = old->mnt_cifs_flags & CIFS_MOUNT_MASK; oldflags 3627 fs/cifs/connect.c if (oldflags != newflags) oldflags 138 fs/efivarfs/file.c unsigned int oldflags = efivarfs_getflags(inode); oldflags 160 fs/efivarfs/file.c error = vfs_ioc_setflags_prepare(inode, oldflags, flags); oldflags 36 fs/ext2/ioctl.c unsigned int oldflags; oldflags 61 fs/ext2/ioctl.c oldflags = ei->i_flags; oldflags 63 fs/ext2/ioctl.c ret = vfs_ioc_setflags_prepare(inode, oldflags, flags); oldflags 70 fs/ext2/ioctl.c flags |= oldflags & ~EXT2_FL_USER_MODIFIABLE; oldflags 281 fs/ext4/ioctl.c unsigned int oldflags = ei->i_flags; oldflags 283 fs/ext4/ioctl.c if (!(oldflags & EXT4_IMMUTABLE_FL) || !(flags & EXT4_IMMUTABLE_FL)) oldflags 286 fs/ext4/ioctl.c if ((oldflags & ~EXT4_IMMUTABLE_FL) != (flags & ~EXT4_IMMUTABLE_FL)) oldflags 302 fs/ext4/ioctl.c unsigned int oldflags, mask, i; oldflags 310 fs/ext4/ioctl.c oldflags = ei->i_flags; oldflags 315 fs/ext4/ioctl.c err = vfs_ioc_setflags_prepare(inode, oldflags, flags); oldflags 323 fs/ext4/ioctl.c if ((jflag ^ oldflags) & (EXT4_JOURNAL_DATA_FL)) { oldflags 327 fs/ext4/ioctl.c if ((flags ^ oldflags) & EXT4_EXTENTS_FL) oldflags 332 fs/ext4/ioctl.c if (!(oldflags & EXT4_EOFBLOCKS_FL)) { oldflags 336 fs/ext4/ioctl.c } else if (oldflags & EXT4_EOFBLOCKS_FL) { oldflags 342 fs/ext4/ioctl.c if ((flags ^ oldflags) & EXT4_CASEFOLD_FL) { oldflags 405 fs/ext4/ioctl.c if ((jflag ^ oldflags) & (EXT4_JOURNAL_DATA_FL)) { oldflags 225 fs/gfs2/file.c u32 new_flags, flags, oldflags; oldflags 235 fs/gfs2/file.c oldflags = gfs2_gfsflags_to_fsflags(inode, ip->i_diskflags); oldflags 236 fs/gfs2/file.c error = vfs_ioc_setflags_prepare(inode, oldflags, fsflags); oldflags 87 fs/hfsplus/ioctl.c unsigned int oldflags = hfsplus_getflags(inode); oldflags 106 fs/hfsplus/ioctl.c err = vfs_ioc_setflags_prepare(inode, oldflags, flags); oldflags 2243 fs/inode.c int vfs_ioc_setflags_prepare(struct inode *inode, unsigned int oldflags, oldflags 2252 fs/inode.c if ((flags ^ oldflags) & (FS_APPEND_FL | FS_IMMUTABLE_FL) && oldflags 72 fs/jfs/ioctl.c unsigned int oldflags; oldflags 101 fs/jfs/ioctl.c oldflags = jfs_map_ext2(jfs_inode->mode2 & JFS_FL_USER_VISIBLE, oldflags 103 fs/jfs/ioctl.c err = vfs_ioc_setflags_prepare(inode, oldflags, flags); oldflags 132 fs/nilfs2/ioctl.c unsigned int flags, oldflags; oldflags 149 fs/nilfs2/ioctl.c oldflags = NILFS_I(inode)->i_flags; oldflags 151 fs/nilfs2/ioctl.c ret = vfs_ioc_setflags_prepare(inode, oldflags, flags); oldflags 159 fs/nilfs2/ioctl.c NILFS_I(inode)->i_flags = (oldflags & ~FS_FL_USER_MODIFIABLE) | oldflags 87 fs/ocfs2/ioctl.c unsigned oldflags; oldflags 105 fs/ocfs2/ioctl.c oldflags = ocfs2_inode->ip_attr; oldflags 107 fs/ocfs2/ioctl.c flags |= oldflags & ~mask; oldflags 109 fs/ocfs2/ioctl.c status = vfs_ioc_setflags_prepare(inode, oldflags, flags); oldflags 100 fs/ubifs/ioctl.c int oldflags, err, release; oldflags 111 fs/ubifs/ioctl.c oldflags = ubifs2ioctl(ui->flags); oldflags 112 fs/ubifs/ioctl.c err = vfs_ioc_setflags_prepare(inode, oldflags, flags); oldflags 3608 include/linux/fs.h int vfs_ioc_setflags_prepare(struct inode *inode, unsigned int oldflags, oldflags 377 mm/mprotect.c unsigned long oldflags = vma->vm_flags; oldflags 384 mm/mprotect.c if (newflags == oldflags) { oldflags 414 mm/mprotect.c may_expand_vm(mm, oldflags, nrpages)) oldflags 416 mm/mprotect.c if (!(oldflags & (VM_ACCOUNT|VM_WRITE|VM_HUGETLB| oldflags 468 mm/mprotect.c if ((oldflags & (VM_WRITE | VM_SHARED | VM_LOCKED)) == VM_LOCKED && oldflags 473 mm/mprotect.c vm_stat_account(mm, oldflags, -nrpages); oldflags 889 security/selinux/hooks.c char oldflags = old->flags & SE_MNTMASK; oldflags 892 security/selinux/hooks.c if (oldflags != newflags) oldflags 894 security/selinux/hooks.c if ((oldflags & FSCONTEXT_MNT) && old->sid != new->sid) oldflags 896 security/selinux/hooks.c if ((oldflags & CONTEXT_MNT) && old->mntpoint_sid != new->mntpoint_sid) oldflags 898 security/selinux/hooks.c if ((oldflags & DEFCONTEXT_MNT) && old->def_sid != new->def_sid) oldflags 900 security/selinux/hooks.c if (oldflags & ROOTCONTEXT_MNT) {