Home
last modified time | relevance | path

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

/Linux-v6.1/arch/x86/kernel/cpu/resctrl/
Drdtgroup.c336 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-v6.1/net/sched/
Dcls_flower.c1989 struct fl_flow_mask *newmask; in fl_create_new_mask() local
1992 newmask = kzalloc(sizeof(*newmask), GFP_KERNEL); in fl_create_new_mask()
1993 if (!newmask) in fl_create_new_mask()
1996 fl_mask_copy(newmask, mask); in fl_create_new_mask()
1998 if ((newmask->key.tp_range.tp_min.dst && in fl_create_new_mask()
1999 newmask->key.tp_range.tp_max.dst) || in fl_create_new_mask()
2000 (newmask->key.tp_range.tp_min.src && in fl_create_new_mask()
2001 newmask->key.tp_range.tp_max.src)) in fl_create_new_mask()
2002 newmask->flags |= TCA_FLOWER_MASK_FLAGS_RANGE; in fl_create_new_mask()
2004 err = fl_init_mask_hashtable(newmask); in fl_create_new_mask()
[all …]
/Linux-v6.1/drivers/mmc/host/
Ds3cmci.c257 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-v6.1/kernel/cgroup/
Dcpuset.c1303 struct cpumask *newmask, in update_parent_subparts_cpumask() argument
1323 if ((newmask && cpumask_empty(newmask)) || in update_parent_subparts_cpumask()
1324 (!newmask && cpumask_empty(cs->cpus_allowed))) in update_parent_subparts_cpumask()
1373 } else if (newmask) { in update_parent_subparts_cpumask()
1383 cpumask_andnot(tmp->delmask, cs->cpus_allowed, newmask); in update_parent_subparts_cpumask()
1387 cpumask_and(tmp->addmask, newmask, parent->cpus_allowed); in update_parent_subparts_cpumask()
/Linux-v6.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-v6.1/fs/notify/fanotify/
Dfanotify_user.c1006 __u32 oldmask, newmask; in fanotify_mark_remove_from_mask() local
1017 newmask = fsnotify_calc_mask(fsn_mark); in fanotify_mark_remove_from_mask()
1027 return oldmask & ~newmask; in fanotify_mark_remove_from_mask()
/Linux-v6.1/net/openvswitch/
Dflow_netlink.c1802 struct nlattr *newmask = NULL; in ovs_nla_get_match() local
1831 newmask = kmemdup(nla_key, in ovs_nla_get_match()
1834 if (!newmask) in ovs_nla_get_match()
1837 mask_set_nlattr(newmask, 0xff); in ovs_nla_get_match()
1846 nla_mask = newmask; in ovs_nla_get_match()
1871 kfree(newmask); in ovs_nla_get_match()
/Linux-v6.1/mm/
Dmempolicy.c352 static void mpol_rebind_policy(struct mempolicy *pol, const nodemask_t *newmask) in mpol_rebind_policy() argument
357 nodes_equal(pol->w.cpuset_mems_allowed, *newmask)) in mpol_rebind_policy()
360 mpol_ops[pol->mode].rebind(pol, newmask); in mpol_rebind_policy()
/Linux-v6.1/kernel/
Dsignal.c4570 SYSCALL_DEFINE1(ssetmask, int, newmask) in SYSCALL_DEFINE1() argument
4575 siginitset(&newset, newmask); in SYSCALL_DEFINE1()
/Linux-v6.1/kernel/sched/
Dsched.h2176 const struct cpumask *newmask,
/Linux-v6.1/include/linux/
Dsyscalls.h1193 asmlinkage long sys_ssetmask(int newmask);