| /linux/tools/testing/selftests/net/bench/page_pool/ |
| H A D | time_bench.c | 258 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 D | cls_flower.c | 2237 struct fl_flow_mask *newmask; in fl_create_new_mask() local 2240 newmask = kzalloc(sizeof(*newmask), GFP_KERNEL); in fl_create_new_mask() 2241 if (!newmask) in fl_create_new_mask() 2244 fl_mask_copy(newmask, mask); in fl_create_new_mask() 2246 if ((newmask->key.tp_range.tp_min.dst && in fl_create_new_mask() 2247 newmask->key.tp_range.tp_max.dst) || in fl_create_new_mask() 2248 (newmask->key.tp_range.tp_min.src && in fl_create_new_mask() 2249 newmask->key.tp_range.tp_max.src)) in fl_create_new_mask() 2250 newmask->flags |= TCA_FLOWER_MASK_FLAGS_RANGE; in fl_create_new_mask() 2252 err = fl_init_mask_hashtable(newmask); in fl_create_new_mask() [all …]
|
| /linux/tools/gpio/ |
| H A D | gpio-sloppy-logic-analyzer.sh | 85 for f in $(find "$1" -iname "$2"); do echo "$newmask" > "$f" 2>/dev/null || true; done 103 newmask=$(printf "%x" $((0x$oldmask & ~(1 << isol_cpu)))) 113 taskset -p "$newmask" "$p" || continue
|
| /linux/fs/resctrl/ |
| H A D | rdtgroup.c | 397 static int cpus_mon_write(struct rdtgroup *rdtgrp, cpumask_var_t newmask, in cpus_mon_write() argument 404 cpumask_andnot(tmpmask, newmask, &prgrp->cpu_mask); in cpus_mon_write() 411 cpumask_andnot(tmpmask, &rdtgrp->cpu_mask, newmask); in cpus_mon_write() 422 cpumask_andnot(tmpmask, newmask, &rdtgrp->cpu_mask); in cpus_mon_write() 435 cpumask_copy(&rdtgrp->cpu_mask, newmask); in cpus_mon_write() 450 static int cpus_ctrl_write(struct rdtgroup *rdtgrp, cpumask_var_t newmask, in cpus_ctrl_write() argument 457 cpumask_andnot(tmpmask, &rdtgrp->cpu_mask, newmask); in cpus_ctrl_write() 476 cpumask_andnot(tmpmask, newmask, &rdtgrp->cpu_mask); in cpus_ctrl_write() 489 cpumask_copy(&rdtgrp->cpu_mask, newmask); in cpus_ctrl_write() 508 cpumask_var_t tmpmask, newmask, tmpmask1; in rdtgroup_cpus_write() local [all …]
|
| /linux/kernel/cgroup/ |
| H A D | cpuset.c | 1741 struct cpumask *newmask, in update_parent_effective_cpumask() argument 1790 if (!newmask && xcpus_empty(cs)) in update_parent_effective_cpumask() 1846 } else if (newmask) { in update_parent_effective_cpumask() 1850 if (cpumask_empty(newmask)) { in update_parent_effective_cpumask() 1856 nocpu |= tasks_nocpu_error(parent, cs, newmask); in update_parent_effective_cpumask() 1875 newmask, parent->effective_xcpus); in update_parent_effective_cpumask() 1877 cpumask_andnot(tmp->addmask, xcpus, newmask); in update_parent_effective_cpumask() 1881 cpumask_andnot(tmp->delmask, newmask, xcpus); in update_parent_effective_cpumask() 2041 if ((cmd == partcmd_update) && !newmask) in update_parent_effective_cpumask()
|
| /linux/arch/alpha/kernel/ |
| H A D | signal.c | 44 SYSCALL_DEFINE2(osf_sigprocmask, int, how, unsigned long, newmask) in SYSCALL_DEFINE2() argument 50 siginitset(&mask, newmask & _BLOCKABLE); in SYSCALL_DEFINE2()
|
| /linux/fs/notify/fanotify/ |
| H A D | fanotify_user.c | 1245 __u32 oldmask, newmask; in fanotify_mark_remove_from_mask() local 1256 newmask = fsnotify_calc_mask(fsn_mark); in fanotify_mark_remove_from_mask() 1266 return oldmask & ~newmask; in fanotify_mark_remove_from_mask()
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_ctl.c | 1933 cpumask_var_t newmask; in ipvs_proc_est_cpumask_set() local 1936 if (!zalloc_cpumask_var(&newmask, GFP_KERNEL)) in ipvs_proc_est_cpumask_set() 1939 ret = cpulist_parse(buffer, newmask); in ipvs_proc_est_cpumask_set() 1952 cpumask_and(newmask, newmask, ¤t->cpus_mask); in ipvs_proc_est_cpumask_set() 1953 cpumask_copy(*valp, newmask); in ipvs_proc_est_cpumask_set() 1963 free_cpumask_var(newmask); in ipvs_proc_est_cpumask_set()
|
| /linux/net/openvswitch/ |
| H A D | flow_netlink.c | 1818 struct nlattr *newmask = NULL; in ovs_nla_get_match() local 1847 newmask = kmemdup(nla_key, in ovs_nla_get_match() 1850 if (!newmask) in ovs_nla_get_match() 1853 mask_set_nlattr(newmask, 0xff); in ovs_nla_get_match() 1862 nla_mask = newmask; in ovs_nla_get_match() 1887 kfree(newmask); in ovs_nla_get_match()
|
| /linux/mm/ |
| H A D | mempolicy.c | 528 static void mpol_rebind_policy(struct mempolicy *pol, const nodemask_t *newmask) in mpol_rebind_policy() argument 533 nodes_equal(pol->w.cpuset_mems_allowed, *newmask)) in mpol_rebind_policy() 536 mpol_ops[pol->mode].rebind(pol, newmask); in mpol_rebind_policy()
|
| /linux/kernel/ |
| H A D | signal.c | 4789 SYSCALL_DEFINE1(ssetmask, int, newmask) in SYSCALL_DEFINE1() argument 4794 siginitset(&newset, newmask); in SYSCALL_DEFINE1()
|
| /linux/include/linux/ |
| H A D | syscalls.h | 1136 asmlinkage long sys_ssetmask(int newmask);
|