Home
last modified time | relevance | path

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

/linux-6.12.1/net/sched/
Dcls_flower.c2236 struct fl_flow_mask *newmask; in fl_create_new_mask() local
2239 newmask = kzalloc(sizeof(*newmask), GFP_KERNEL); in fl_create_new_mask()
2240 if (!newmask) in fl_create_new_mask()
2243 fl_mask_copy(newmask, mask); in fl_create_new_mask()
2245 if ((newmask->key.tp_range.tp_min.dst && in fl_create_new_mask()
2246 newmask->key.tp_range.tp_max.dst) || in fl_create_new_mask()
2247 (newmask->key.tp_range.tp_min.src && in fl_create_new_mask()
2248 newmask->key.tp_range.tp_max.src)) in fl_create_new_mask()
2249 newmask->flags |= TCA_FLOWER_MASK_FLAGS_RANGE; in fl_create_new_mask()
2251 err = fl_init_mask_hashtable(newmask); in fl_create_new_mask()
[all …]
/linux-6.12.1/arch/x86/kernel/cpu/resctrl/
Drdtgroup.c370 static int cpus_mon_write(struct rdtgroup *rdtgrp, cpumask_var_t newmask, in cpus_mon_write() argument
377 cpumask_andnot(tmpmask, newmask, &prgrp->cpu_mask); in cpus_mon_write()
384 cpumask_andnot(tmpmask, &rdtgrp->cpu_mask, newmask); in cpus_mon_write()
395 cpumask_andnot(tmpmask, newmask, &rdtgrp->cpu_mask); in cpus_mon_write()
408 cpumask_copy(&rdtgrp->cpu_mask, newmask); in cpus_mon_write()
423 static int cpus_ctrl_write(struct rdtgroup *rdtgrp, cpumask_var_t newmask, in cpus_ctrl_write() argument
430 cpumask_andnot(tmpmask, &rdtgrp->cpu_mask, newmask); in cpus_ctrl_write()
449 cpumask_andnot(tmpmask, newmask, &rdtgrp->cpu_mask); in cpus_ctrl_write()
462 cpumask_copy(&rdtgrp->cpu_mask, newmask); in cpus_ctrl_write()
481 cpumask_var_t tmpmask, newmask, tmpmask1; in rdtgroup_cpus_write() local
[all …]
/linux-6.12.1/tools/gpio/
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.12.1/kernel/cgroup/
Dcpuset.c1431 static void remote_cpus_update(struct cpuset *cs, struct cpumask *newmask, in remote_cpus_update() argument
1443 if (cpumask_empty(newmask)) in remote_cpus_update()
1446 adding = cpumask_andnot(tmp->addmask, newmask, cs->effective_xcpus); in remote_cpus_update()
1447 deleting = cpumask_andnot(tmp->delmask, cs->effective_xcpus, newmask); in remote_cpus_update()
1488 static void remote_partition_check(struct cpuset *cs, struct cpumask *newmask, in remote_partition_check() argument
1497 if (!cpumask_andnot(delmask, cs->effective_xcpus, newmask) || in remote_partition_check()
1577 struct cpumask *newmask, in update_parent_effective_cpumask() argument
1626 if (!newmask && xcpus_empty(cs)) in update_parent_effective_cpumask()
1665 } else if (newmask) { in update_parent_effective_cpumask()
1669 if (cpumask_empty(newmask)) { in update_parent_effective_cpumask()
[all …]
/linux-6.12.1/arch/alpha/kernel/
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.12.1/fs/notify/fanotify/
Dfanotify_user.c1054 __u32 oldmask, newmask; in fanotify_mark_remove_from_mask() local
1065 newmask = fsnotify_calc_mask(fsn_mark); in fanotify_mark_remove_from_mask()
1075 return oldmask & ~newmask; in fanotify_mark_remove_from_mask()
/linux-6.12.1/net/netfilter/ipvs/
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.12.1/net/openvswitch/
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.12.1/mm/
Dmempolicy.c388 static void mpol_rebind_policy(struct mempolicy *pol, const nodemask_t *newmask) in mpol_rebind_policy() argument
393 nodes_equal(pol->w.cpuset_mems_allowed, *newmask)) in mpol_rebind_policy()
396 mpol_ops[pol->mode].rebind(pol, newmask); in mpol_rebind_policy()
/linux-6.12.1/kernel/
Dsignal.c4653 SYSCALL_DEFINE1(ssetmask, int, newmask) in SYSCALL_DEFINE1() argument
4658 siginitset(&newset, newmask); in SYSCALL_DEFINE1()
/linux-6.12.1/include/linux/
Dsyscalls.h1110 asmlinkage long sys_ssetmask(int newmask);