/linux-6.6.21/arch/x86/kernel/cpu/resctrl/ |
D | rdtgroup.c | 344 static int cpus_mon_write(struct rdtgroup *rdtgrp, cpumask_var_t newmask, in cpus_mon_write() argument 351 cpumask_andnot(tmpmask, newmask, &prgrp->cpu_mask); in cpus_mon_write() 358 cpumask_andnot(tmpmask, &rdtgrp->cpu_mask, newmask); in cpus_mon_write() 369 cpumask_andnot(tmpmask, newmask, &rdtgrp->cpu_mask); in cpus_mon_write() 382 cpumask_copy(&rdtgrp->cpu_mask, newmask); in cpus_mon_write() 397 static int cpus_ctrl_write(struct rdtgroup *rdtgrp, cpumask_var_t newmask, in cpus_ctrl_write() argument 404 cpumask_andnot(tmpmask, &rdtgrp->cpu_mask, newmask); in cpus_ctrl_write() 423 cpumask_andnot(tmpmask, newmask, &rdtgrp->cpu_mask); in cpus_ctrl_write() 436 cpumask_copy(&rdtgrp->cpu_mask, newmask); in cpus_ctrl_write() 455 cpumask_var_t tmpmask, newmask, tmpmask1; in rdtgroup_cpus_write() local [all …]
|
/linux-6.6.21/net/sched/ |
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() 2117 if ((newmask->key.tp_range.tp_min.dst && in fl_create_new_mask() 2118 newmask->key.tp_range.tp_max.dst) || in fl_create_new_mask() 2119 (newmask->key.tp_range.tp_min.src && in fl_create_new_mask() 2120 newmask->key.tp_range.tp_max.src)) in fl_create_new_mask() 2121 newmask->flags |= TCA_FLOWER_MASK_FLAGS_RANGE; in fl_create_new_mask() 2123 err = fl_init_mask_hashtable(newmask); in fl_create_new_mask() [all …]
|
/linux-6.6.21/kernel/cgroup/ |
D | cpuset.c | 1375 struct cpumask *newmask, in update_parent_subparts_cpumask() argument 1395 if (!newmask && cpumask_empty(cs->cpus_allowed)) in update_parent_subparts_cpumask() 1444 } else if (newmask) { in update_parent_subparts_cpumask() 1454 cpumask_andnot(tmp->delmask, cs->cpus_allowed, newmask); in update_parent_subparts_cpumask() 1458 cpumask_and(tmp->addmask, newmask, parent->cpus_allowed); in update_parent_subparts_cpumask() 1464 if (cpumask_empty(newmask)) { in update_parent_subparts_cpumask() 1594 if ((cmd == partcmd_update) && !newmask && cpus_read_trylock()) { in update_parent_subparts_cpumask()
|
/linux-6.6.21/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-6.6.21/fs/notify/fanotify/ |
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()
|
/linux-6.6.21/net/netfilter/ipvs/ |
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()
|
/linux-6.6.21/net/openvswitch/ |
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()
|
/linux-6.6.21/mm/ |
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()
|
/linux-6.6.21/kernel/ |
D | signal.c | 4606 SYSCALL_DEFINE1(ssetmask, int, newmask) in SYSCALL_DEFINE1() argument 4611 siginitset(&newset, newmask); in SYSCALL_DEFINE1()
|
/linux-6.6.21/include/linux/ |
D | syscalls.h | 1078 asmlinkage long sys_ssetmask(int newmask);
|