Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dtrampoline.c370 static int bpf_trampoline_update_fentry(struct bpf_trampoline *tr, u32 orig_flags, in bpf_trampoline_update_fentry() argument
383 else if (bpf_trampoline_use_jmp(orig_flags)) in bpf_trampoline_update_fentry()
389 static int unregister_fentry(struct bpf_trampoline *tr, u32 orig_flags, in unregister_fentry() argument
397 ret = bpf_trampoline_update_fentry(tr, orig_flags, old_addr, NULL); in unregister_fentry()
402 static int modify_fentry(struct bpf_trampoline *tr, u32 orig_flags, in modify_fentry() argument
411 ret = bpf_trampoline_update_fentry(tr, orig_flags, old_addr, in modify_fentry()
611 u32 orig_flags = tr->flags; in bpf_trampoline_update() local
620 err = unregister_fentry(tr, orig_flags, tr->cur_image->image); in bpf_trampoline_update()
691 err = modify_fentry(tr, orig_flags, tr->cur_image->image, in bpf_trampoline_update()
716 tr->flags = orig_flags; in bpf_trampoline_update()
/linux/fs/ceph/
H A Dlocks.c234 unsigned int orig_flags = fl->c.flc_flags; in try_unlock_file() local
237 fl->c.flc_flags = orig_flags; in try_unlock_file()
239 if (!(orig_flags & FL_EXISTS)) in try_unlock_file()
/linux/arch/x86/kernel/
H A Dvm86_32.c552 unsigned short ip, sp, orig_flags; in handle_vm86_fault() local
560 orig_flags = *(unsigned short *)&regs->pt.flags; in handle_vm86_fault()
698 if (orig_flags & X86_EFLAGS_TF) in handle_vm86_fault()
/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()
/linux/net/wireless/
H A Dreg.c1771 chan->flags = chan->orig_flags = in handle_channel_single_rule()
1860 chan->orig_flags = chan->flags; in handle_channel_adjacent_rules()
1956 u32 flags = chan->orig_flags; in handle_channel()
2015 chan->orig_flags |= IEEE80211_CHAN_DISABLED; in handle_channel()
2016 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()
3450 chan->flags = chan->orig_flags; in restore_custom_reg_settings()
H A Dcore.c914 sband->channels[i].orig_flags = in wiphy_register()
/linux/net/netfilter/
H A Dnf_conntrack_netlink.c901 u_int32_t orig_flags; member
929 filter->orig_flags = nla_get_u32(tb[CTA_FILTER_ORIG_FLAGS]); in ctnetlink_parse_filter()
930 if (filter->orig_flags & ~CTA_FILTER_F_ALL) in ctnetlink_parse_filter()
1030 if (filter->orig_flags) { in ctnetlink_alloc_filter()
1040 filter->orig_flags); in ctnetlink_alloc_filter()
1179 if (filter->orig_flags) { in ctnetlink_filter_match()
1182 filter->orig_flags, in ctnetlink_filter_match()
/linux/fs/ocfs2/dlm/
H A Ddlmrecovery.c1102 u8 orig_flags = mres->flags, in dlm_send_mig_lockres_msg() local
1110 orig_flags = mres->flags; in dlm_send_mig_lockres_msg()
1117 orig_flags & DLM_MRES_MIGRATION ? "migration" : "recovery", in dlm_send_mig_lockres_msg()
1130 (orig_flags & DLM_MRES_MIGRATION ? in dlm_send_mig_lockres_msg()
1149 mig_cookie, orig_flags, orig_master); in dlm_send_mig_lockres_msg()
/linux/include/linux/
H A Dsched.h1878 current_restore_flags(unsigned long orig_flags, unsigned long flags) in TASK_PFA_TEST()
1881 current->flags |= orig_flags & flags; in TASK_PFA_TEST()
/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_vma.c657 unsigned orig_flags = vma->flags & (DRM_GPUVA_USERBITS - 1); in msm_gem_vm_sm_step_unmap() local
658 vma->flags = orig_flags | arg->flags; in msm_gem_vm_sm_step_unmap()
/linux/drivers/block/
H A Dzloop.c610 int orig_flags = current->flags; in zloop_cmd_workfn() local
614 current->flags = orig_flags; in zloop_cmd_workfn()
H A Dloop.c1949 int orig_flags = current->flags; in loop_process_work() local
1977 current->flags = orig_flags; in loop_process_work()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c5246 DECLARE_BITMAP(orig_flags, I40E_PF_FLAGS_NBITS); in i40e_set_priv_flags()
5256 bitmap_copy(orig_flags, pf->flags, I40E_PF_FLAGS_NBITS); in i40e_set_priv_flags()
5268 test_bit(priv_flag->bitno, orig_flags) != new_val) in i40e_set_priv_flags()
5289 test_bit(priv_flag->bitno, orig_flags) != new_val) in i40e_set_priv_flags()
5299 bitmap_xor(changed_flags, new_flags, orig_flags, I40E_PF_FLAGS_NBITS); in i40e_set_priv_flags()
5399 test_bit(I40E_FLAG_TOTAL_PORT_SHUTDOWN_ENA, orig_flags)) { in i40e_set_priv_flags()
/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()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c1743 DECLARE_BITMAP(orig_flags, ICE_PF_FLAGS_NBITS); in ice_set_priv_flags()
1756 bitmap_copy(orig_flags, pf->flags, ICE_PF_FLAGS_NBITS); in ice_set_priv_flags()
1768 bitmap_xor(change_flags, pf->flags, orig_flags, ICE_PF_FLAGS_NBITS); in ice_set_priv_flags()
/linux/fs/btrfs/
H A Dblock-group.c134 u64 btrfs_get_alloc_profile(struct btrfs_fs_info *fs_info, u64 orig_flags) in btrfs_get_alloc_profile() argument
140 flags = orig_flags; in btrfs_get_alloc_profile()
/linux/include/net/
H A Dcfg80211.h205 u32 orig_flags; member
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcfg80211.c7077 if (channel->orig_flags & IEEE80211_CHAN_DISABLED) in brcmf_construct_chaninfo()