Home
last modified time | relevance | path

Searched refs:newmask (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/net/bench/page_pool/
H A Dtime_bench.c258 cpumask_t newmask = CPU_MASK_NONE; in invoke_test_on_cpu_func() local
262 cpumask_set_cpu(cpu->rec.cpu, &newmask); in invoke_test_on_cpu_func()
263 set_cpus_allowed_ptr(current, &newmask); in invoke_test_on_cpu_func()
/linux/net/sched/
H A Dcls_flower.c2238 struct fl_flow_mask *newmask; in fl_create_new_mask()
2241 newmask = kzalloc_obj(*newmask, GFP_KERNEL_ACCOUNT); in fl_create_new_mask()
2242 if (!newmask) in fl_create_new_mask()
2245 fl_mask_copy(newmask, mask); in fl_create_new_mask()
2247 if ((newmask->key.tp_range.tp_min.dst && in fl_create_new_mask()
2248 newmask->key.tp_range.tp_max.dst) || in fl_create_new_mask()
2249 (newmask->key.tp_range.tp_min.src && in fl_create_new_mask()
2250 newmask->key.tp_range.tp_max.src)) in fl_create_new_mask()
2251 newmask in fl_create_new_mask()
2237 struct fl_flow_mask *newmask; fl_create_new_mask() local
2285 struct fl_flow_mask *newmask; fl_check_assign_mask() local
[all...]
/linux/fs/resctrl/
H A Drdtgroup.c402 static int cpus_mon_write(struct rdtgroup *rdtgrp, cpumask_var_t newmask, in cpus_mon_write() argument
409 cpumask_andnot(tmpmask, newmask, &prgrp->cpu_mask); in cpus_mon_write()
416 cpumask_andnot(tmpmask, &rdtgrp->cpu_mask, newmask); in cpus_mon_write()
427 cpumask_andnot(tmpmask, newmask, &rdtgrp->cpu_mask); in cpus_mon_write()
440 cpumask_copy(&rdtgrp->cpu_mask, newmask); in cpus_mon_write()
455 static int cpus_ctrl_write(struct rdtgroup *rdtgrp, cpumask_var_t newmask, in cpus_ctrl_write() argument
462 cpumask_andnot(tmpmask, &rdtgrp->cpu_mask, newmask); in cpus_ctrl_write()
481 cpumask_andnot(tmpmask, newmask, &rdtgrp->cpu_mask); in cpus_ctrl_write()
494 cpumask_copy(&rdtgrp->cpu_mask, newmask); in cpus_ctrl_write()
513 cpumask_var_t tmpmask = CPUMASK_VAR_NULL, newmask = CPUMASK_VAR_NULL; in rdtgroup_cpus_write() local
[all …]
/linux/kernel/cgroup/
H A Dcpuset.c1774 struct cpumask *newmask, in update_parent_effective_cpumask() argument
1822 if (!newmask && xcpus_empty(cs)) in update_parent_effective_cpumask()
1880 } else if (newmask) { in update_parent_effective_cpumask()
1884 if (cpumask_empty(newmask)) { in update_parent_effective_cpumask()
1890 nocpu |= tasks_nocpu_error(parent, cs, newmask); in update_parent_effective_cpumask()
1910 newmask, parent->effective_xcpus); in update_parent_effective_cpumask()
1912 cpumask_andnot(tmp->addmask, cs->effective_xcpus, newmask); in update_parent_effective_cpumask()
1916 cpumask_andnot(tmp->delmask, newmask, cs->effective_xcpus); in update_parent_effective_cpumask()
2081 if ((cmd == partcmd_update) && !newmask) in update_parent_effective_cpumask()
/linux/fs/notify/fanotify/
H A Dfanotify_user.c1225 __u32 oldmask, newmask; in fanotify_mark_remove_from_mask() local
1236 newmask = fsnotify_calc_mask(fsn_mark); in fanotify_mark_remove_from_mask()
1246 return oldmask & ~newmask; in fanotify_mark_remove_from_mask()
/linux/net/openvswitch/
H A Dflow_netlink.c1781 struct nlattr *newmask = NULL; in ovs_nla_get_match() local
1810 newmask = kmemdup(nla_key, in ovs_nla_get_match()
1813 if (!newmask) in ovs_nla_get_match()
1816 mask_set_nlattr(newmask, 0xff); in ovs_nla_get_match()
1825 nla_mask = newmask; in ovs_nla_get_match()
1850 kfree(newmask); in ovs_nla_get_match()
/linux/net/netfilter/ipvs/
H A Dip_vs_ctl.c2497 cpumask_var_t newmask; in ipvs_proc_est_cpumask_set() local
2500 if (!zalloc_cpumask_var(&newmask, GFP_KERNEL)) in ipvs_proc_est_cpumask_set()
2503 ret = cpulist_parse(buffer, newmask); in ipvs_proc_est_cpumask_set()
2516 cpumask_and(newmask, newmask, &current->cpus_mask); in ipvs_proc_est_cpumask_set()
2517 cpumask_copy(*valp, newmask); in ipvs_proc_est_cpumask_set()
2527 free_cpumask_var(newmask); in ipvs_proc_est_cpumask_set()