/Linux-v5.10/arch/x86/kernel/cpu/resctrl/ |
D | rdtgroup.c | 333 static int cpus_mon_write(struct rdtgroup *rdtgrp, cpumask_var_t newmask, in cpus_mon_write() argument 340 cpumask_andnot(tmpmask, newmask, &prgrp->cpu_mask); in cpus_mon_write() 347 cpumask_andnot(tmpmask, &rdtgrp->cpu_mask, newmask); in cpus_mon_write() 358 cpumask_andnot(tmpmask, newmask, &rdtgrp->cpu_mask); in cpus_mon_write() 371 cpumask_copy(&rdtgrp->cpu_mask, newmask); in cpus_mon_write() 386 static int cpus_ctrl_write(struct rdtgroup *rdtgrp, cpumask_var_t newmask, in cpus_ctrl_write() argument 393 cpumask_andnot(tmpmask, &rdtgrp->cpu_mask, newmask); in cpus_ctrl_write() 412 cpumask_andnot(tmpmask, newmask, &rdtgrp->cpu_mask); in cpus_ctrl_write() 425 cpumask_copy(&rdtgrp->cpu_mask, newmask); in cpus_ctrl_write() 444 cpumask_var_t tmpmask, newmask, tmpmask1; in rdtgroup_cpus_write() local [all …]
|
/Linux-v5.10/net/sched/ |
D | cls_flower.c | 1764 struct fl_flow_mask *newmask; in fl_create_new_mask() local 1767 newmask = kzalloc(sizeof(*newmask), GFP_KERNEL); in fl_create_new_mask() 1768 if (!newmask) in fl_create_new_mask() 1771 fl_mask_copy(newmask, mask); in fl_create_new_mask() 1773 if ((newmask->key.tp_range.tp_min.dst && in fl_create_new_mask() 1774 newmask->key.tp_range.tp_max.dst) || in fl_create_new_mask() 1775 (newmask->key.tp_range.tp_min.src && in fl_create_new_mask() 1776 newmask->key.tp_range.tp_max.src)) in fl_create_new_mask() 1777 newmask->flags |= TCA_FLOWER_MASK_FLAGS_RANGE; in fl_create_new_mask() 1779 err = fl_init_mask_hashtable(newmask); in fl_create_new_mask() [all …]
|
/Linux-v5.10/drivers/mmc/host/ |
D | s3cmci.c | 257 u32 newmask; in enable_imask() local 259 newmask = readl(host->base + host->sdiimsk); in enable_imask() 260 newmask |= imask; in enable_imask() 262 writel(newmask, host->base + host->sdiimsk); in enable_imask() 264 return newmask; in enable_imask() 269 u32 newmask; in disable_imask() local 271 newmask = readl(host->base + host->sdiimsk); in disable_imask() 272 newmask &= ~imask; in disable_imask() 274 writel(newmask, host->base + host->sdiimsk); in disable_imask() 276 return newmask; in disable_imask()
|
/Linux-v5.10/kernel/cgroup/ |
D | cpuset.c | 1122 struct cpumask *newmask, in update_parent_subparts_cpumask() argument 1138 (newmask && cpumask_empty(newmask)) || in update_parent_subparts_cpumask() 1139 (!newmask && cpumask_empty(cpuset->cpus_allowed))) in update_parent_subparts_cpumask() 1169 } else if (newmask) { in update_parent_subparts_cpumask() 1177 cpumask_andnot(tmp->delmask, cpuset->cpus_allowed, newmask); in update_parent_subparts_cpumask() 1181 cpumask_and(tmp->addmask, newmask, parent->effective_cpus); in update_parent_subparts_cpumask()
|
/Linux-v5.10/arch/alpha/kernel/ |
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-v5.10/net/openvswitch/ |
D | flow_netlink.c | 1781 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-v5.10/mm/ |
D | mempolicy.c | 375 static void mpol_rebind_policy(struct mempolicy *pol, const nodemask_t *newmask) in mpol_rebind_policy() argument 380 nodes_equal(pol->w.cpuset_mems_allowed, *newmask)) in mpol_rebind_policy() 383 mpol_ops[pol->mode].rebind(pol, newmask); in mpol_rebind_policy()
|
/Linux-v5.10/kernel/sched/ |
D | sched.h | 1805 const struct cpumask *newmask);
|
/Linux-v5.10/kernel/ |
D | signal.c | 4412 SYSCALL_DEFINE1(ssetmask, int, newmask) in SYSCALL_DEFINE1() argument 4417 siginitset(&newset, newmask); in SYSCALL_DEFINE1()
|
/Linux-v5.10/include/linux/ |
D | syscalls.h | 1146 asmlinkage long sys_ssetmask(int newmask);
|