/kernel/linux/linux-5.10/mm/ |
D | madvise.c | 137 unsigned long end, unsigned long new_flags, in madvise_update_vma() argument 144 if (new_flags == vma->vm_flags && anon_vma_name_eq(anon_vma_name(vma), anon_name)) { in madvise_update_vma() 150 *prev = vma_merge(mm, *prev, start, end, new_flags, vma->anon_vma, in madvise_update_vma() 180 vma->vm_flags = new_flags; in madvise_update_vma() 891 unsigned long new_flags = vma->vm_flags; in madvise_vma_behavior() local 906 new_flags = new_flags & ~VM_RAND_READ & ~VM_SEQ_READ; in madvise_vma_behavior() 909 new_flags = (new_flags & ~VM_RAND_READ) | VM_SEQ_READ; in madvise_vma_behavior() 912 new_flags = (new_flags & ~VM_SEQ_READ) | VM_RAND_READ; in madvise_vma_behavior() 915 new_flags |= VM_DONTCOPY; in madvise_vma_behavior() 920 new_flags &= ~VM_DONTCOPY; in madvise_vma_behavior() [all …]
|
/kernel/linux/linux-5.10/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 | 231 uint8_t new_flags = SR6_FLAG_ALERT; in __add_egr_x() local 248 (void *)&new_flags, sizeof(new_flags)); in __add_egr_x()
|
/kernel/linux/linux-5.10/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 new_flags |= FIF_MCAST_ACTION; in ieee80211_configure_filter() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/ |
D | iavf_ethtool.c | 475 u32 orig_flags, new_flags, changed_flags; in iavf_set_priv_flags() local 479 new_flags = orig_flags; in iavf_set_priv_flags() 487 new_flags |= priv_flags->flag; in iavf_set_priv_flags() 489 new_flags &= ~(priv_flags->flag); 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/drivers/net/ethernet/google/gve/ |
D | gve_ethtool.c | 477 u64 ori_flags, new_flags; in gve_set_priv_flags() local 480 new_flags = ori_flags; in gve_set_priv_flags() 484 new_flags |= BIT(0); in gve_set_priv_flags() 486 new_flags &= ~(BIT(0)); in gve_set_priv_flags() 487 priv->ethtool_flags = new_flags; in gve_set_priv_flags()
|
/kernel/linux/linux-5.10/fs/gfs2/ |
D | file.c | 225 u32 new_flags, flags, oldflags; in do_gfs2_set_flags() local 246 new_flags = (flags & ~mask) | (reqflags & mask); in do_gfs2_set_flags() 247 if ((new_flags ^ flags) == 0) in do_gfs2_set_flags() 251 if (IS_IMMUTABLE(inode) && (new_flags & GFS2_DIF_IMMUTABLE)) in do_gfs2_set_flags() 253 if (IS_APPEND(inode) && (new_flags & GFS2_DIF_APPENDONLY)) in do_gfs2_set_flags() 255 if (((new_flags ^ flags) & GFS2_DIF_IMMUTABLE) && in do_gfs2_set_flags() 263 if ((flags ^ new_flags) & GFS2_DIF_JDATA) { in do_gfs2_set_flags() 264 if (new_flags & GFS2_DIF_JDATA) in do_gfs2_set_flags() 274 if (new_flags & GFS2_DIF_JDATA) in do_gfs2_set_flags() 285 ip->i_diskflags = new_flags; in do_gfs2_set_flags()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/fs/ |
D | userfaultfd.c | 843 unsigned long new_flags; in userfaultfd_release() local 868 new_flags = vma->vm_flags & ~(VM_UFFD_MISSING | VM_UFFD_WP); in userfaultfd_release() 870 new_flags, vma->anon_vma, in userfaultfd_release() 878 vma->vm_flags = new_flags; in userfaultfd_release() 1263 unsigned long vm_flags, new_flags; in userfaultfd_register() local 1409 new_flags = (vma->vm_flags & in userfaultfd_register() 1411 prev = vma_merge(mm, prev, start, vma_end, new_flags, in userfaultfd_register() 1436 vma->vm_flags = new_flags; in userfaultfd_register() 1479 unsigned long new_flags; in userfaultfd_unregister() local 1581 new_flags = vma->vm_flags & ~(VM_UFFD_MISSING | VM_UFFD_WP); in userfaultfd_unregister() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/ |
D | mac80211.c | 253 unsigned int *new_flags, in rtw_ops_configure_filter() argument 258 *new_flags &= FIF_ALLMULTI | FIF_OTHER_BSS | FIF_FCSFAIL | in rtw_ops_configure_filter() 266 if (*new_flags & FIF_ALLMULTI) in rtw_ops_configure_filter() 272 if (*new_flags & FIF_FCSFAIL) in rtw_ops_configure_filter() 278 if (*new_flags & FIF_OTHER_BSS) in rtw_ops_configure_filter() 284 if (*new_flags & FIF_BCN_PRBRESP_PROMISC) in rtw_ops_configure_filter() 292 changed_flags, *new_flags, rtwdev->hal.rcr); in rtw_ops_configure_filter()
|
/kernel/linux/linux-5.10/fs/exfat/ |
D | super.c | 98 static int exfat_set_vol_flags(struct super_block *sb, unsigned short new_flags) in exfat_set_vol_flags() argument 105 new_flags |= sbi->vol_flags_persistent; in exfat_set_vol_flags() 108 if (sbi->vol_flags == new_flags) in exfat_set_vol_flags() 111 sbi->vol_flags = new_flags; in exfat_set_vol_flags() 119 p_boot->vol_flags = cpu_to_le16(new_flags); in exfat_set_vol_flags() 121 if ((new_flags & VOLUME_DIRTY) && !buffer_dirty(sbi->boot_bh)) in exfat_set_vol_flags()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/ |
D | ttm_bo.c | 1038 uint32_t *new_flags) in ttm_bo_places_compat() argument 1049 *new_flags = heap->flags; in ttm_bo_places_compat() 1050 if ((*new_flags & mem->placement & TTM_PL_MASK_CACHING) && in ttm_bo_places_compat() 1052 (!(*new_flags & TTM_PL_FLAG_CONTIGUOUS) || in ttm_bo_places_compat() 1061 uint32_t *new_flags) in ttm_bo_mem_compat() argument 1064 mem, new_flags)) in ttm_bo_mem_compat() 1071 mem, new_flags)) in ttm_bo_mem_compat() 1083 uint32_t new_flags; in ttm_bo_validate() local 1101 if (!ttm_bo_mem_compat(placement, &bo->mem, &new_flags)) { in ttm_bo_validate() 1107 bo->mem.placement |= new_flags & ~TTM_PL_MASK_CACHING; in ttm_bo_validate()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | perf_cpum_sf.c | 1478 unsigned long long orig_overflow, orig_flags, new_flags; in aux_set_alert() local 1493 new_flags = orig_flags | SDB_TE_ALERT_REQ_MASK; in aux_set_alert() 1496 new_flags, 0ULL)); in aux_set_alert() 1525 unsigned long long orig_overflow, orig_flags, new_flags; in aux_reset_buffer() local 1560 new_flags = orig_flags & ~SDB_TE_BUFFER_FULL_MASK; in aux_reset_buffer() 1562 new_flags |= SDB_TE_ALERT_REQ_MASK; in aux_reset_buffer() 1564 new_flags &= ~SDB_TE_ALERT_REQ_MASK; in aux_reset_buffer() 1567 new_flags, 0ULL)); in aux_reset_buffer()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/ |
D | main.c | 976 unsigned int *new_flags, in carl9170_op_configure_filter() argument 982 *new_flags &= FIF_ALLMULTI | ar->rx_filter_caps; in carl9170_op_configure_filter() 989 ar->filter_state = *new_flags; in carl9170_op_configure_filter() 995 if (*new_flags & FIF_ALLMULTI) in carl9170_op_configure_filter() 1002 ar->sniffer_enabled = !!(*new_flags & FIF_OTHER_BSS); in carl9170_op_configure_filter() 1013 if (!(*new_flags & (FIF_FCSFAIL | FIF_PLCPFAIL))) in carl9170_op_configure_filter() 1016 if (!(*new_flags & FIF_CONTROL)) in carl9170_op_configure_filter() 1019 if (!(*new_flags & FIF_PSPOLL)) in carl9170_op_configure_filter() 1022 if (!(*new_flags & FIF_OTHER_BSS)) { in carl9170_op_configure_filter()
|
/kernel/linux/linux-5.10/tools/perf/ |
D | builtin-kmem.c | 670 char *new_flags = NULL; in compact_gfp_flags() local 688 new = realloc(new_flags, len + strlen(cpt) + 2); in compact_gfp_flags() 690 free(new_flags); in compact_gfp_flags() 695 new_flags = new; in compact_gfp_flags() 698 strcpy(new_flags, cpt); in compact_gfp_flags() 700 strcat(new_flags, "|"); in compact_gfp_flags() 701 strcat(new_flags, cpt); in compact_gfp_flags() 715 return new_flags; in compact_gfp_flags()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 4918 u64 orig_flags, new_flags, changed_flags; in i40e_set_priv_flags() local 4927 new_flags = orig_flags; in i40e_set_priv_flags() 4935 new_flags |= priv_flags->flag; in i40e_set_priv_flags() 4937 new_flags &= ~(priv_flags->flag); in i40e_set_priv_flags() 4941 ((orig_flags ^ new_flags) & ~BIT(i))) in i40e_set_priv_flags() 4954 new_flags |= priv_flags->flag; in i40e_set_priv_flags() 4956 new_flags &= ~(priv_flags->flag); in i40e_set_priv_flags() 4960 ((orig_flags ^ new_flags) & ~BIT(i))) in i40e_set_priv_flags() 4965 changed_flags = orig_flags ^ new_flags; in i40e_set_priv_flags() 4978 if ((new_flags & I40E_FLAG_HW_ATR_EVICT_ENABLED) && in i40e_set_priv_flags() [all …]
|
/kernel/linux/linux-5.10/net/batman-adv/ |
D | multicast.c | 810 struct batadv_mcast_mla_flags *new_flags) in batadv_mcast_bridge_log() argument 814 if (!old_flags->bridged && new_flags->bridged) in batadv_mcast_bridge_log() 817 else if (old_flags->bridged && !new_flags->bridged) in batadv_mcast_bridge_log() 821 if (new_flags->bridged) { in batadv_mcast_bridge_log() 824 &new_flags->querier_ipv4); in batadv_mcast_bridge_log() 827 &new_flags->querier_ipv6); in batadv_mcast_bridge_log()
|
/kernel/linux/linux-5.10/kernel/locking/ |
D | rwsem.c | 718 unsigned long flags, new_flags; in rwsem_spin_on_owner() local 734 new = rwsem_owner_flags(sem, &new_flags); in rwsem_spin_on_owner() 735 if ((new != owner) || (new_flags != flags)) { in rwsem_spin_on_owner() 736 state = rwsem_owner_state(new, new_flags, nonspinnable); in rwsem_spin_on_owner()
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas_tf/ |
D | main.c | 375 unsigned int *new_flags, in lbtf_op_configure_filter() argument 384 *new_flags &= SUPPORTED_FIF_FLAGS; in lbtf_op_configure_filter() 392 if (*new_flags & (FIF_ALLMULTI) || in lbtf_op_configure_filter()
|
/kernel/linux/linux-5.10/include/drm/ttm/ |
D | ttm_bo_api.h | 274 uint32_t *new_flags);
|
/kernel/linux/linux-5.10/arch/x86/mm/pat/ |
D | memtype.c | 148 unsigned long new_flags; in set_page_memtype() local 168 new_flags = (old_flags & _PGMT_CLEAR_MASK) | memtype_flags; in set_page_memtype() 169 } while (cmpxchg(&pg->flags, old_flags, new_flags) != old_flags); in set_page_memtype()
|
/kernel/linux/linux-5.10/drivers/net/wireless/zydas/zd1211rw/ |
D | zd_mac.c | 1222 unsigned int *new_flags, in zd_op_configure_filter() argument 1235 *new_flags &= SUPPORTED_FIF_FLAGS; in zd_op_configure_filter() 1244 if (*new_flags & FIF_ALLMULTI) in zd_op_configure_filter() 1248 mac->pass_failed_fcs = !!(*new_flags & FIF_FCSFAIL); in zd_op_configure_filter() 1249 mac->pass_ctrl = !!(*new_flags & FIF_CONTROL); in zd_op_configure_filter()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/ |
D | core.c | 799 unsigned int *new_flags, u64 multicast) in rtl_op_configure_filter() argument 805 *new_flags &= RTL_SUPPORTED_FILTERS; in rtl_op_configure_filter() 811 if (*new_flags & FIF_ALLMULTI) { in rtl_op_configure_filter() 826 if (*new_flags & FIF_FCSFAIL) { in rtl_op_configure_filter() 847 if (*new_flags & FIF_BCN_PRBRESP_PROMISC) in rtl_op_configure_filter() 857 if (*new_flags & FIF_CONTROL) { in rtl_op_configure_filter() 872 if (*new_flags & FIF_OTHER_BSS) { in rtl_op_configure_filter()
|