/linux-4.1.27/mm/ |
H A D | madvise.c | 52 unsigned long new_flags = vma->vm_flags; madvise_behavior() local 56 new_flags = new_flags & ~VM_RAND_READ & ~VM_SEQ_READ; madvise_behavior() 59 new_flags = (new_flags & ~VM_RAND_READ) | VM_SEQ_READ; madvise_behavior() 62 new_flags = (new_flags & ~VM_SEQ_READ) | VM_RAND_READ; madvise_behavior() 65 new_flags |= VM_DONTCOPY; madvise_behavior() 72 new_flags &= ~VM_DONTCOPY; madvise_behavior() 75 new_flags |= VM_DONTDUMP; madvise_behavior() 78 if (new_flags & VM_SPECIAL) { madvise_behavior() 82 new_flags &= ~VM_DONTDUMP; madvise_behavior() 86 error = ksm_madvise(vma, start, end, behavior, &new_flags); madvise_behavior() 92 error = hugepage_madvise(vma, &new_flags, behavior); madvise_behavior() 98 if (new_flags == vma->vm_flags) { madvise_behavior() 104 *prev = vma_merge(mm, *prev, start, end, new_flags, vma->anon_vma, madvise_behavior() 129 vma->vm_flags = new_flags; madvise_behavior()
|
/linux-4.1.27/net/mac80211/ |
H A D | main.c | 42 unsigned int new_flags = 0; ieee80211_configure_filter() local 45 new_flags |= FIF_PROMISC_IN_BSS; ieee80211_configure_filter() 48 new_flags |= FIF_ALLMULTI; ieee80211_configure_filter() 52 new_flags |= FIF_BCN_PRBRESP_PROMISC; ieee80211_configure_filter() 55 new_flags |= FIF_PROBE_REQ; ieee80211_configure_filter() 58 new_flags |= FIF_FCSFAIL; ieee80211_configure_filter() 61 new_flags |= FIF_PLCPFAIL; ieee80211_configure_filter() 64 new_flags |= FIF_CONTROL; ieee80211_configure_filter() 67 new_flags |= FIF_OTHER_BSS; ieee80211_configure_filter() 70 new_flags |= FIF_PSPOLL; ieee80211_configure_filter() 73 changed_flags = local->filter_flags ^ new_flags; ieee80211_configure_filter() 79 new_flags |= (1<<31); ieee80211_configure_filter() 81 drv_configure_filter(local, changed_flags, &new_flags, mc); ieee80211_configure_filter() 83 WARN_ON(new_flags & (1<<31)); ieee80211_configure_filter() 85 local->filter_flags = new_flags & ~(1<<31); ieee80211_configure_filter()
|
/linux-4.1.27/drivers/net/wireless/ath/ath5k/ |
H A D | mac80211-ops.c | 369 unsigned int *new_flags, u64 multicast) ath5k_configure_filter() 387 *new_flags &= SUPPORTED_FIF_FLAGS; ath5k_configure_filter() 397 if (*new_flags & FIF_PROMISC_IN_BSS) ath5k_configure_filter() 407 if (*new_flags & FIF_ALLMULTI) { ath5k_configure_filter() 413 if (*new_flags & (FIF_FCSFAIL | FIF_PLCPFAIL)) ath5k_configure_filter() 418 if ((*new_flags & FIF_BCN_PRBRESP_PROMISC) || (ah->nvifs > 1)) ath5k_configure_filter() 426 if (*new_flags & FIF_CONTROL) ath5k_configure_filter() 477 ah->fif_filter_flags = *new_flags; ath5k_configure_filter() 368 ath5k_configure_filter(struct ieee80211_hw *hw, unsigned int changed_flags, unsigned int *new_flags, u64 multicast) ath5k_configure_filter() argument
|
/linux-4.1.27/drivers/net/wireless/libertas_tf/ |
H A D | main.c | 445 unsigned int *new_flags, lbtf_op_configure_filter() 454 *new_flags &= SUPPORTED_FIF_FLAGS; lbtf_op_configure_filter() 461 if (*new_flags & (FIF_PROMISC_IN_BSS)) lbtf_op_configure_filter() 465 if (*new_flags & (FIF_ALLMULTI) || lbtf_op_configure_filter() 443 lbtf_op_configure_filter(struct ieee80211_hw *hw, unsigned int changed_flags, unsigned int *new_flags, u64 multicast) lbtf_op_configure_filter() argument
|
/linux-4.1.27/fs/gfs2/ |
H A D | file.c | 220 u32 new_flags, flags; do_gfs2_set_flags() local 236 new_flags = (flags & ~mask) | (reqflags & mask); do_gfs2_set_flags() 237 if ((new_flags ^ flags) == 0) do_gfs2_set_flags() 241 if ((new_flags ^ flags) & ~GFS2_FLAGS_USER_SET) do_gfs2_set_flags() 245 if (IS_IMMUTABLE(inode) && (new_flags & GFS2_DIF_IMMUTABLE)) do_gfs2_set_flags() 247 if (IS_APPEND(inode) && (new_flags & GFS2_DIF_APPENDONLY)) do_gfs2_set_flags() 249 if (((new_flags ^ flags) & GFS2_DIF_IMMUTABLE) && do_gfs2_set_flags() 257 if ((flags ^ new_flags) & GFS2_DIF_JDATA) { do_gfs2_set_flags() 274 ip->i_diskflags = new_flags; do_gfs2_set_flags()
|
/linux-4.1.27/drivers/gpu/drm/ttm/ |
H A D | ttm_bo.c | 1005 uint32_t *new_flags) ttm_bo_mem_compat() 1016 *new_flags = heap->flags; ttm_bo_mem_compat() 1017 if ((*new_flags & mem->placement & TTM_PL_MASK_CACHING) && ttm_bo_mem_compat() 1018 (*new_flags & mem->placement & TTM_PL_MASK_MEM)) ttm_bo_mem_compat() 1029 *new_flags = heap->flags; ttm_bo_mem_compat() 1030 if ((*new_flags & mem->placement & TTM_PL_MASK_CACHING) && ttm_bo_mem_compat() 1031 (*new_flags & mem->placement & TTM_PL_MASK_MEM)) ttm_bo_mem_compat() 1044 uint32_t new_flags; ttm_bo_validate() local 1050 if (!ttm_bo_mem_compat(placement, &bo->mem, &new_flags)) { ttm_bo_validate() 1060 ttm_flag_masked(&bo->mem.placement, new_flags, ttm_bo_validate() 1003 ttm_bo_mem_compat(struct ttm_placement *placement, struct ttm_mem_reg *mem, uint32_t *new_flags) ttm_bo_mem_compat() argument
|
/linux-4.1.27/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac.c | 1028 unsigned int new_flags; pasemi_adjust_link() local 1048 new_flags = flags & ~(PAS_MAC_CFG_PCFG_HD | PAS_MAC_CFG_PCFG_SPD_M | pasemi_adjust_link() 1052 new_flags |= PAS_MAC_CFG_PCFG_HD; pasemi_adjust_link() 1056 new_flags |= PAS_MAC_CFG_PCFG_SPD_1G | pasemi_adjust_link() 1060 new_flags |= PAS_MAC_CFG_PCFG_SPD_100M | pasemi_adjust_link() 1064 new_flags |= PAS_MAC_CFG_PCFG_SPD_10M | pasemi_adjust_link() 1072 msg = mac->link != mac->phydev->link || flags != new_flags; pasemi_adjust_link() 1078 if (new_flags != flags) pasemi_adjust_link() 1079 write_mac_reg(mac, PAS_MAC_CFG_PCFG, new_flags); pasemi_adjust_link()
|
/linux-4.1.27/drivers/net/wireless/ath/carl9170/ |
H A D | main.c | 989 unsigned int *new_flags, carl9170_op_configure_filter() 995 *new_flags &= FIF_ALLMULTI | ar->rx_filter_caps; carl9170_op_configure_filter() 1002 ar->filter_state = *new_flags; carl9170_op_configure_filter() 1008 if (*new_flags & FIF_ALLMULTI) carl9170_op_configure_filter() 1015 ar->sniffer_enabled = !!(*new_flags & carl9170_op_configure_filter() 1027 if (!(*new_flags & (FIF_FCSFAIL | FIF_PLCPFAIL))) carl9170_op_configure_filter() 1030 if (!(*new_flags & FIF_CONTROL)) carl9170_op_configure_filter() 1033 if (!(*new_flags & FIF_PSPOLL)) carl9170_op_configure_filter() 1036 if (!(*new_flags & (FIF_OTHER_BSS | FIF_PROMISC_IN_BSS))) { carl9170_op_configure_filter() 987 carl9170_op_configure_filter(struct ieee80211_hw *hw, unsigned int changed_flags, unsigned int *new_flags, u64 multicast) carl9170_op_configure_filter() argument
|
/linux-4.1.27/drivers/staging/lustre/lustre/fld/ |
H A D | fld_cache.c | 390 __u32 new_flags = f_new->fce_range.lsr_flags; fld_cache_insert_nolock() local 407 new_flags != f_curr->fce_range.lsr_flags)) list_for_each_entry_safe() 413 new_flags == f_curr->fce_range.lsr_flags) { list_for_each_entry_safe()
|
/linux-4.1.27/net/ceph/ |
H A D | osdmap.c | 1208 __s32 new_flags, max; osdmap_apply_incremental() local 1219 /* fsid, epoch, modified, new_pool_max, new_flags */ osdmap_apply_incremental() 1227 new_flags = ceph_decode_32(p); osdmap_apply_incremental() 1250 if (new_flags >= 0) osdmap_apply_incremental() 1251 map->flags = new_flags; osdmap_apply_incremental()
|
/linux-4.1.27/include/rxrpc/ |
H A D | packet.h | 81 * - new_flags = j_flags
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/ |
H A D | core.c | 807 unsigned int *new_flags, u64 multicast) rtl_op_configure_filter() 813 *new_flags &= RTL_SUPPORTED_FILTERS; rtl_op_configure_filter() 819 if (*new_flags & FIF_ALLMULTI) { rtl_op_configure_filter() 834 if (*new_flags & FIF_FCSFAIL) { rtl_op_configure_filter() 855 if (*new_flags & FIF_BCN_PRBRESP_PROMISC) rtl_op_configure_filter() 865 if (*new_flags & FIF_CONTROL) { rtl_op_configure_filter() 880 if (*new_flags & FIF_OTHER_BSS) { rtl_op_configure_filter() 805 rtl_op_configure_filter(struct ieee80211_hw *hw, unsigned int changed_flags, unsigned int *new_flags, u64 multicast) rtl_op_configure_filter() argument
|
/linux-4.1.27/drivers/net/wireless/ |
H A D | adm8211.c | 1348 unsigned int new_flags; adm8211_configure_filter() local 1354 new_flags = 0; adm8211_configure_filter() 1357 new_flags |= FIF_PROMISC_IN_BSS; adm8211_configure_filter() 1362 new_flags |= FIF_ALLMULTI; adm8211_configure_filter() 1388 *total_flags = new_flags; adm8211_configure_filter()
|
/linux-4.1.27/drivers/net/wireless/zd1211rw/ |
H A D | zd_mac.c | 1237 unsigned int *new_flags, zd_op_configure_filter() 1250 *new_flags &= SUPPORTED_FIF_FLAGS; zd_op_configure_filter() 1259 if (*new_flags & (FIF_PROMISC_IN_BSS | FIF_ALLMULTI)) zd_op_configure_filter() 1263 mac->pass_failed_fcs = !!(*new_flags & FIF_FCSFAIL); zd_op_configure_filter() 1264 mac->pass_ctrl = !!(*new_flags & FIF_CONTROL); zd_op_configure_filter() 1235 zd_op_configure_filter(struct ieee80211_hw *hw, unsigned int changed_flags, unsigned int *new_flags, u64 multicast) zd_op_configure_filter() argument
|
/linux-4.1.27/fs/ocfs2/ |
H A D | alloc.h | 136 int new_flags, int clear_flags);
|
H A D | alloc.c | 5105 * new_flags: the flags we want to set. 5119 int new_flags, int clear_flags) ocfs2_change_extent_flag() 5156 if (new_flags && (rec->e_flags & new_flags)) { ocfs2_change_extent_flag() 5160 new_flags); ocfs2_change_extent_flag() 5177 if (new_flags) ocfs2_change_extent_flag() 5178 split_rec.e_flags |= new_flags; ocfs2_change_extent_flag() 5114 ocfs2_change_extent_flag(handle_t *handle, struct ocfs2_extent_tree *et, u32 cpos, u32 len, u32 phys, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc, int new_flags, int clear_flags) ocfs2_change_extent_flag() argument
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
H A D | ar9003_mci.c | 1045 u32 new_flags, to_set, to_clear; ar9003_mci_send_2g5g_status() local 1051 new_flags = MCI_2G_FLAGS; ar9003_mci_send_2g5g_status() 1055 new_flags = MCI_5G_FLAGS; ar9003_mci_send_2g5g_status()
|
/linux-4.1.27/arch/x86/mm/ |
H A D | pat.c | 106 unsigned long new_flags; set_page_memtype() local 125 new_flags = (old_flags & _PGMT_CLEAR_MASK) | memtype_flags; set_page_memtype() 126 } while (cmpxchg(&pg->flags, old_flags, new_flags) != old_flags); set_page_memtype()
|
/linux-4.1.27/net/core/ |
H A D | net-sysfs.c | 309 static int change_flags(struct net_device *dev, unsigned long new_flags) change_flags() argument 311 return dev_change_flags(dev, (unsigned int) new_flags); change_flags()
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | serial_core.c | 726 upf_t old_flags, new_flags; uart_set_info() local 757 new_flags = new_info->flags; uart_set_info() 768 (((new_flags ^ old_flags) & ~UPF_USR_MASK) != 0)) uart_set_info() 771 (new_flags & UPF_USR_MASK)); uart_set_info() 876 (new_flags & UPF_CHANGE_MASK); uart_set_info()
|
/linux-4.1.27/fs/ |
H A D | inode.c | 1968 unsigned int old_flags, new_flags; inode_set_flags() local 1973 new_flags = (old_flags & ~mask) | flags; inode_set_flags() 1975 new_flags) != old_flags)); inode_set_flags()
|
H A D | namespace.c | 3202 int new_flags = *new_mnt_flags; fs_fully_visible() local 3225 !(new_flags & MNT_READONLY)) fs_fully_visible() 3228 !(new_flags & MNT_NODEV)) fs_fully_visible() 3231 ((mnt->mnt.mnt_flags & MNT_ATIME_MASK) != (new_flags & MNT_ATIME_MASK))) fs_fully_visible()
|
/linux-4.1.27/fs/btrfs/ |
H A D | ctree.c | 986 u64 new_flags = 0; update_ref_for_cow() local 1044 new_flags |= BTRFS_BLOCK_FLAG_FULL_BACKREF; update_ref_for_cow() 1054 if (new_flags != 0) { update_ref_for_cow() 1060 new_flags, level, 0); update_ref_for_cow()
|