/Linux-v5.4/mm/ |
D | madvise.c | 72 unsigned long new_flags = vma->vm_flags; in madvise_behavior() local 76 new_flags = new_flags & ~VM_RAND_READ & ~VM_SEQ_READ; in madvise_behavior() 79 new_flags = (new_flags & ~VM_RAND_READ) | VM_SEQ_READ; in madvise_behavior() 82 new_flags = (new_flags & ~VM_SEQ_READ) | VM_RAND_READ; in madvise_behavior() 85 new_flags |= VM_DONTCOPY; in madvise_behavior() 92 new_flags &= ~VM_DONTCOPY; in madvise_behavior() 100 new_flags |= VM_WIPEONFORK; in madvise_behavior() 103 new_flags &= ~VM_WIPEONFORK; in madvise_behavior() 106 new_flags |= VM_DONTDUMP; in madvise_behavior() 109 if (!is_vm_hugetlb_page(vma) && new_flags & VM_SPECIAL) { in madvise_behavior() [all …]
|
/Linux-v5.4/tools/testing/selftests/bpf/progs/ |
D | test_lwt_seg6local.c | 327 uint8_t new_flags = SR6_FLAG_ALERT; in __add_egr_x() local 344 (void *)&new_flags, sizeof(new_flags)); in __add_egr_x() 364 uint8_t new_flags = 0; in __pop_egr() local 384 if (bpf_lwt_seg6_store_bytes(skb, offset, (void *)&new_flags, in __pop_egr() 385 sizeof(new_flags))) in __pop_egr()
|
D | test_seg6_loop.c | 229 uint8_t new_flags = SR6_FLAG_ALERT; in __add_egr_x() local 246 (void *)&new_flags, sizeof(new_flags)); in __add_egr_x()
|
/Linux-v5.4/drivers/net/wireless/realtek/rtw88/ |
D | mac80211.c | 197 unsigned int *new_flags, in rtw_ops_configure_filter() argument 202 *new_flags &= FIF_ALLMULTI | FIF_OTHER_BSS | FIF_FCSFAIL | in rtw_ops_configure_filter() 208 if (*new_flags & FIF_ALLMULTI) in rtw_ops_configure_filter() 214 if (*new_flags & FIF_FCSFAIL) in rtw_ops_configure_filter() 220 if (*new_flags & FIF_OTHER_BSS) in rtw_ops_configure_filter() 226 if (*new_flags & FIF_BCN_PRBRESP_PROMISC) in rtw_ops_configure_filter() 234 changed_flags, *new_flags, rtwdev->hal.rcr); in rtw_ops_configure_filter()
|
/Linux-v5.4/net/mac80211/ |
D | main.c | 40 unsigned int new_flags = 0; in ieee80211_configure_filter() local 43 new_flags |= FIF_ALLMULTI; in ieee80211_configure_filter() 47 new_flags |= FIF_BCN_PRBRESP_PROMISC; in ieee80211_configure_filter() 50 new_flags |= FIF_PROBE_REQ; in ieee80211_configure_filter() 53 new_flags |= FIF_FCSFAIL; in ieee80211_configure_filter() 56 new_flags |= FIF_PLCPFAIL; in ieee80211_configure_filter() 59 new_flags |= FIF_CONTROL; in ieee80211_configure_filter() 62 new_flags |= FIF_OTHER_BSS; in ieee80211_configure_filter() 65 new_flags |= FIF_PSPOLL; in ieee80211_configure_filter() 68 changed_flags = local->filter_flags ^ new_flags; in ieee80211_configure_filter() [all …]
|
/Linux-v5.4/drivers/net/ethernet/intel/iavf/ |
D | iavf_ethtool.c | 464 u32 orig_flags, new_flags, changed_flags; in iavf_set_priv_flags() local 468 new_flags = orig_flags; in iavf_set_priv_flags() 476 new_flags |= priv_flags->flag; in iavf_set_priv_flags() 478 new_flags &= ~(priv_flags->flag); 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/drivers/net/wireless/ath/ath5k/ |
D | mac80211-ops.c | 368 unsigned int *new_flags, u64 multicast) in ath5k_configure_filter() argument 386 *new_flags &= SUPPORTED_FIF_FLAGS; in ath5k_configure_filter() 396 if (*new_flags & FIF_ALLMULTI) { in ath5k_configure_filter() 402 if (*new_flags & (FIF_FCSFAIL | FIF_PLCPFAIL)) in ath5k_configure_filter() 407 if ((*new_flags & FIF_BCN_PRBRESP_PROMISC) || (ah->nvifs > 1)) in ath5k_configure_filter() 414 if (*new_flags & FIF_CONTROL) in ath5k_configure_filter() 465 ah->fif_filter_flags = *new_flags; in ath5k_configure_filter()
|
/Linux-v5.4/fs/gfs2/ |
D | file.c | 224 u32 new_flags, flags, oldflags; in do_gfs2_set_flags() local 245 new_flags = (flags & ~mask) | (reqflags & mask); in do_gfs2_set_flags() 246 if ((new_flags ^ flags) == 0) in do_gfs2_set_flags() 250 if (IS_IMMUTABLE(inode) && (new_flags & GFS2_DIF_IMMUTABLE)) in do_gfs2_set_flags() 252 if (IS_APPEND(inode) && (new_flags & GFS2_DIF_APPENDONLY)) in do_gfs2_set_flags() 254 if (((new_flags ^ flags) & GFS2_DIF_IMMUTABLE) && in do_gfs2_set_flags() 262 if ((flags ^ new_flags) & GFS2_DIF_JDATA) { in do_gfs2_set_flags() 263 if (new_flags & GFS2_DIF_JDATA) in do_gfs2_set_flags() 273 if (new_flags & GFS2_DIF_JDATA) in do_gfs2_set_flags() 284 ip->i_diskflags = new_flags; in do_gfs2_set_flags()
|
/Linux-v5.4/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_bo.c | 97 uint32_t new_flags; in vmw_bo_pin_in_placement() local 111 &new_flags) == true ? 0 : -EINVAL; in vmw_bo_pin_in_placement() 146 uint32_t new_flags; in vmw_bo_pin_in_vram_or_gmr() local 160 &new_flags) == true ? 0 : -EINVAL; in vmw_bo_pin_in_vram_or_gmr() 223 uint32_t new_flags; in vmw_bo_pin_in_start_of_vram() local 256 &new_flags) == true ? 0 : -EINVAL; in vmw_bo_pin_in_start_of_vram()
|
/Linux-v5.4/fs/ |
D | userfaultfd.c | 882 unsigned long new_flags; in userfaultfd_release() local 909 new_flags = vma->vm_flags & ~(VM_UFFD_MISSING | VM_UFFD_WP); in userfaultfd_release() 912 new_flags, vma->anon_vma, in userfaultfd_release() 921 vma->vm_flags = new_flags; in userfaultfd_release() 1310 unsigned long vm_flags, new_flags; in userfaultfd_register() local 1463 new_flags = (vma->vm_flags & ~vm_flags) | vm_flags; in userfaultfd_register() 1464 prev = vma_merge(mm, prev, start, vma_end, new_flags, in userfaultfd_register() 1488 vma->vm_flags = new_flags; in userfaultfd_register() 1521 unsigned long new_flags; in userfaultfd_unregister() local 1625 new_flags = vma->vm_flags & ~(VM_UFFD_MISSING | VM_UFFD_WP); in userfaultfd_unregister() [all …]
|
/Linux-v5.4/drivers/gpu/drm/ttm/ |
D | ttm_bo.c | 1202 uint32_t *new_flags) in ttm_bo_places_compat() argument 1213 *new_flags = heap->flags; in ttm_bo_places_compat() 1214 if ((*new_flags & mem->placement & TTM_PL_MASK_CACHING) && in ttm_bo_places_compat() 1215 (*new_flags & mem->placement & TTM_PL_MASK_MEM) && in ttm_bo_places_compat() 1216 (!(*new_flags & TTM_PL_FLAG_CONTIGUOUS) || in ttm_bo_places_compat() 1225 uint32_t *new_flags) in ttm_bo_mem_compat() argument 1228 mem, new_flags)) in ttm_bo_mem_compat() 1235 mem, new_flags)) in ttm_bo_mem_compat() 1247 uint32_t new_flags; in ttm_bo_validate() local 1253 if (!ttm_bo_mem_compat(placement, &bo->mem, &new_flags)) { in ttm_bo_validate() [all …]
|
/Linux-v5.4/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 979 unsigned int new_flags; in pasemi_adjust_link() local 999 new_flags = flags & ~(PAS_MAC_CFG_PCFG_HD | PAS_MAC_CFG_PCFG_SPD_M | in pasemi_adjust_link() 1003 new_flags |= PAS_MAC_CFG_PCFG_HD; in pasemi_adjust_link() 1007 new_flags |= PAS_MAC_CFG_PCFG_SPD_1G | in pasemi_adjust_link() 1011 new_flags |= PAS_MAC_CFG_PCFG_SPD_100M | in pasemi_adjust_link() 1015 new_flags |= PAS_MAC_CFG_PCFG_SPD_10M | in pasemi_adjust_link() 1023 msg = mac->link != dev->phydev->link || flags != new_flags; in pasemi_adjust_link() 1029 if (new_flags != flags) in pasemi_adjust_link() 1030 write_mac_reg(mac, PAS_MAC_CFG_PCFG, new_flags); in pasemi_adjust_link()
|
/Linux-v5.4/arch/s390/kernel/ |
D | perf_cpum_sf.c | 1451 unsigned long long orig_overflow, orig_flags, new_flags; in aux_set_alert() local 1467 new_flags = orig_flags | SDB_TE_ALERT_REQ_MASK; in aux_set_alert() 1470 new_flags, 0ULL)); in aux_set_alert() 1499 unsigned long long orig_overflow, orig_flags, new_flags; in aux_reset_buffer() local 1531 new_flags = orig_flags & ~SDB_TE_BUFFER_FULL_MASK; in aux_reset_buffer() 1533 new_flags |= SDB_TE_ALERT_REQ_MASK; in aux_reset_buffer() 1535 new_flags &= ~SDB_TE_ALERT_REQ_MASK; in aux_reset_buffer() 1538 new_flags, 0ULL)); in aux_reset_buffer()
|
/Linux-v5.4/drivers/net/wireless/ath/carl9170/ |
D | main.c | 989 unsigned int *new_flags, in carl9170_op_configure_filter() argument 995 *new_flags &= FIF_ALLMULTI | ar->rx_filter_caps; in carl9170_op_configure_filter() 1002 ar->filter_state = *new_flags; in carl9170_op_configure_filter() 1008 if (*new_flags & FIF_ALLMULTI) in carl9170_op_configure_filter() 1015 ar->sniffer_enabled = !!(*new_flags & FIF_OTHER_BSS); in carl9170_op_configure_filter() 1026 if (!(*new_flags & (FIF_FCSFAIL | FIF_PLCPFAIL))) in carl9170_op_configure_filter() 1029 if (!(*new_flags & FIF_CONTROL)) in carl9170_op_configure_filter() 1032 if (!(*new_flags & FIF_PSPOLL)) in carl9170_op_configure_filter() 1035 if (!(*new_flags & FIF_OTHER_BSS)) { in carl9170_op_configure_filter()
|
/Linux-v5.4/tools/perf/ |
D | builtin-kmem.c | 673 char *new_flags = NULL; in compact_gfp_flags() local 691 new = realloc(new_flags, len + strlen(cpt) + 2); in compact_gfp_flags() 693 free(new_flags); in compact_gfp_flags() 698 new_flags = new; in compact_gfp_flags() 701 strcpy(new_flags, cpt); in compact_gfp_flags() 703 strcat(new_flags, "|"); in compact_gfp_flags() 704 strcat(new_flags, cpt); in compact_gfp_flags() 718 return new_flags; in compact_gfp_flags()
|
/Linux-v5.4/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 4873 u64 orig_flags, new_flags, changed_flags; in i40e_set_priv_flags() local 4882 new_flags = orig_flags; in i40e_set_priv_flags() 4890 new_flags |= priv_flags->flag; in i40e_set_priv_flags() 4892 new_flags &= ~(priv_flags->flag); in i40e_set_priv_flags() 4896 ((orig_flags ^ new_flags) & ~BIT(i))) in i40e_set_priv_flags() 4909 new_flags |= priv_flags->flag; in i40e_set_priv_flags() 4911 new_flags &= ~(priv_flags->flag); 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() 4931 if ((new_flags & I40E_FLAG_HW_ATR_EVICT_ENABLED) && in i40e_set_priv_flags() [all …]
|
/Linux-v5.4/net/batman-adv/ |
D | multicast.c | 809 struct batadv_mcast_mla_flags *new_flags) in batadv_mcast_bridge_log() argument 813 if (!old_flags->bridged && new_flags->bridged) in batadv_mcast_bridge_log() 816 else if (old_flags->bridged && !new_flags->bridged) in batadv_mcast_bridge_log() 820 if (new_flags->bridged) { in batadv_mcast_bridge_log() 823 &new_flags->querier_ipv4); in batadv_mcast_bridge_log() 826 &new_flags->querier_ipv6); in batadv_mcast_bridge_log()
|
/Linux-v5.4/kernel/locking/ |
D | rwsem.c | 721 unsigned long flags, new_flags; in rwsem_spin_on_owner() local 737 new = rwsem_owner_flags(sem, &new_flags); in rwsem_spin_on_owner() 738 if ((new != owner) || (new_flags != flags)) { in rwsem_spin_on_owner() 739 state = rwsem_owner_state(new, new_flags, nonspinnable); in rwsem_spin_on_owner()
|
/Linux-v5.4/drivers/net/wireless/marvell/libertas_tf/ |
D | main.c | 376 unsigned int *new_flags, in lbtf_op_configure_filter() argument 385 *new_flags &= SUPPORTED_FIF_FLAGS; in lbtf_op_configure_filter() 393 if (*new_flags & (FIF_ALLMULTI) || in lbtf_op_configure_filter()
|
/Linux-v5.4/arch/x86/mm/ |
D | pat.c | 122 unsigned long new_flags; in set_page_memtype() local 142 new_flags = (old_flags & _PGMT_CLEAR_MASK) | memtype_flags; in set_page_memtype() 143 } while (cmpxchg(&pg->flags, old_flags, new_flags) != old_flags); in set_page_memtype()
|
/Linux-v5.4/drivers/net/wireless/zydas/zd1211rw/ |
D | zd_mac.c | 1223 unsigned int *new_flags, in zd_op_configure_filter() argument 1236 *new_flags &= SUPPORTED_FIF_FLAGS; in zd_op_configure_filter() 1245 if (*new_flags & FIF_ALLMULTI) in zd_op_configure_filter() 1249 mac->pass_failed_fcs = !!(*new_flags & FIF_FCSFAIL); in zd_op_configure_filter() 1250 mac->pass_ctrl = !!(*new_flags & FIF_CONTROL); in zd_op_configure_filter()
|
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/ |
D | core.c | 797 unsigned int *new_flags, u64 multicast) in rtl_op_configure_filter() argument 803 *new_flags &= RTL_SUPPORTED_FILTERS; in rtl_op_configure_filter() 809 if (*new_flags & FIF_ALLMULTI) { in rtl_op_configure_filter() 824 if (*new_flags & FIF_FCSFAIL) { in rtl_op_configure_filter() 845 if (*new_flags & FIF_BCN_PRBRESP_PROMISC) in rtl_op_configure_filter() 855 if (*new_flags & FIF_CONTROL) { in rtl_op_configure_filter() 870 if (*new_flags & FIF_OTHER_BSS) { in rtl_op_configure_filter()
|
/Linux-v5.4/include/drm/ttm/ |
D | ttm_bo_api.h | 340 uint32_t *new_flags);
|
/Linux-v5.4/fs/ocfs2/ |
D | alloc.h | 123 int new_flags, int clear_flags);
|
/Linux-v5.4/drivers/net/wireless/admtek/ |
D | adm8211.c | 1355 unsigned int new_flags; in adm8211_configure_filter() local 1361 new_flags = 0; in adm8211_configure_filter() 1364 new_flags |= FIF_ALLMULTI; in adm8211_configure_filter() 1390 *total_flags = new_flags; in adm8211_configure_filter()
|