/openbmc/linux/drivers/auxdisplay/ |
H 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 …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | tlbflush.h | 297 static inline bool pte_flags_need_flush(unsigned long oldflags, in pte_flags_need_flush() argument 316 unsigned long diff = oldflags ^ newflags; in pte_flags_need_flush() 332 if (diff & oldflags & flush_on_clear) in pte_flags_need_flush()
|
/openbmc/linux/fs/ext4/ |
H A D | ioctl.c | 534 unsigned int oldflags = ei->i_flags; in ext4_ioctl_check_immutable() local 536 if (!(oldflags & EXT4_IMMUTABLE_FL) || !(flags & EXT4_IMMUTABLE_FL)) in ext4_ioctl_check_immutable() 539 if ((oldflags & ~EXT4_IMMUTABLE_FL) != (flags & ~EXT4_IMMUTABLE_FL)) in ext4_ioctl_check_immutable() 563 static bool dax_compatible(struct inode *inode, unsigned int oldflags, in dax_compatible() argument 569 oldflags &= ~EXT4_INLINE_DATA_FL; in dax_compatible() 573 if ((oldflags & EXT4_DAX_MUT_EXCL) || in dax_compatible() 580 if ((flags & EXT4_DAX_MUT_EXCL) && (oldflags & EXT4_DAX_FL)) in dax_compatible() 593 unsigned int oldflags, mask, i; in ext4_ioctl_setflags() local 600 oldflags = ei->i_flags; in ext4_ioctl_setflags() 605 if ((flags ^ oldflags) & (EXT4_JOURNAL_DATA_FL)) { in ext4_ioctl_setflags() [all …]
|
/openbmc/linux/mm/ |
H A D | mprotect.c | 580 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()
|
H A D | mlock.c | 420 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()
|
/openbmc/linux/fs/crypto/ |
H A D | hooks.c | 170 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()
|
/openbmc/linux/fs/ocfs2/ |
H 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()
|
/openbmc/qemu/nbd/ |
H A D | client.c | 1017 uint32_t oldflags; in nbd_negotiate_finish_oldstyle() local 1023 if (nbd_read32(ioc, &oldflags, "export flags", errp) < 0) { in nbd_negotiate_finish_oldstyle() 1026 if (oldflags & ~0xffff) { in nbd_negotiate_finish_oldstyle() 1027 error_setg(errp, "Unexpected export flags %0x" PRIx32, oldflags); in nbd_negotiate_finish_oldstyle() 1030 info->flags = oldflags; in nbd_negotiate_finish_oldstyle()
|
/openbmc/linux/fs/nilfs2/ |
H 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()
|
/openbmc/linux/include/linux/ |
H A D | fscrypt.h | 376 unsigned int oldflags, unsigned int flags); 716 unsigned int oldflags, in fscrypt_prepare_setflags() argument
|
/openbmc/qemu/hw/s390x/ |
H A D | css.c | 1452 uint16_t oldflags; in css_do_msch() local 1471 oldflags = schib->pmcw.flags; in css_do_msch() 1488 if (sch->disable_cb && (oldflags & PMCW_FLAGS_MASK_ENA) != 0 in css_do_msch()
|
/openbmc/linux/security/selinux/ |
H A D | hooks.c | 874 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()
|
/openbmc/qemu/target/i386/ |
H A D | ops_sse.h | 706 int oldflags, newflags; \ 709 oldflags = get_float_exception_flags(s); \ 716 set_float_exception_flags(newflags | oldflags, s); \
|
/openbmc/linux/fs/smb/client/ |
H A D | connect.c | 2839 unsigned int oldflags = old->mnt_cifs_flags & CIFS_MOUNT_MASK; in compare_mount_options() local 2848 if (oldflags != newflags) in compare_mount_options()
|