| /Linux-v5.15/arch/x86/kernel/cpu/resctrl/ |
| D | rdtgroup.c | 336 static int cpus_mon_write(struct rdtgroup *rdtgrp, cpumask_var_t newmask, in cpus_mon_write() argument 343 cpumask_andnot(tmpmask, newmask, &prgrp->cpu_mask); in cpus_mon_write() 350 cpumask_andnot(tmpmask, &rdtgrp->cpu_mask, newmask); in cpus_mon_write() 361 cpumask_andnot(tmpmask, newmask, &rdtgrp->cpu_mask); in cpus_mon_write() 374 cpumask_copy(&rdtgrp->cpu_mask, newmask); in cpus_mon_write() 389 static int cpus_ctrl_write(struct rdtgroup *rdtgrp, cpumask_var_t newmask, in cpus_ctrl_write() argument 396 cpumask_andnot(tmpmask, &rdtgrp->cpu_mask, newmask); in cpus_ctrl_write() 415 cpumask_andnot(tmpmask, newmask, &rdtgrp->cpu_mask); in cpus_ctrl_write() 428 cpumask_copy(&rdtgrp->cpu_mask, newmask); in cpus_ctrl_write() 447 cpumask_var_t tmpmask, newmask, tmpmask1; in rdtgroup_cpus_write() local [all …]
|
| /Linux-v5.15/net/sched/ |
| D | cls_flower.c | 1822 struct fl_flow_mask *newmask; in fl_create_new_mask() local 1825 newmask = kzalloc(sizeof(*newmask), GFP_KERNEL); in fl_create_new_mask() 1826 if (!newmask) in fl_create_new_mask() 1829 fl_mask_copy(newmask, mask); in fl_create_new_mask() 1831 if ((newmask->key.tp_range.tp_min.dst && in fl_create_new_mask() 1832 newmask->key.tp_range.tp_max.dst) || in fl_create_new_mask() 1833 (newmask->key.tp_range.tp_min.src && in fl_create_new_mask() 1834 newmask->key.tp_range.tp_max.src)) in fl_create_new_mask() 1835 newmask->flags |= TCA_FLOWER_MASK_FLAGS_RANGE; in fl_create_new_mask() 1837 err = fl_init_mask_hashtable(newmask); in fl_create_new_mask() [all …]
|
| /Linux-v5.15/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.15/kernel/cgroup/ |
| D | cpuset.c | 1173 struct cpumask *newmask, in update_parent_subparts_cpumask() argument 1190 (newmask && cpumask_empty(newmask)) || in update_parent_subparts_cpumask() 1191 (!newmask && cpumask_empty(cpuset->cpus_allowed))) in update_parent_subparts_cpumask() 1222 } else if (newmask) { in update_parent_subparts_cpumask() 1230 cpumask_andnot(tmp->delmask, cpuset->cpus_allowed, newmask); in update_parent_subparts_cpumask() 1234 cpumask_and(tmp->addmask, newmask, parent->effective_cpus); in update_parent_subparts_cpumask()
|
| /Linux-v5.15/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.15/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.15/mm/ |
| D | mempolicy.c | 348 static void mpol_rebind_policy(struct mempolicy *pol, const nodemask_t *newmask) in mpol_rebind_policy() argument 353 nodes_equal(pol->w.cpuset_mems_allowed, *newmask)) in mpol_rebind_policy() 356 mpol_ops[pol->mode].rebind(pol, newmask); in mpol_rebind_policy()
|
| /Linux-v5.15/kernel/ |
| D | signal.c | 4527 SYSCALL_DEFINE1(ssetmask, int, newmask) in SYSCALL_DEFINE1() argument 4532 siginitset(&newset, newmask); in SYSCALL_DEFINE1()
|
| /Linux-v5.15/kernel/sched/ |
| D | sched.h | 2141 const struct cpumask *newmask,
|
| /Linux-v5.15/include/linux/ |
| D | syscalls.h | 1189 asmlinkage long sys_ssetmask(int newmask);
|