Home
last modified time | relevance | path

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

/openbmc/linux/drivers/auxdisplay/
H A 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 …]
/openbmc/linux/arch/x86/include/asm/
H A 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()
/openbmc/linux/fs/ext4/
H A Dioctl.c525 unsigned int oldflags = ei->i_flags; in ext4_ioctl_check_immutable() local
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()
601 if (!dax_compatible(inode, oldflags, flags)) { in ext4_ioctl_setflags()
606 if ((flags ^ oldflags) & EXT4_EXTENTS_FL) in ext4_ioctl_setflags()
609 if ((flags ^ oldflags) & EXT4_CASEFOLD_FL) { in ext4_ioctl_setflags()
[all …]
/openbmc/linux/mm/
H A 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()
H A 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()
/openbmc/linux/fs/crypto/
H A 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()
/openbmc/linux/fs/ocfs2/
H A 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()
/openbmc/qemu/nbd/
H A Dclient.c997 uint32_t oldflags; in nbd_negotiate_finish_oldstyle() local
1003 if (nbd_read32(ioc, &oldflags, "export flags", errp) < 0) { in nbd_negotiate_finish_oldstyle()
1006 if (oldflags & ~0xffff) { in nbd_negotiate_finish_oldstyle()
1007 error_setg(errp, "Unexpected export flags %0x" PRIx32, oldflags); in nbd_negotiate_finish_oldstyle()
1010 info->flags = oldflags; in nbd_negotiate_finish_oldstyle()
/openbmc/linux/fs/nilfs2/
H A 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()
/openbmc/linux/include/linux/
H A Dfscrypt.h376 unsigned int oldflags, unsigned int flags);
716 unsigned int oldflags, in fscrypt_prepare_setflags() argument
/openbmc/qemu/hw/s390x/
H A Dcss.c1448 uint16_t oldflags; in css_do_msch() local
1467 oldflags = schib->pmcw.flags; in css_do_msch()
1484 if (sch->disable_cb && (oldflags & PMCW_FLAGS_MASK_ENA) != 0 in css_do_msch()
/openbmc/linux/security/selinux/
H A 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()
/openbmc/qemu/target/i386/
H A Dops_sse.h706 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 Dconnect.c2769 unsigned int oldflags = old->mnt_cifs_flags & CIFS_MOUNT_MASK; in compare_mount_options() local
2778 if (oldflags != newflags) in compare_mount_options()