Home
last modified time | relevance | path

Searched refs:orig_flags (Results 1 – 20 of 20) sorted by relevance

/openbmc/linux/fs/ceph/
H A Dlocks.c229 unsigned int orig_flags = fl->fl_flags; in try_unlock_file() local
232 fl->fl_flags = orig_flags; in try_unlock_file()
234 if (!(orig_flags & FL_EXISTS)) in try_unlock_file()
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c487 u32 orig_flags, new_flags, changed_flags; in iavf_set_priv_flags() local
491 orig_flags = READ_ONCE(adapter->flags); in iavf_set_priv_flags()
492 new_flags = orig_flags; in iavf_set_priv_flags()
505 ((orig_flags ^ new_flags) & ~BIT(i))) in iavf_set_priv_flags()
520 if (cmpxchg(&adapter->flags, orig_flags, new_flags) != orig_flags) { in iavf_set_priv_flags()
526 changed_flags = orig_flags ^ new_flags; in iavf_set_priv_flags()
/openbmc/linux/arch/x86/kernel/
H A Dvm86_32.c553 unsigned short ip, sp, orig_flags; in handle_vm86_fault() local
561 orig_flags = *(unsigned short *)&regs->pt.flags; in handle_vm86_fault()
699 if (orig_flags & X86_EFLAGS_TF) in handle_vm86_fault()
/openbmc/qemu/hw/net/
H A Dnet_tx_pkt.c701 uint16_t orig_flags; in net_tx_pkt_udp_fragment_fix() local
710 orig_flags = be16_to_cpu(ip->ip_off) & ~(IP_OFFMASK | IP_MF); in net_tx_pkt_udp_fragment_fix()
711 new_ip_off = frag_off_units | orig_flags | (more_frags ? IP_MF : 0); in net_tx_pkt_udp_fragment_fix()
/openbmc/linux/fs/btrfs/
H A Dblock-group.h337 u64 btrfs_get_alloc_profile(struct btrfs_fs_info *fs_info, u64 orig_flags);
H A Dblock-group.c121 u64 btrfs_get_alloc_profile(struct btrfs_fs_info *fs_info, u64 orig_flags) in btrfs_get_alloc_profile() argument
127 flags = orig_flags; in btrfs_get_alloc_profile()
/openbmc/linux/tools/perf/
H A Dbuiltin-kmem.c691 char *orig_flags = strdup(gfp_flags); in compact_gfp_flags() local
696 if (orig_flags == NULL) in compact_gfp_flags()
699 str = strtok_r(orig_flags, "|", &pos); in compact_gfp_flags()
713 free(orig_flags); in compact_gfp_flags()
736 free(orig_flags); in compact_gfp_flags()
/openbmc/linux/net/wireless/
H A Dreg.c1785 chan->flags = chan->orig_flags = in handle_channel_single_rule()
1868 chan->orig_flags = chan->flags; in handle_channel_adjacent_rules()
1958 u32 flags = chan->orig_flags; in handle_channel()
2017 chan->orig_flags |= IEEE80211_CHAN_DISABLED; in handle_channel()
2018 chan->flags = chan->orig_flags; in handle_channel()
2549 chan->orig_flags |= IEEE80211_CHAN_DISABLED; in handle_channel_custom()
2550 chan->flags = chan->orig_flags; in handle_channel_custom()
2564 chan->flags = chan->orig_flags | bw_flags | in handle_channel_custom()
3445 chan->flags = chan->orig_flags; in restore_custom_reg_settings()
H A Dcore.c871 sband->channels[i].orig_flags = in wiphy_register()
/openbmc/linux/kernel/bpf/
H A Dtrampoline.c397 u32 orig_flags = tr->flags; in bpf_trampoline_update() local
482 tr->flags = orig_flags; in bpf_trampoline_update()
/openbmc/linux/net/netfilter/
H A Dnf_conntrack_netlink.c879 u_int32_t orig_flags; member
907 filter->orig_flags = nla_get_u32(tb[CTA_FILTER_ORIG_FLAGS]); in ctnetlink_parse_filter()
908 if (filter->orig_flags & ~CTA_FILTER_F_ALL) in ctnetlink_parse_filter()
1005 if (filter->orig_flags) { in ctnetlink_alloc_filter()
1015 filter->orig_flags); in ctnetlink_alloc_filter()
1150 if (filter->orig_flags) { in ctnetlink_filter_match()
1153 filter->orig_flags, in ctnetlink_filter_match()
/openbmc/linux/fs/ocfs2/dlm/
H A Ddlmrecovery.c1104 u8 orig_flags = mres->flags, in dlm_send_mig_lockres_msg() local
1112 orig_flags = mres->flags; in dlm_send_mig_lockres_msg()
1119 orig_flags & DLM_MRES_MIGRATION ? "migration" : "recovery", in dlm_send_mig_lockres_msg()
1132 (orig_flags & DLM_MRES_MIGRATION ? in dlm_send_mig_lockres_msg()
1151 mig_cookie, orig_flags, orig_master); in dlm_send_mig_lockres_msg()
/openbmc/linux/include/linux/
H A Dsched.h1850 current_restore_flags(unsigned long orig_flags, unsigned long flags) in TASK_PFA_TEST()
1853 current->flags |= orig_flags & flags; in TASK_PFA_TEST()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c5246 u64 orig_flags, new_flags, changed_flags; in i40e_set_priv_flags() local
5254 orig_flags = READ_ONCE(pf->flags); in i40e_set_priv_flags()
5255 new_flags = orig_flags; in i40e_set_priv_flags()
5269 ((orig_flags ^ new_flags) & ~BIT(i))) in i40e_set_priv_flags()
5288 ((orig_flags ^ new_flags) & ~BIT(i))) in i40e_set_priv_flags()
5293 changed_flags = orig_flags ^ new_flags; in i40e_set_priv_flags()
5393 (orig_flags & I40E_FLAG_TOTAL_PORT_SHUTDOWN_ENABLED)) { in i40e_set_priv_flags()
/openbmc/linux/drivers/net/ethernet/rocker/
H A Drocker_ofdpa.c2495 unsigned long orig_flags; in ofdpa_port_attr_bridge_flags_set() local
2498 orig_flags = ofdpa_port->brport_flags; in ofdpa_port_attr_bridge_flags_set()
2501 if ((orig_flags ^ ofdpa_port->brport_flags) & BR_LEARNING) in ofdpa_port_attr_bridge_flags_set()
/openbmc/linux/drivers/block/
H A Dloop.c1937 int orig_flags = current->flags; in loop_process_work() local
1965 current->flags = orig_flags; in loop_process_work()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c1337 DECLARE_BITMAP(orig_flags, ICE_PF_FLAGS_NBITS); in ice_set_priv_flags()
1350 bitmap_copy(orig_flags, pf->flags, ICE_PF_FLAGS_NBITS); in ice_set_priv_flags()
1362 bitmap_xor(change_flags, pf->flags, orig_flags, ICE_PF_FLAGS_NBITS); in ice_set_priv_flags()
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_bmap.c4340 int orig_flags; /* original flags arg value */ in xfs_bmapi_write() local
4347 orig_flags = flags; in xfs_bmapi_write()
4490 xfs_bmap_validate_ret(orig_bno, orig_len, orig_flags, orig_mval, in xfs_bmapi_write()
/openbmc/linux/include/net/
H A Dcfg80211.h185 u32 orig_flags; member
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcfg80211.c7011 if (channel->orig_flags & IEEE80211_CHAN_DISABLED) in brcmf_construct_chaninfo()