Home
last modified time | relevance | path

Searched full:newmask (Results 1 – 8 of 8) sorted by relevance

/linux/net/sched/
H A Dcls_flower.c2238 struct fl_flow_mask *newmask; in fl_create_new_mask()
2241 newmask = kzalloc_obj(*newmask, GFP_KERNEL_ACCOUNT); in fl_create_new_mask()
2242 if (!newmask) in fl_create_new_mask()
2245 fl_mask_copy(newmask, mask); in fl_create_new_mask()
2247 if ((newmask->key.tp_range.tp_min.dst && in fl_create_new_mask()
2248 newmask->key.tp_range.tp_max.dst) || in fl_create_new_mask()
2249 (newmask->key.tp_range.tp_min.src && in fl_create_new_mask()
2250 newmask->key.tp_range.tp_max.src)) in fl_create_new_mask()
2251 newmask in fl_create_new_mask()
2237 struct fl_flow_mask *newmask; fl_create_new_mask() local
2285 struct fl_flow_mask *newmask; fl_check_assign_mask() local
[all...]
/linux/kernel/cgroup/
H A Dcpuset.c1740 * @newmask: Optional new cpumask for partcmd_update
1754 * For partcmd_update, if the optional newmask is specified, the cpu list is
1755 * to be changed from effective_xcpus to newmask. Otherwise, effective_xcpus is
1767 * The partcmd_update command is used by update_cpumasks_hier() with newmask
1768 * NULL and update_cpumask() with newmask set. The partcmd_invalidate is used
1769 * by update_cpumask() with NULL newmask. In both cases, the callers won't
1774 struct cpumask *newmask, in update_parent_effective_cpumask() argument
1822 if (!newmask && xcpus_empty(cs)) in update_parent_effective_cpumask()
1880 } else if (newmask) { in update_parent_effective_cpumask()
1884 if (cpumask_empty(newmask)) { in update_parent_effective_cpumask()
[all …]
/linux/tools/testing/selftests/net/bench/page_pool/
H A Dtime_bench.c258 cpumask_t newmask = CPU_MASK_NONE; in invoke_test_on_cpu_func() local
262 cpumask_set_cpu(cpu->rec.cpu, &newmask); in invoke_test_on_cpu_func()
263 set_cpus_allowed_ptr(current, &newmask); in invoke_test_on_cpu_func()
/linux/fs/resctrl/
H A Drdtgroup.c402 static int cpus_mon_write(struct rdtgroup *rdtgrp, cpumask_var_t newmask, in cpus_mon_write() argument
409 cpumask_andnot(tmpmask, newmask, &prgrp->cpu_mask); in cpus_mon_write()
416 cpumask_andnot(tmpmask, &rdtgrp->cpu_mask, newmask); in cpus_mon_write()
427 cpumask_andnot(tmpmask, newmask, &rdtgrp->cpu_mask); in cpus_mon_write()
440 cpumask_copy(&rdtgrp->cpu_mask, newmask); in cpus_mon_write()
455 static int cpus_ctrl_write(struct rdtgroup *rdtgrp, cpumask_var_t newmask, in cpus_ctrl_write() argument
462 cpumask_andnot(tmpmask, &rdtgrp->cpu_mask, newmask); in cpus_ctrl_write()
481 cpumask_andnot(tmpmask, newmask, &rdtgrp->cpu_mask); in cpus_ctrl_write()
494 cpumask_copy(&rdtgrp->cpu_mask, newmask); in cpus_ctrl_write()
513 cpumask_var_t tmpmask = CPUMASK_VAR_NULL, newmask = CPUMASK_VAR_NULL; in rdtgroup_cpus_write() local
[all …]
/linux/net/openvswitch/
H A Dflow_netlink.c1781 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/fs/notify/fanotify/
H A Dfanotify_user.c1225 __u32 oldmask, newmask; in fanotify_mark_remove_from_mask() local
1236 newmask = fsnotify_calc_mask(fsn_mark); in fanotify_mark_remove_from_mask()
1246 return oldmask & ~newmask; in fanotify_mark_remove_from_mask()
/linux/net/netfilter/ipvs/
H A Dip_vs_ctl.c2497 cpumask_var_t newmask; in ipvs_proc_est_cpumask_set() local
2500 if (!zalloc_cpumask_var(&newmask, GFP_KERNEL)) in ipvs_proc_est_cpumask_set()
2503 ret = cpulist_parse(buffer, newmask); in ipvs_proc_est_cpumask_set()
2516 cpumask_and(newmask, newmask, &current->cpus_mask); in ipvs_proc_est_cpumask_set()
2517 cpumask_copy(*valp, newmask); in ipvs_proc_est_cpumask_set()
2527 free_cpumask_var(newmask); in ipvs_proc_est_cpumask_set()
/linux/fs/xfs/
H A Dxfs_trace.h6171 TP_printk("dev %d:%d type %s domain %s oldmask 0x%x newmask 0x%x fsmask 0x%x",
6203 TP_printk("dev %d:%d type %s domain %s oldmask 0x%x newmask 0x%x grpmask 0x%x group 0x%x",
6238 TP_printk("dev %d:%d type %s domain %s oldmask 0x%x newmask 0x%x imask 0x%x ino 0x%llx gen 0x%x",