Searched refs:new_mask (Results 1 – 8 of 8) sorted by relevance
/kernel/ |
D | compat.c | 111 unsigned len, struct cpumask *new_mask) in compat_get_user_cpu_mask() argument 116 memset(new_mask, 0, cpumask_size()); in compat_get_user_cpu_mask() 120 k = cpumask_bits(new_mask); in compat_get_user_cpu_mask() 128 cpumask_var_t new_mask; in COMPAT_SYSCALL_DEFINE3() local 131 if (!alloc_cpumask_var(&new_mask, GFP_KERNEL)) in COMPAT_SYSCALL_DEFINE3() 134 retval = compat_get_user_cpu_mask(user_mask_ptr, len, new_mask); in COMPAT_SYSCALL_DEFINE3() 138 retval = sched_setaffinity(pid, new_mask); in COMPAT_SYSCALL_DEFINE3() 140 free_cpumask_var(new_mask); in COMPAT_SYSCALL_DEFINE3()
|
/kernel/time/ |
D | sched_clock.c | 156 u64 res, wrap, new_mask, new_epoch, cyc, ns; in sched_clock_register() local 171 new_mask = CLOCKSOURCE_MASK(bits); in sched_clock_register() 175 wrap = clocks_calc_max_nsecs(new_mult, new_shift, 0, new_mask, NULL); in sched_clock_register() 187 rd.sched_clock_mask = new_mask; in sched_clock_register()
|
/kernel/trace/ |
D | trace_boot.c | 70 cpumask_var_t new_mask; in trace_boot_set_instance_options() local 72 if (alloc_cpumask_var(&new_mask, GFP_KERNEL)) { in trace_boot_set_instance_options() 73 if (cpumask_parse(p, new_mask) < 0 || in trace_boot_set_instance_options() 74 tracing_set_cpumask(tr, new_mask) < 0) in trace_boot_set_instance_options() 76 free_cpumask_var(new_mask); in trace_boot_set_instance_options()
|
/kernel/sched/ |
D | core.c | 2399 __do_set_cpus_allowed(struct task_struct *p, const struct cpumask *new_mask, u32 flags); 2402 const struct cpumask *new_mask, 2757 void set_cpus_allowed_common(struct task_struct *p, const struct cpumask *new_mask, u32 flags) in set_cpus_allowed_common() argument 2760 p->cpus_ptr = new_mask; in set_cpus_allowed_common() 2764 cpumask_copy(&p->cpus_mask, new_mask); in set_cpus_allowed_common() 2765 p->nr_cpus_allowed = cpumask_weight(new_mask); in set_cpus_allowed_common() 2766 trace_android_rvh_set_cpus_allowed_comm(p, new_mask); in set_cpus_allowed_common() 2770 __do_set_cpus_allowed(struct task_struct *p, const struct cpumask *new_mask, u32 flags) in __do_set_cpus_allowed() argument 2806 p->sched_class->set_cpus_allowed(p, new_mask, flags); in __do_set_cpus_allowed() 2814 void do_set_cpus_allowed(struct task_struct *p, const struct cpumask *new_mask) in do_set_cpus_allowed() argument [all …]
|
D | deadline.c | 2493 const struct cpumask *new_mask, in set_cpus_allowed_dl() argument 2509 if (!cpumask_intersects(src_rd->span, new_mask)) { in set_cpus_allowed_dl() 2523 set_cpus_allowed_common(p, new_mask, flags); in set_cpus_allowed_dl()
|
D | sched.h | 2337 extern void set_cpus_allowed_common(struct task_struct *p, const struct cpumask *new_mask, u32 flag…
|
/kernel/locking/ |
D | lockdep.c | 4590 unsigned int new_mask, ret = 1; in mark_lock() local 4600 new_mask = 1 << new_bit; in mark_lock() 4606 if (likely(hlock_class(this)->usage_mask & new_mask)) in mark_lock() 4614 if (unlikely(hlock_class(this)->usage_mask & new_mask)) in mark_lock() 4620 hlock_class(this)->usage_mask |= new_mask; in mark_lock()
|
/kernel/cgroup/ |
D | cpuset.c | 1246 const struct cpumask *new_mask) in update_cpus_allowed() argument 1250 trace_android_rvh_update_cpus_allowed(p, cs->cpus_requested, new_mask, &ret); in update_cpus_allowed() 1254 return set_cpus_allowed_ptr(p, new_mask); in update_cpus_allowed()
|