/linux-6.12.1/tools/testing/selftests/mount_setattr/ |
D | mount_setattr_test.c | 474 unsigned int old_flags = 0, new_flags = 0, expected_flags = 0; in TEST_F() local 486 old_flags = read_mnt_flags("/mnt/A"); in TEST_F() 487 ASSERT_GT(old_flags, 0); in TEST_F() 520 expected_flags = old_flags; in TEST_F() 538 unsigned int old_flags = 0, new_flags = 0, expected_flags = 0; in TEST_F() local 547 old_flags = read_mnt_flags("/mnt/A"); in TEST_F() 548 ASSERT_GT(old_flags, 0); in TEST_F() 552 expected_flags = old_flags; in TEST_F() 562 ASSERT_EQ(new_flags, old_flags); in TEST_F() 565 ASSERT_EQ(new_flags, old_flags); in TEST_F() [all …]
|
/linux-6.12.1/mm/ |
D | mmzone.c | 99 unsigned long old_flags, flags; in folio_xchg_last_cpupid() local 102 old_flags = READ_ONCE(folio->flags); in folio_xchg_last_cpupid() 104 flags = old_flags; in folio_xchg_last_cpupid() 109 } while (unlikely(!try_cmpxchg(&folio->flags, &old_flags, flags))); in folio_xchg_last_cpupid()
|
D | swap.c | 415 unsigned long new_flags, old_flags = READ_ONCE(folio->flags); in folio_inc_refs() local 432 new_flags = old_flags & LRU_REFS_MASK; in folio_inc_refs() 437 new_flags |= old_flags & ~LRU_REFS_MASK; in folio_inc_refs() 438 } while (!try_cmpxchg(&folio->flags, &old_flags, new_flags)); in folio_inc_refs()
|
D | vmscan.c | 3138 unsigned long new_flags, old_flags = READ_ONCE(folio->flags); in folio_update_gen() local 3145 if (!(old_flags & LRU_GEN_MASK)) { in folio_update_gen() 3147 new_flags = old_flags | BIT(PG_referenced); in folio_update_gen() 3151 new_flags = old_flags & ~(LRU_GEN_MASK | LRU_REFS_MASK | LRU_REFS_FLAGS); in folio_update_gen() 3153 } while (!try_cmpxchg(&folio->flags, &old_flags, new_flags)); in folio_update_gen() 3155 return ((old_flags & LRU_GEN_MASK) >> LRU_GEN_PGOFF) - 1; in folio_update_gen() 3164 unsigned long new_flags, old_flags = READ_ONCE(folio->flags); in folio_inc_gen() local 3166 VM_WARN_ON_ONCE_FOLIO(!(old_flags & LRU_GEN_MASK), folio); in folio_inc_gen() 3169 new_gen = ((old_flags & LRU_GEN_MASK) >> LRU_GEN_PGOFF) - 1; in folio_inc_gen() 3176 new_flags = old_flags & ~(LRU_GEN_MASK | LRU_REFS_MASK | LRU_REFS_FLAGS); in folio_inc_gen() [all …]
|
/linux-6.12.1/net/batman-adv/ |
D | multicast.c | 810 struct batadv_mcast_mla_flags *old_flags = &bat_priv->mcast.mla_flags; in batadv_mcast_bridge_log() local 812 if (!old_flags->bridged && new_flags->bridged) in batadv_mcast_bridge_log() 815 else if (old_flags->bridged && !new_flags->bridged) in batadv_mcast_bridge_log() 821 &old_flags->querier_ipv4, in batadv_mcast_bridge_log() 824 &old_flags->querier_ipv6, in batadv_mcast_bridge_log() 840 u8 old_flags = bat_priv->mcast.mla_flags.tvlv_flags; in batadv_mcast_flags_log() local 844 (old_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) ? 'U' : '.', in batadv_mcast_flags_log() 845 (old_flags & BATADV_MCAST_WANT_ALL_IPV4) ? '4' : '.', in batadv_mcast_flags_log() 846 (old_flags & BATADV_MCAST_WANT_ALL_IPV6) ? '6' : '.', in batadv_mcast_flags_log() 847 !(old_flags & BATADV_MCAST_WANT_NO_RTR4) ? "R4" : ". ", in batadv_mcast_flags_log() [all …]
|
/linux-6.12.1/drivers/pcmcia/ |
D | xxs1500_ss.c | 64 unsigned int old_flags; member 97 changed = state->flags ^ sock->old_flags; in xxs1500_pcmcia_configure() 110 sock->old_flags = state->flags; in xxs1500_pcmcia_configure()
|
D | db1xxx_ss.c | 53 unsigned int old_flags; member 297 changed = state->flags ^ sock->old_flags; in db1x_pcmcia_configure() 315 sock->old_flags = state->flags; in db1x_pcmcia_configure()
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | test_maps.c | 330 int i, first, second, old_flags; in test_hashmap_zero_seed() local 333 old_flags = map_opts.map_flags; in test_hashmap_zero_seed() 356 map_opts.map_flags = old_flags; in test_hashmap_zero_seed() 1537 __u32 old_flags; in test_map_rdonly() local 1539 old_flags = map_opts.map_flags; in test_map_rdonly() 1543 map_opts.map_flags = old_flags; in test_map_rdonly() 1566 __u32 old_flags; in test_map_wronly_hash() local 1568 old_flags = map_opts.map_flags; in test_map_wronly_hash() 1572 map_opts.map_flags = old_flags; in test_map_wronly_hash() 1594 __u32 old_flags; in test_map_wronly_stack_or_queue() local [all …]
|
/linux-6.12.1/drivers/input/serio/ |
D | libps2.c | 571 unsigned long old_flags = ps2dev->flags; in ps2_cleanup() local 576 if (old_flags & PS2_FLAG_ACK) in ps2_cleanup() 579 if (old_flags & (PS2_FLAG_ACK | PS2_FLAG_CMD)) in ps2_cleanup()
|
/linux-6.12.1/kernel/trace/ |
D | trace_nop.c | 64 static int nop_set_flag(struct trace_array *tr, u32 old_flags, u32 bit, int set) in nop_set_flag() argument
|
D | trace_events_filter.c | 1297 unsigned long old_flags = file->flags; in filter_disable() local 1301 if (old_flags != file->flags) in filter_disable() 2115 unsigned long old_flags = file->flags; in event_set_filtered_flag() local 2119 if (old_flags != file->flags) in event_set_filtered_flag()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | kprobes.h | 103 unsigned long old_flags; member
|
/linux-6.12.1/net/netfilter/ |
D | nfnetlink_acct.c | 148 u32 old_flags; in nfnl_acct_fill_info() local 159 old_flags = acct->flags; in nfnl_acct_fill_info() 179 if (nla_put_be32(skb, NFACCT_FLAGS, htonl(old_flags)) || in nfnl_acct_fill_info()
|
/linux-6.12.1/arch/x86/mm/pat/ |
D | memtype.c | 144 unsigned long old_flags; in set_page_memtype() local 163 old_flags = READ_ONCE(pg->flags); in set_page_memtype() 165 new_flags = (old_flags & _PGMT_CLEAR_MASK) | memtype_flags; in set_page_memtype() 166 } while (!try_cmpxchg(&pg->flags, &old_flags, new_flags)); in set_page_memtype()
|
/linux-6.12.1/arch/loongarch/kvm/ |
D | mmu.c | 448 u32 old_flags = old ? old->flags : 0; in kvm_arch_commit_memory_region() local 457 if ((old_flags & new_flags) & KVM_MEM_READONLY) in kvm_arch_commit_memory_region() 469 if (!(old_flags & KVM_MEM_LOG_DIRTY_PAGES) && log_dirty_pages) { in kvm_arch_commit_memory_region()
|
/linux-6.12.1/net/core/ |
D | dev.h | 95 void __dev_notify_flags(struct net_device *dev, unsigned int old_flags,
|
D | dev.c | 8610 unsigned int old_flags = dev->flags; in __dev_set_promiscuity() local 8627 flags = old_flags & ~IFF_PROMISC; in __dev_set_promiscuity() 8629 flags = old_flags | IFF_PROMISC; in __dev_set_promiscuity() 8632 if (flags != old_flags) { in __dev_set_promiscuity() 8642 (old_flags & IFF_PROMISC), in __dev_set_promiscuity() 8652 __dev_notify_flags(dev, old_flags, IFF_PROMISC, 0, NULL); in __dev_set_promiscuity() 8669 unsigned int old_flags = dev->flags; in dev_set_promiscuity() local 8675 if (dev->flags != old_flags) in dev_set_promiscuity() 8683 unsigned int old_flags = dev->flags, old_gflags = dev->gflags; in __dev_set_allmulti() local 8698 flags = old_flags & ~IFF_ALLMULTI; in __dev_set_allmulti() [all …]
|
/linux-6.12.1/net/bridge/ |
D | br_netlink.c | 946 unsigned long old_flags, changed_mask; in br_setport() local 950 old_flags = p->flags; in br_setport() 951 br_vlan_tunnel_old = (old_flags & BR_VLAN_TUNNEL) ? true : false; in br_setport() 977 p->flags = old_flags; in br_setport() 979 } else if (!(p->flags & BR_PORT_MAB) && (old_flags & BR_PORT_MAB)) { in br_setport() 989 changed_mask = old_flags ^ p->flags; in br_setport() 993 p->flags = old_flags; in br_setport()
|
/linux-6.12.1/net/8021q/ |
D | vlan_dev.c | 218 u32 old_flags = vlan->flags; in vlan_dev_change_flags() local 225 vlan->flags = (old_flags & ~mask) | (flags & mask); in vlan_dev_change_flags() 227 if (netif_running(dev) && (vlan->flags ^ old_flags) & VLAN_FLAG_GVRP) { in vlan_dev_change_flags() 234 if (netif_running(dev) && (vlan->flags ^ old_flags) & VLAN_FLAG_MVRP) { in vlan_dev_change_flags()
|
/linux-6.12.1/kernel/ |
D | softirq.c | 514 unsigned long old_flags = current->flags; in handle_softirqs() local 583 current_restore_flags(old_flags, PF_MEMALLOC); in handle_softirqs()
|
/linux-6.12.1/net/sched/ |
D | sch_hfsc.c | 960 int old_flags; in hfsc_change_class() local 982 old_flags = cl->cl_flags; in hfsc_change_class() 995 if (old_flags & HFSC_RSC) in hfsc_change_class() 1002 if (old_flags & HFSC_FSC) in hfsc_change_class()
|
/linux-6.12.1/fs/nfs/ |
D | localio.c | 538 unsigned long old_flags = current->flags; in nfs_local_call_write() local 558 current->flags = old_flags; in nfs_local_call_write()
|
/linux-6.12.1/net/wireless/ |
D | lib80211_crypt_tkip.c | 79 unsigned long old_flags = _priv->flags; in lib80211_tkip_set_flags() local 81 return old_flags; in lib80211_tkip_set_flags()
|
/linux-6.12.1/arch/x86/kernel/kprobes/ |
D | core.c | 849 kcb->prev_kprobe.old_flags = kcb->kprobe_old_flags; in save_previous_kprobe() 858 kcb->kprobe_old_flags = kcb->prev_kprobe.old_flags; in restore_previous_kprobe()
|
/linux-6.12.1/drivers/pci/ |
D | setup-bus.c | 1606 unsigned int old_flags; in pci_bridge_release_resources() local 1643 type = old_flags = r->flags & PCI_RES_TYPE_MASK; in pci_bridge_release_resources() 1656 r->flags = old_flags; in pci_bridge_release_resources()
|