Home
last modified time | relevance | path

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

/linux-6.15/net/sched/
H A Dcls_flower.c2237 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()
2256 fl_init_dissector(&newmask->dissector, &newmask->key); in fl_create_new_mask()
2270 return newmask; in fl_create_new_mask()
2275 kfree(newmask); in fl_create_new_mask()
2285 struct fl_flow_mask *newmask; in fl_check_assign_mask() local
2306 if (IS_ERR(newmask)) { in fl_check_assign_mask()
2307 ret = PTR_ERR(newmask); in fl_check_assign_mask()
[all …]
/linux-6.15/tools/gpio/
H A Dgpio-sloppy-logic-analyzer.sh85 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-6.15/arch/x86/kernel/cpu/resctrl/
H A Drdtgroup.c414 cpumask_andnot(tmpmask, newmask, &prgrp->cpu_mask); in cpus_mon_write()
445 cpumask_copy(&rdtgrp->cpu_mask, newmask); in cpus_mon_write()
499 cpumask_copy(&rdtgrp->cpu_mask, newmask); in cpus_ctrl_write()
518 cpumask_var_t tmpmask, newmask, tmpmask1; in rdtgroup_cpus_write() local
527 if (!zalloc_cpumask_var(&newmask, GFP_KERNEL)) { in rdtgroup_cpus_write()
533 free_cpumask_var(newmask); in rdtgroup_cpus_write()
551 ret = cpulist_parse(buf, newmask); in rdtgroup_cpus_write()
553 ret = cpumask_parse(buf, newmask); in rdtgroup_cpus_write()
561 cpumask_andnot(tmpmask, newmask, cpu_online_mask); in rdtgroup_cpus_write()
571 ret = cpus_mon_write(rdtgrp, newmask, tmpmask); in rdtgroup_cpus_write()
[all …]
/linux-6.15/kernel/cgroup/
H A Dcpuset.c1641 struct cpumask *newmask, in update_parent_effective_cpumask() argument
1690 if (!newmask && xcpus_empty(cs)) in update_parent_effective_cpumask()
1739 } else if (newmask) { in update_parent_effective_cpumask()
1743 if (cpumask_empty(newmask)) { in update_parent_effective_cpumask()
1749 nocpu |= tasks_nocpu_error(parent, cs, newmask); in update_parent_effective_cpumask()
1768 newmask, parent->effective_xcpus); in update_parent_effective_cpumask()
1770 cpumask_andnot(tmp->addmask, xcpus, newmask); in update_parent_effective_cpumask()
1774 cpumask_andnot(tmp->delmask, newmask, xcpus); in update_parent_effective_cpumask()
1926 if ((cmd == partcmd_update) && !newmask) in update_parent_effective_cpumask()
/linux-6.15/arch/alpha/kernel/
H A Dsignal.c44 SYSCALL_DEFINE2(osf_sigprocmask, int, how, unsigned long, newmask) in SYSCALL_DEFINE2() argument
50 siginitset(&mask, newmask & _BLOCKABLE); in SYSCALL_DEFINE2()
/linux-6.15/fs/notify/fanotify/
H A Dfanotify_user.c1148 __u32 oldmask, newmask; in fanotify_mark_remove_from_mask() local
1159 newmask = fsnotify_calc_mask(fsn_mark); in fanotify_mark_remove_from_mask()
1169 return oldmask & ~newmask; in fanotify_mark_remove_from_mask()
/linux-6.15/net/netfilter/ipvs/
H A Dip_vs_ctl.c1932 cpumask_var_t newmask; in ipvs_proc_est_cpumask_set() local
1935 if (!zalloc_cpumask_var(&newmask, GFP_KERNEL)) in ipvs_proc_est_cpumask_set()
1938 ret = cpulist_parse(buffer, newmask); in ipvs_proc_est_cpumask_set()
1951 cpumask_and(newmask, newmask, &current->cpus_mask); in ipvs_proc_est_cpumask_set()
1952 cpumask_copy(*valp, newmask); in ipvs_proc_est_cpumask_set()
1962 free_cpumask_var(newmask); in ipvs_proc_est_cpumask_set()
/linux-6.15/net/openvswitch/
H A Dflow_netlink.c1818 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-6.15/mm/
H A Dmempolicy.c419 static void mpol_rebind_policy(struct mempolicy *pol, const nodemask_t *newmask) in mpol_rebind_policy() argument
424 nodes_equal(pol->w.cpuset_mems_allowed, *newmask)) in mpol_rebind_policy()
427 mpol_ops[pol->mode].rebind(pol, newmask); in mpol_rebind_policy()
/linux-6.15/kernel/
H A Dsignal.c4785 SYSCALL_DEFINE1(ssetmask, int, newmask) in SYSCALL_DEFINE1() argument
4790 siginitset(&newset, newmask); in SYSCALL_DEFINE1()
/linux-6.15/include/linux/
H A Dsyscalls.h1127 asmlinkage long sys_ssetmask(int newmask);