Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c464 u32 orig_flags, new_flags, changed_flags; in iavf_set_priv_flags() local
467 orig_flags = READ_ONCE(adapter->flags); in iavf_set_priv_flags()
468 new_flags = orig_flags; in iavf_set_priv_flags()
481 ((orig_flags ^ new_flags) & ~BIT(i))) in iavf_set_priv_flags()
496 if (cmpxchg(&adapter->flags, orig_flags, new_flags) != orig_flags) { in iavf_set_priv_flags()
502 changed_flags = orig_flags ^ new_flags; in iavf_set_priv_flags()
/Linux-v5.4/arch/s390/kernel/
Dperf_cpum_sf.c1451 unsigned long long orig_overflow, orig_flags, new_flags; in aux_set_alert() local
1456 orig_flags = te->flags; in aux_set_alert()
1459 if (orig_flags & SDB_TE_BUFFER_FULL_MASK) { in aux_set_alert()
1467 new_flags = orig_flags | SDB_TE_ALERT_REQ_MASK; in aux_set_alert()
1469 orig_flags, orig_overflow, in aux_set_alert()
1499 unsigned long long orig_overflow, orig_flags, new_flags; in aux_reset_buffer() local
1529 orig_flags = te->flags; in aux_reset_buffer()
1531 new_flags = orig_flags & ~SDB_TE_BUFFER_FULL_MASK; in aux_reset_buffer()
1537 orig_flags, orig_overflow, in aux_reset_buffer()
/Linux-v5.4/arch/x86/kernel/
Dvm86_32.c595 unsigned short ip, sp, orig_flags; in handle_vm86_fault() local
603 orig_flags = *(unsigned short *)&regs->pt.flags; in handle_vm86_fault()
741 if (orig_flags & X86_EFLAGS_TF) in handle_vm86_fault()
/Linux-v5.4/fs/btrfs/
Dblock-group.h223 u64 btrfs_get_alloc_profile(struct btrfs_fs_info *fs_info, u64 orig_flags);
Dblock-group.c98 static u64 get_alloc_profile(struct btrfs_fs_info *fs_info, u64 orig_flags) in get_alloc_profile() argument
104 flags = orig_flags; in get_alloc_profile()
118 u64 btrfs_get_alloc_profile(struct btrfs_fs_info *fs_info, u64 orig_flags) in btrfs_get_alloc_profile() argument
120 return get_alloc_profile(fs_info, orig_flags); in btrfs_get_alloc_profile()
/Linux-v5.4/net/wireless/
Dreg.c1709 flags = chan->orig_flags; in handle_channel()
1732 chan->orig_flags |= IEEE80211_CHAN_DISABLED; in handle_channel()
1733 chan->flags = chan->orig_flags; in handle_channel()
1755 chan->flags = chan->orig_flags = in handle_channel()
2284 chan->orig_flags |= IEEE80211_CHAN_DISABLED; in handle_channel_custom()
2285 chan->flags = chan->orig_flags; in handle_channel_custom()
2299 chan->flags = chan->orig_flags | bw_flags | in handle_channel_custom()
3138 chan->flags = chan->orig_flags; in restore_custom_reg_settings()
Dcore.c828 sband->channels[i].orig_flags = in wiphy_register()
/Linux-v5.4/tools/perf/
Dbuiltin-kmem.c672 char *orig_flags = strdup(gfp_flags); in compact_gfp_flags() local
677 if (orig_flags == NULL) in compact_gfp_flags()
680 str = strtok_r(orig_flags, "|", &pos); in compact_gfp_flags()
694 free(orig_flags); in compact_gfp_flags()
717 free(orig_flags); in compact_gfp_flags()
/Linux-v5.4/fs/ocfs2/dlm/
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()
/Linux-v5.4/drivers/mtd/
Dmtdpart.c344 slave->mtd.flags = parent->orig_flags & ~part->mask_flags; in allocate_partition()
345 slave->mtd.orig_flags = slave->mtd.flags; in allocate_partition()
Dmtdcore.c780 mtd->orig_flags = mtd->flags; in mtd_set_dev_defaults()
/Linux-v5.4/include/linux/
Dsched.h1564 current_restore_flags(unsigned long orig_flags, unsigned long flags) in TASK_PFA_TEST()
1567 current->flags |= orig_flags & flags; in TASK_PFA_TEST()
/Linux-v5.4/include/linux/mtd/
Dmtd.h200 uint32_t orig_flags; /* Flags as before running mtd checks */ member
/Linux-v5.4/drivers/net/ethernet/rocker/
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()
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c4873 u64 orig_flags, new_flags, changed_flags; in i40e_set_priv_flags() local
4881 orig_flags = READ_ONCE(pf->flags); in i40e_set_priv_flags()
4882 new_flags = orig_flags; in i40e_set_priv_flags()
4896 ((orig_flags ^ new_flags) & ~BIT(i))) in i40e_set_priv_flags()
4915 ((orig_flags ^ new_flags) & ~BIT(i))) in i40e_set_priv_flags()
4920 changed_flags = orig_flags ^ new_flags; in i40e_set_priv_flags()
/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_ethtool.c1154 DECLARE_BITMAP(orig_flags, ICE_PF_FLAGS_NBITS); in ice_set_priv_flags()
1165 bitmap_copy(orig_flags, pf->flags, ICE_PF_FLAGS_NBITS); in ice_set_priv_flags()
1177 bitmap_xor(change_flags, pf->flags, orig_flags, ICE_PF_FLAGS_NBITS); in ice_set_priv_flags()
/Linux-v5.4/fs/xfs/libxfs/
Dxfs_bmap.c4282 int orig_flags; /* original flags arg value */ in xfs_bmapi_write() local
4289 orig_flags = flags; in xfs_bmapi_write()
4441 xfs_bmap_validate_ret(orig_bno, orig_len, orig_flags, orig_mval, in xfs_bmapi_write()
/Linux-v5.4/include/net/
Dcfg80211.h156 u32 orig_flags; member
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c6094 if (channel->orig_flags & IEEE80211_CHAN_DISABLED) in brcmf_construct_chaninfo()