Home
last modified time | relevance | path

Searched refs:old_flags (Results 1 – 25 of 37) sorted by relevance

12

/Linux-v4.19/mm/
Dmmzone.c102 unsigned long old_flags, flags; in page_cpupid_xchg_last() local
106 old_flags = flags = page->flags; in page_cpupid_xchg_last()
111 } while (unlikely(cmpxchg(&page->flags, old_flags, flags) != old_flags)); in page_cpupid_xchg_last()
Dmlock.c527 vm_flags_t old_flags = vma->vm_flags; in mlock_fixup() local
563 else if (old_flags & VM_LOCKED) in mlock_fixup()
/Linux-v4.19/drivers/pcmcia/
Dxxs1500_ss.c63 unsigned int old_flags; member
96 changed = state->flags ^ sock->old_flags; in xxs1500_pcmcia_configure()
109 sock->old_flags = state->flags; in xxs1500_pcmcia_configure()
Ddb1xxx_ss.c52 unsigned int old_flags; member
292 changed = state->flags ^ sock->old_flags; in db1x_pcmcia_configure()
310 sock->old_flags = state->flags; in db1x_pcmcia_configure()
/Linux-v4.19/arch/x86/mm/
Dpat.c120 unsigned long old_flags; in set_page_memtype() local
140 old_flags = pg->flags; in set_page_memtype()
141 new_flags = (old_flags & _PGMT_CLEAR_MASK) | memtype_flags; in set_page_memtype()
142 } while (cmpxchg(&pg->flags, old_flags, new_flags) != old_flags); in set_page_memtype()
/Linux-v4.19/kernel/trace/
Dtrace_nop.c64 static int nop_set_flag(struct trace_array *tr, u32 old_flags, u32 bit, int set) in nop_set_flag() argument
Dtrace_events_filter.c999 unsigned long old_flags = file->flags; in filter_disable() local
1003 if (old_flags != file->flags) in filter_disable()
1516 unsigned long old_flags = file->flags; in event_set_filtered_flag() local
1520 if (old_flags != file->flags) in event_set_filtered_flag()
Dtrace_functions.c236 func_set_flag(struct trace_array *tr, u32 old_flags, u32 bit, int set) in func_set_flag() argument
/Linux-v4.19/arch/x86/include/asm/
Dkprobes.h105 unsigned long old_flags; member
/Linux-v4.19/net/netfilter/
Dnfnetlink_acct.c141 u32 old_flags; in nfnl_acct_fill_info() local
156 old_flags = acct->flags; in nfnl_acct_fill_info()
176 if (nla_put_be32(skb, NFACCT_FLAGS, htonl(old_flags)) || in nfnl_acct_fill_info()
/Linux-v4.19/net/8021q/
Dvlan_dev.c224 u32 old_flags = vlan->flags; in vlan_dev_change_flags() local
230 vlan->flags = (old_flags & ~mask) | (flags & mask); in vlan_dev_change_flags()
232 if (netif_running(dev) && (vlan->flags ^ old_flags) & VLAN_FLAG_GVRP) { in vlan_dev_change_flags()
239 if (netif_running(dev) && (vlan->flags ^ old_flags) & VLAN_FLAG_MVRP) { in vlan_dev_change_flags()
/Linux-v4.19/kernel/
Dsoftirq.c252 unsigned long old_flags = current->flags; in __do_softirq() local
320 current_restore_flags(old_flags, PF_MEMALLOC); in __do_softirq()
/Linux-v4.19/net/batman-adv/
Dmulticast.c514 u8 old_flags = bat_priv->mcast.flags; in batadv_mcast_flags_log() local
518 (old_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) ? 'U' : '.', in batadv_mcast_flags_log()
519 (old_flags & BATADV_MCAST_WANT_ALL_IPV4) ? '4' : '.', in batadv_mcast_flags_log()
520 (old_flags & BATADV_MCAST_WANT_ALL_IPV6) ? '6' : '.'); in batadv_mcast_flags_log()
/Linux-v4.19/fs/
Dinode.c2096 unsigned int old_flags, new_flags; in inode_set_flags() local
2100 old_flags = READ_ONCE(inode->i_flags); in inode_set_flags()
2101 new_flags = (old_flags & ~mask) | flags; in inode_set_flags()
2102 } while (unlikely(cmpxchg(&inode->i_flags, old_flags, in inode_set_flags()
2103 new_flags) != old_flags)); in inode_set_flags()
/Linux-v4.19/net/core/
Ddev.c7238 unsigned int old_flags = dev->flags; in __dev_set_promiscuity() local
7260 if (dev->flags != old_flags) { in __dev_set_promiscuity()
7270 (old_flags & IFF_PROMISC), in __dev_set_promiscuity()
7280 __dev_notify_flags(dev, old_flags, IFF_PROMISC); in __dev_set_promiscuity()
7297 unsigned int old_flags = dev->flags; in dev_set_promiscuity() local
7303 if (dev->flags != old_flags) in dev_set_promiscuity()
7311 unsigned int old_flags = dev->flags, old_gflags = dev->gflags; in __dev_set_allmulti() local
7331 if (dev->flags ^ old_flags) { in __dev_set_allmulti()
7335 __dev_notify_flags(dev, old_flags, in __dev_set_allmulti()
7434 unsigned int old_flags = dev->flags; in __dev_change_flags() local
[all …]
/Linux-v4.19/arch/x86/kernel/kprobes/
Dcore.c523 kcb->prev_kprobe.old_flags = kcb->kprobe_old_flags; in save_previous_kprobe()
532 kcb->kprobe_old_flags = kcb->prev_kprobe.old_flags; in restore_previous_kprobe()
/Linux-v4.19/net/sched/
Dsch_hfsc.c962 int old_flags; in hfsc_change_class() local
984 old_flags = cl->cl_flags; in hfsc_change_class()
997 if (old_flags & HFSC_RSC) in hfsc_change_class()
1004 if (old_flags & HFSC_FSC) in hfsc_change_class()
/Linux-v4.19/drivers/staging/dgnc/
Ddgnc_tty.c1005 uint old_flags = 0; in dgnc_block_til_ready() local
1072 old_flags = ch->ch_tun.un_flags | ch->ch_pun.un_flags; in dgnc_block_til_ready()
1074 old_flags = ch->ch_flags; in dgnc_block_til_ready()
1091 (old_flags != (ch->ch_tun.un_flags | in dgnc_block_til_ready()
1096 (old_flags != ch->ch_flags)); in dgnc_block_til_ready()
/Linux-v4.19/net/wireless/
Dlib80211_crypt_tkip.c81 unsigned long old_flags = _priv->flags; in lib80211_tkip_set_flags() local
83 return old_flags; in lib80211_tkip_set_flags()
/Linux-v4.19/drivers/staging/unisys/visornic/
Dvisornic_main.c140 unsigned short old_flags; member
1051 if (devdata->old_flags == netdev->flags) in visornic_set_multi()
1055 (devdata->old_flags & IFF_PROMISC)) in visornic_set_multi()
1074 devdata->old_flags = netdev->flags; in visornic_set_multi()
/Linux-v4.19/net/bridge/
Dbr_vlan.c61 u16 old_flags = v->flags; in __vlan_add_flags() local
79 return ret || !!(old_flags ^ v->flags); in __vlan_add_flags()
/Linux-v4.19/drivers/tty/serial/
Dserial_core.c802 upf_t old_flags, new_flags; in uart_set_info() local
835 old_flags = uport->flags; in uart_set_info()
847 (((new_flags ^ old_flags) & ~UPF_USR_MASK) != 0)) in uart_set_info()
968 if (((old_flags ^ uport->flags) & UPF_SPD_MASK) || in uart_set_info()
/Linux-v4.19/drivers/pci/
Dsetup-bus.c1526 unsigned old_flags = 0; in pci_bridge_release_resources() local
1568 type = old_flags = r->flags & PCI_RES_TYPE_MASK; in pci_bridge_release_resources()
1581 r->flags = old_flags; in pci_bridge_release_resources()
/Linux-v4.19/fs/btrfs/
Dsuper.c1770 unsigned old_flags = sb->s_flags; in btrfs_remount() local
1906 old_flags |= SB_RDONLY; in btrfs_remount()
1907 sb->s_flags = old_flags; in btrfs_remount()
Dioctl.c192 u64 old_flags; in btrfs_ioctl_setflags() local
215 old_flags = binode->flags; in btrfs_ioctl_setflags()
326 binode->flags = old_flags; in btrfs_ioctl_setflags()
393 unsigned old_flags; in btrfs_ioctl_fssetxattr() local
420 old_flags = binode->flags; in btrfs_ioctl_fssetxattr()
424 if (((old_flags & (BTRFS_INODE_APPEND | BTRFS_INODE_IMMUTABLE)) || in btrfs_ioctl_fssetxattr()
468 binode->flags = old_flags; in btrfs_ioctl_fssetxattr()

12