Searched refs:new_mask (Results 1 – 6 of 6) sorted by relevance
/kernel/time/ |
D | sched_clock.c | 170 u64 res, wrap, new_mask, new_epoch, cyc, ns; in sched_clock_register() local 184 new_mask = CLOCKSOURCE_MASK(bits); in sched_clock_register() 188 wrap = clocks_calc_max_nsecs(new_mult, new_shift, 0, new_mask, NULL); in sched_clock_register() 200 rd.sched_clock_mask = new_mask; in sched_clock_register()
|
/kernel/ |
D | compat.c | 603 unsigned len, struct cpumask *new_mask) in compat_get_user_cpu_mask() argument 608 memset(new_mask, 0, cpumask_size()); in compat_get_user_cpu_mask() 612 k = cpumask_bits(new_mask); in compat_get_user_cpu_mask() 620 cpumask_var_t new_mask; in COMPAT_SYSCALL_DEFINE3() local 623 if (!alloc_cpumask_var(&new_mask, GFP_KERNEL)) in COMPAT_SYSCALL_DEFINE3() 626 retval = compat_get_user_cpu_mask(user_mask_ptr, len, new_mask); in COMPAT_SYSCALL_DEFINE3() 630 retval = sched_setaffinity(pid, new_mask); in COMPAT_SYSCALL_DEFINE3() 632 free_cpumask_var(new_mask); in COMPAT_SYSCALL_DEFINE3()
|
/kernel/sched/ |
D | core.c | 1186 void set_cpus_allowed_common(struct task_struct *p, const struct cpumask *new_mask) in set_cpus_allowed_common() argument 1188 cpumask_copy(&p->cpus_allowed, new_mask); in set_cpus_allowed_common() 1189 p->nr_cpus_allowed = cpumask_weight(new_mask); in set_cpus_allowed_common() 1192 void do_set_cpus_allowed(struct task_struct *p, const struct cpumask *new_mask) in do_set_cpus_allowed() argument 1213 p->sched_class->set_cpus_allowed(p, new_mask); in do_set_cpus_allowed() 1231 const struct cpumask *new_mask, bool check) in __set_cpus_allowed_ptr() argument 1249 if (cpumask_equal(&p->cpus_allowed, new_mask)) in __set_cpus_allowed_ptr() 1252 if (!cpumask_intersects(new_mask, cpu_active_mask)) { in __set_cpus_allowed_ptr() 1257 do_set_cpus_allowed(p, new_mask); in __set_cpus_allowed_ptr() 1260 if (cpumask_test_cpu(task_cpu(p), new_mask)) in __set_cpus_allowed_ptr() [all …]
|
D | deadline.c | 1843 const struct cpumask *new_mask) in set_cpus_allowed_dl() argument 1858 if (!cpumask_intersects(src_rd->span, new_mask)) { in set_cpus_allowed_dl() 1872 set_cpus_allowed_common(p, new_mask); in set_cpus_allowed_dl()
|
D | sched.h | 1350 extern void set_cpus_allowed_common(struct task_struct *p, const struct cpumask *new_mask);
|
/kernel/locking/ |
D | lockdep.c | 2905 unsigned int new_mask = 1 << new_bit, ret = 1; in mark_lock() local 2911 if (likely(hlock_class(this)->usage_mask & new_mask)) in mark_lock() 2919 if (unlikely(hlock_class(this)->usage_mask & new_mask)) { in mark_lock() 2924 hlock_class(this)->usage_mask |= new_mask; in mark_lock()
|