/openbmc/linux/arch/x86/kernel/cpu/resctrl/ |
H A D | rdtgroup.c | 351 cpumask_andnot(tmpmask, newmask, &prgrp->cpu_mask); in cpus_mon_write() 382 cpumask_copy(&rdtgrp->cpu_mask, newmask); in cpus_mon_write() 436 cpumask_copy(&rdtgrp->cpu_mask, newmask); in cpus_ctrl_write() 455 cpumask_var_t tmpmask, newmask, tmpmask1; in rdtgroup_cpus_write() local 464 if (!zalloc_cpumask_var(&newmask, GFP_KERNEL)) { in rdtgroup_cpus_write() 470 free_cpumask_var(newmask); in rdtgroup_cpus_write() 488 ret = cpulist_parse(buf, newmask); in rdtgroup_cpus_write() 490 ret = cpumask_parse(buf, newmask); in rdtgroup_cpus_write() 498 cpumask_andnot(tmpmask, newmask, cpu_online_mask); in rdtgroup_cpus_write() 508 ret = cpus_mon_write(rdtgrp, newmask, tmpmask); in rdtgroup_cpus_write() [all …]
|
/openbmc/linux/net/sched/ |
H A D | cls_flower.c | 2108 struct fl_flow_mask *newmask; in fl_create_new_mask() local 2111 newmask = kzalloc(sizeof(*newmask), GFP_KERNEL); in fl_create_new_mask() 2112 if (!newmask) in fl_create_new_mask() 2115 fl_mask_copy(newmask, mask); in fl_create_new_mask() 2127 fl_init_dissector(&newmask->dissector, &newmask->key); in fl_create_new_mask() 2141 return newmask; in fl_create_new_mask() 2146 kfree(newmask); in fl_create_new_mask() 2156 struct fl_flow_mask *newmask; in fl_check_assign_mask() local 2177 if (IS_ERR(newmask)) { in fl_check_assign_mask() 2178 ret = PTR_ERR(newmask); in fl_check_assign_mask() [all …]
|
/openbmc/linux/kernel/cgroup/ |
H A D | cpuset.c | 1376 struct cpumask *newmask, in update_parent_subparts_cpumask() argument 1396 if (!newmask && cpumask_empty(cs->cpus_allowed)) in update_parent_subparts_cpumask() 1445 } else if (newmask) { in update_parent_subparts_cpumask() 1455 cpumask_andnot(tmp->delmask, cs->cpus_allowed, newmask); in update_parent_subparts_cpumask() 1459 cpumask_and(tmp->addmask, newmask, parent->cpus_allowed); in update_parent_subparts_cpumask() 1465 if (cpumask_empty(newmask)) { in update_parent_subparts_cpumask() 1595 if ((cmd == partcmd_update) && !newmask && cpus_read_trylock()) { in update_parent_subparts_cpumask()
|
/openbmc/linux/arch/alpha/kernel/ |
H A 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()
|
/openbmc/linux/fs/notify/fanotify/ |
H A D | fanotify_user.c | 1055 __u32 oldmask, newmask; in fanotify_mark_remove_from_mask() local 1066 newmask = fsnotify_calc_mask(fsn_mark); in fanotify_mark_remove_from_mask() 1076 return oldmask & ~newmask; in fanotify_mark_remove_from_mask()
|
/openbmc/linux/net/netfilter/ipvs/ |
H A D | ip_vs_ctl.c | 1931 cpumask_var_t newmask; in ipvs_proc_est_cpumask_set() local 1934 if (!zalloc_cpumask_var(&newmask, GFP_KERNEL)) in ipvs_proc_est_cpumask_set() 1937 ret = cpulist_parse(buffer, newmask); in ipvs_proc_est_cpumask_set() 1950 cpumask_and(newmask, newmask, ¤t->cpus_mask); in ipvs_proc_est_cpumask_set() 1951 cpumask_copy(*valp, newmask); in ipvs_proc_est_cpumask_set() 1961 free_cpumask_var(newmask); in ipvs_proc_est_cpumask_set()
|
/openbmc/linux/net/openvswitch/ |
H A D | flow_netlink.c | 1805 struct nlattr *newmask = NULL; in ovs_nla_get_match() local 1834 newmask = kmemdup(nla_key, in ovs_nla_get_match() 1837 if (!newmask) in ovs_nla_get_match() 1840 mask_set_nlattr(newmask, 0xff); in ovs_nla_get_match() 1849 nla_mask = newmask; in ovs_nla_get_match() 1874 kfree(newmask); in ovs_nla_get_match()
|
/openbmc/linux/mm/ |
H A D | mempolicy.c | 356 static void mpol_rebind_policy(struct mempolicy *pol, const nodemask_t *newmask) in mpol_rebind_policy() argument 361 nodes_equal(pol->w.cpuset_mems_allowed, *newmask)) in mpol_rebind_policy() 364 mpol_ops[pol->mode].rebind(pol, newmask); in mpol_rebind_policy()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | mve_helper.c | 2725 uint16_t newmask; in HELPER() local 2728 newmask = masklen ? MAKE_64BIT_MASK(0, masklen) : 0; in HELPER() 2729 newmask &= mask; in HELPER() 2730 env->v7m.vpr = (env->v7m.vpr & ~(uint32_t)eci_mask) | (newmask & eci_mask); in HELPER()
|
/openbmc/linux/kernel/ |
H A D | signal.c | 4614 SYSCALL_DEFINE1(ssetmask, int, newmask) in SYSCALL_DEFINE1() argument 4619 siginitset(&newset, newmask); in SYSCALL_DEFINE1()
|
/openbmc/linux/include/linux/ |
H A D | syscalls.h | 1084 asmlinkage long sys_ssetmask(int newmask);
|