Home
last modified time | relevance | path

Searched refs:orig_flags (Results 1 - 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c475 u32 orig_flags, new_flags, changed_flags; in iavf_set_priv_flags() local
478 orig_flags = READ_ONCE(adapter->flags); in iavf_set_priv_flags()
479 new_flags = orig_flags; in iavf_set_priv_flags()
492 ((orig_flags ^ new_flags) & ~BIT(i))) in iavf_set_priv_flags()
507 if (cmpxchg(&adapter->flags, orig_flags, new_flags) != orig_flags) { in iavf_set_priv_flags()
513 changed_flags = orig_flags ^ new_flags; in iavf_set_priv_flags()
/kernel/linux/linux-5.10/fs/ceph/
H A Dlocks.c212 unsigned int orig_flags = fl->fl_flags; in try_unlock_file() local
215 fl->fl_flags = orig_flags; in try_unlock_file()
217 if (!(orig_flags & FL_EXISTS)) in try_unlock_file()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c486 u32 orig_flags, new_flags, changed_flags; in iavf_set_priv_flags() local
490 orig_flags = READ_ONCE(adapter->flags); in iavf_set_priv_flags()
491 new_flags = orig_flags; in iavf_set_priv_flags()
504 ((orig_flags ^ new_flags) & ~BIT(i))) in iavf_set_priv_flags()
519 if (cmpxchg(&adapter->flags, orig_flags, new_flags) != orig_flags) { in iavf_set_priv_flags()
525 changed_flags = orig_flags ^ new_flags; in iavf_set_priv_flags()
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dvm86_32.c587 unsigned short ip, sp, orig_flags; in handle_vm86_fault() local
595 orig_flags = *(unsigned short *)&regs->pt.flags; in handle_vm86_fault()
733 if (orig_flags & X86_EFLAGS_TF) in handle_vm86_fault()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/fs/btrfs/
H A Dblock-group.h274 u64 btrfs_get_alloc_profile(struct btrfs_fs_info *fs_info, u64 orig_flags);
/kernel/linux/linux-6.6/fs/btrfs/
H A Dblock-group.h337 u64 btrfs_get_alloc_profile(struct btrfs_fs_info *fs_info, u64 orig_flags);
/kernel/linux/linux-5.10/net/wireless/
H A Dreg.c1775 chan->flags = chan->orig_flags = in handle_channel_single_rule()
1858 chan->orig_flags = chan->flags; in handle_channel_adjacent_rules()
1948 u32 flags = chan->orig_flags; in handle_channel()
2007 chan->orig_flags |= IEEE80211_CHAN_DISABLED; in handle_channel()
2008 chan->flags = chan->orig_flags; in handle_channel()
2503 chan->orig_flags |= IEEE80211_CHAN_DISABLED; in handle_channel_custom()
2504 chan->flags = chan->orig_flags; in handle_channel_custom()
2518 chan->flags = chan->orig_flags | bw_flags | in handle_channel_custom()
3368 chan->flags = chan->orig_flags; in restore_custom_reg_settings()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-kmem.c669 char *orig_flags = strdup(gfp_flags); in compact_gfp_flags() local
674 if (orig_flags == NULL) in compact_gfp_flags()
677 str = strtok_r(orig_flags, "|", &pos); in compact_gfp_flags()
691 free(orig_flags); in compact_gfp_flags()
714 free(orig_flags); in compact_gfp_flags()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_conntrack_netlink.c854 u_int32_t orig_flags; member
884 filter->orig_flags = nla_get_u32(tb[CTA_FILTER_ORIG_FLAGS]); in ctnetlink_parse_filter()
885 if (filter->orig_flags & ~CTA_FILTER_F_ALL) in ctnetlink_parse_filter()
946 if (filter->orig_flags) { in ctnetlink_alloc_filter()
956 filter->orig_flags); in ctnetlink_alloc_filter()
1090 if (filter->orig_flags) { in ctnetlink_filter_match()
1093 filter->orig_flags, in ctnetlink_filter_match()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/fs/ocfs2/dlm/
H A Ddlmrecovery.c1113 u8 orig_flags = mres->flags, in dlm_send_mig_lockres_msg() local
1121 orig_flags = mres->flags; in dlm_send_mig_lockres_msg()
1128 orig_flags & DLM_MRES_MIGRATION ? "migration" : "recovery", in dlm_send_mig_lockres_msg()
1141 (orig_flags & DLM_MRES_MIGRATION ? in dlm_send_mig_lockres_msg()
1160 mig_cookie, orig_flags, orig_master); in dlm_send_mig_lockres_msg()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
2500 if ((orig_flags ^ ofdpa_port->brport_flags) & BR_LEARNING && in ofdpa_port_attr_bridge_flags_set()
2506 ofdpa_port->brport_flags = orig_flags; in ofdpa_port_attr_bridge_flags_set()
/kernel/linux/linux-5.10/include/linux/
H A Dsched.h1807 current_restore_flags(unsigned long orig_flags, unsigned long flags) in current_restore_flags() argument
1810 current->flags |= orig_flags & flags; in current_restore_flags()
/kernel/linux/linux-6.6/include/linux/
H A Dsched.h1974 current_restore_flags(unsigned long orig_flags, unsigned long flags) in current_restore_flags() argument
1977 current->flags |= orig_flags & flags; in current_restore_flags()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c4940 u64 orig_flags, new_flags, changed_flags; in i40e_set_priv_flags() local
4948 orig_flags = READ_ONCE(pf->flags); in i40e_set_priv_flags()
4949 new_flags = orig_flags; in i40e_set_priv_flags()
4963 ((orig_flags ^ new_flags) & ~BIT(i))) in i40e_set_priv_flags()
4982 ((orig_flags ^ new_flags) & ~BIT(i))) in i40e_set_priv_flags()
4987 changed_flags = orig_flags ^ new_flags; in i40e_set_priv_flags()
5087 (orig_flags & I40E_FLAG_TOTAL_PORT_SHUTDOWN_ENABLED)) { in i40e_set_priv_flags()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c5245 u64 orig_flags, new_flags, changed_flags; in i40e_set_priv_flags() local
5253 orig_flags = READ_ONCE(pf->flags); in i40e_set_priv_flags()
5254 new_flags = orig_flags; in i40e_set_priv_flags()
5268 ((orig_flags ^ new_flags) & ~BIT(i))) in i40e_set_priv_flags()
5287 ((orig_flags ^ new_flags) & ~BIT(i))) in i40e_set_priv_flags()
5292 changed_flags = orig_flags ^ new_flags; in i40e_set_priv_flags()
5392 (orig_flags & I40E_FLAG_TOTAL_PORT_SHUTDOWN_ENABLED)) { in i40e_set_priv_flags()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c1178 DECLARE_BITMAP(orig_flags, ICE_PF_FLAGS_NBITS); in ice_set_priv_flags()
1191 bitmap_copy(orig_flags, pf->flags, ICE_PF_FLAGS_NBITS); in ice_set_priv_flags()
1203 bitmap_xor(change_flags, pf->flags, orig_flags, ICE_PF_FLAGS_NBITS); in ice_set_priv_flags()

Completed in 75 milliseconds

12