/openbmc/linux/tools/testing/selftests/mount_setattr/ |
H A 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 …]
|
/openbmc/qemu/target/i386/tcg/ |
H A D | fpu_helper.c | 180 uint8_t old_flags = get_float_exception_flags(&env->fp_status); in save_exception_flags() local 182 return old_flags; in save_exception_flags() 185 static void merge_exception_flags(CPUX86State *env, uint8_t old_flags) in merge_exception_flags() argument 188 float_raise(old_flags, &env->fp_status); in merge_exception_flags() 200 uint8_t old_flags = save_exception_flags(env); in helper_fdiv() local 202 merge_exception_flags(env, old_flags); in helper_fdiv() 220 uint8_t old_flags = save_exception_flags(env); in helper_flds_FT0() local 228 merge_exception_flags(env, old_flags); in helper_flds_FT0() 233 uint8_t old_flags = save_exception_flags(env); in helper_fldl_FT0() local 241 merge_exception_flags(env, old_flags); in helper_fldl_FT0() [all …]
|
/openbmc/linux/mm/ |
H A D | mmzone.c | 98 unsigned long old_flags, flags; in page_cpupid_xchg_last() local 101 old_flags = READ_ONCE(page->flags); in page_cpupid_xchg_last() 103 flags = old_flags; in page_cpupid_xchg_last() 108 } while (unlikely(!try_cmpxchg(&page->flags, &old_flags, flags))); in page_cpupid_xchg_last()
|
H A D | swap.c | 409 unsigned long new_flags, old_flags = READ_ONCE(folio->flags); in folio_inc_refs() local 426 new_flags = old_flags & LRU_REFS_MASK; in folio_inc_refs() 431 new_flags |= old_flags & ~LRU_REFS_MASK; in folio_inc_refs() 432 } while (!try_cmpxchg(&folio->flags, &old_flags, new_flags)); in folio_inc_refs()
|
/openbmc/linux/drivers/pcmcia/ |
H A 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()
|
H A 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()
|
/openbmc/qemu/util/ |
H A D | fdmon-io_uring.c | 104 unsigned old_flags; in enqueue() local 106 old_flags = qatomic_fetch_or(&node->flags, FDMON_IO_URING_PENDING | flags); in enqueue() 107 if (!(old_flags & FDMON_IO_URING_PENDING)) { in enqueue()
|
H A D | async.c | 76 unsigned old_flags; in aio_bh_enqueue() local 82 old_flags = qatomic_fetch_or(&bh->flags, BH_PENDING | new_flags); in aio_bh_enqueue() 84 if (!(old_flags & BH_PENDING)) { in aio_bh_enqueue()
|
/openbmc/linux/net/batman-adv/ |
H A D | multicast.c | 778 struct batadv_mcast_mla_flags *old_flags = &bat_priv->mcast.mla_flags; in batadv_mcast_bridge_log() local 780 if (!old_flags->bridged && new_flags->bridged) in batadv_mcast_bridge_log() 783 else if (old_flags->bridged && !new_flags->bridged) in batadv_mcast_bridge_log() 789 &old_flags->querier_ipv4, in batadv_mcast_bridge_log() 792 &old_flags->querier_ipv6, in batadv_mcast_bridge_log() 808 u8 old_flags = bat_priv->mcast.mla_flags.tvlv_flags; in batadv_mcast_flags_log() local 812 (old_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) ? 'U' : '.', in batadv_mcast_flags_log() 813 (old_flags & BATADV_MCAST_WANT_ALL_IPV4) ? '4' : '.', in batadv_mcast_flags_log() 814 (old_flags & BATADV_MCAST_WANT_ALL_IPV6) ? '6' : '.', in batadv_mcast_flags_log() 815 !(old_flags & BATADV_MCAST_WANT_NO_RTR4) ? "R4" : ". ", in batadv_mcast_flags_log() [all …]
|
/openbmc/qemu/target/arm/ |
H A D | vfp_helper.c | 1061 int old_flags = get_float_exception_flags(fp_status), new_flags; in HELPER() local 1067 if (!(old_flags & float_flag_inexact)) { in HELPER() 1077 int old_flags = get_float_exception_flags(fp_status), new_flags; in HELPER() local 1083 if (!(old_flags & float_flag_inexact)) { in HELPER() 1093 int old_flags = get_float_exception_flags(fp_status), new_flags; in HELPER() local 1101 if (!(old_flags & float_flag_inexact)) { in HELPER() 1162 int old_flags = get_float_exception_flags(fpst); in frint_s() local 1193 set_float_exception_flags(old_flags | float_flag_invalid, fpst); in frint_s() 1210 int old_flags = get_float_exception_flags(fpst); in frint_d() local 1241 set_float_exception_flags(old_flags | float_flag_invalid, fpst); in frint_d()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A 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() 1530 __u32 old_flags; in test_map_rdonly() local 1532 old_flags = map_opts.map_flags; in test_map_rdonly() 1536 map_opts.map_flags = old_flags; in test_map_rdonly() 1559 __u32 old_flags; in test_map_wronly_hash() local 1561 old_flags = map_opts.map_flags; in test_map_wronly_hash() 1565 map_opts.map_flags = old_flags; in test_map_wronly_hash() 1587 __u32 old_flags; in test_map_wronly_stack_or_queue() local [all …]
|
/openbmc/linux/drivers/input/serio/ |
H A 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()
|
/openbmc/linux/kernel/trace/ |
H A 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
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | kprobes.h | 103 unsigned long old_flags; member
|
/openbmc/linux/net/netfilter/ |
H A 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()
|
/openbmc/linux/arch/x86/mm/pat/ |
H A D | memtype.c | 143 unsigned long old_flags; in set_page_memtype() local 162 old_flags = READ_ONCE(pg->flags); in set_page_memtype() 164 new_flags = (old_flags & _PGMT_CLEAR_MASK) | memtype_flags; in set_page_memtype() 165 } while (!try_cmpxchg(&pg->flags, &old_flags, new_flags)); in set_page_memtype()
|
/openbmc/qemu/include/sysemu/ |
H A D | kvm_int.h | 28 int old_flags; member
|
/openbmc/linux/net/core/ |
H A D | dev.h | 98 void __dev_notify_flags(struct net_device *dev, unsigned int old_flags,
|
/openbmc/qemu/target/i386/ |
H A D | ops_sse.h | 845 uint8_t old_flags = get_float_exception_flags(&env->sse_status); in glue() local 852 set_float_exception_flags(old_flags, &env->sse_status); in glue() 858 uint8_t old_flags = get_float_exception_flags(&env->sse_status); in helper_rsqrtss() local 863 set_float_exception_flags(old_flags, &env->sse_status); in helper_rsqrtss() 872 uint8_t old_flags = get_float_exception_flags(&env->sse_status); in glue() local 877 set_float_exception_flags(old_flags, &env->sse_status); in glue() 883 uint8_t old_flags = get_float_exception_flags(&env->sse_status); in helper_rcpss() local 889 set_float_exception_flags(old_flags, &env->sse_status); in helper_rcpss() 1717 uint8_t old_flags = get_float_exception_flags(&env->sse_status); in glue() local 1730 if (mode & (1 << 3) && !(old_flags & float_flag_inexact)) { in glue() [all …]
|
/openbmc/linux/net/bridge/ |
H A 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()
|
/openbmc/linux/net/8021q/ |
H A 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()
|
/openbmc/linux/kernel/ |
H A D | softirq.c | 520 unsigned long old_flags = current->flags; in handle_softirqs() local 589 current_restore_flags(old_flags, PF_MEMALLOC); in handle_softirqs()
|
/openbmc/linux/net/sched/ |
H A 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()
|
/openbmc/linux/net/wireless/ |
H A 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()
|
/openbmc/linux/arch/x86/kernel/kprobes/ |
H A D | core.c | 811 kcb->prev_kprobe.old_flags = kcb->kprobe_old_flags; in save_previous_kprobe() 820 kcb->kprobe_old_flags = kcb->prev_kprobe.old_flags; in restore_previous_kprobe()
|