/Linux-v6.6/samples/trace_events/ |
D | trace-events-sample.c | 41 current->cpus_ptr, fmt, &va); in do_simple_thread_func() 53 trace_foo_rel_loc("Hello __rel_loc", cnt, bitmask, current->cpus_ptr); in do_simple_thread_func()
|
/Linux-v6.6/tools/testing/selftests/bpf/progs/ |
D | cpumask_failure.c | 54 cpumask = bpf_cpumask_acquire((struct bpf_cpumask *)task->cpus_ptr); in BPF_PROG() 67 bpf_cpumask_set_cpu(0, (struct bpf_cpumask *)task->cpus_ptr); in BPF_PROG()
|
D | nested_trust_success.c | 24 bpf_cpumask_test_cpu(0, task->cpus_ptr); in BPF_PROG()
|
/Linux-v6.6/Documentation/bpf/ |
D | cpumasks.rst | 105 if (!bpf_cpumask_full(task->cpus_ptr)) 108 bpf_cpumask_copy(cpumask, task->cpus_ptr); 243 /* struct cpumask * pointers such as task->cpus_ptr can also be queried. */ 244 if (bpf_cpumask_test_cpu(0, task->cpus_ptr))
|
D | kfuncs.rst | 251 const cpumask_t *cpus_ptr;
|
/Linux-v6.6/arch/mips/kernel/ |
D | mips-mt-fpaff.c | 180 cpumask_or(&allowed, &p->thread.user_cpus_allowed, p->cpus_ptr); in mipsmt_sys_sched_getaffinity()
|
/Linux-v6.6/init/ |
D | init_task.c | 82 .cpus_ptr = &init_task.cpus_mask,
|
/Linux-v6.6/kernel/sched/ |
D | fair.c | 2063 !cpumask_test_cpu(cpu, env->p->cpus_ptr)) in update_numa_stats() 2095 !cpumask_test_cpu(cpu, env->p->cpus_ptr)) { in task_numa_assign() 2208 if (!cpumask_test_cpu(env->src_cpu, cur->cpus_ptr)) in task_numa_compare() 2407 if (!cpumask_test_cpu(cpu, env->p->cpus_ptr)) in task_numa_find_cpu() 6927 for_each_cpu_and(i, sched_group_span(group), p->cpus_ptr) { in find_idlest_group_cpu() 6974 if (!cpumask_intersects(sched_domain_span(sd), p->cpus_ptr)) in find_idlest_cpu() 7098 if (sched_idle_cpu(cpu) && cpumask_test_cpu(cpu, p->cpus_ptr)) { in select_idle_core() 7106 if (*idle_cpu == -1 && cpumask_test_cpu(cpu, p->cpus_ptr)) in select_idle_core() 7124 for_each_cpu_and(cpu, cpu_smt_mask(target), p->cpus_ptr) { in select_idle_smt() 7172 cpumask_and(cpus, sched_domain_span(sd), p->cpus_ptr); in select_idle_cpu() [all …]
|
D | core.c | 2402 if (p->cpus_ptr != &p->cpus_mask) in migrate_disable_switch() 2448 if (p->cpus_ptr != &p->cpus_mask) in migrate_enable() 2474 if (!cpumask_test_cpu(cpu, p->cpus_ptr)) in is_cpu_allowed() 2655 if (cpumask_test_cpu(task_cpu(p), p->cpus_ptr)) { in migration_cpu_stop() 2733 p->cpus_ptr = ctx->new_mask; in set_cpus_allowed_common() 3452 if (!cpumask_test_cpu(arg->dst_cpu, arg->src_task->cpus_ptr)) in migrate_swap_stop() 3455 if (!cpumask_test_cpu(arg->src_cpu, arg->dst_task->cpus_ptr)) in migrate_swap_stop() 3490 if (!cpumask_test_cpu(arg.dst_cpu, arg.src_task->cpus_ptr)) in migrate_swap() 3493 if (!cpumask_test_cpu(arg.src_cpu, arg.dst_task->cpus_ptr)) in migrate_swap() 3575 for_each_cpu(dest_cpu, p->cpus_ptr) { in select_fallback_rq() [all …]
|
D | sched.h | 1303 for_each_cpu_and(cpu, sched_group_span(group), p->cpus_ptr) { in sched_group_cookie_match()
|
D | deadline.c | 676 cpu = cpumask_any_and(cpu_active_mask, p->cpus_ptr); in dl_task_offline_migration()
|
/Linux-v6.6/kernel/trace/ |
D | trace_hwlat.c | 325 if (!cpumask_equal(current_mask, current->cpus_ptr)) in move_to_next_cpu()
|
/Linux-v6.6/arch/x86/kernel/cpu/resctrl/ |
D | pseudo_lock.c | 1528 if (!cpumask_subset(current->cpus_ptr, &plr->d->cpu_mask)) { in pseudo_lock_dev_mmap()
|
/Linux-v6.6/drivers/infiniband/hw/hfi1/ |
D | affinity.c | 1000 *proc_mask = current->cpus_ptr; in hfi1_get_proc_affinity()
|
/Linux-v6.6/arch/powerpc/platforms/cell/spufs/ |
D | sched.c | 131 cpumask_copy(&ctx->cpus_allowed, current->cpus_ptr); in __spu_update_sched_info()
|
/Linux-v6.6/kernel/ |
D | fork.c | 1150 if (orig->cpus_ptr == &orig->cpus_mask) in dup_task_struct() 1151 tsk->cpus_ptr = &tsk->cpus_mask; in dup_task_struct()
|
/Linux-v6.6/include/linux/ |
D | sched.h | 835 const cpumask_t *cpus_ptr; member
|
/Linux-v6.6/drivers/infiniband/hw/qib/ |
D | qib_file_ops.c | 1625 const unsigned int cpu = cpumask_first(current->cpus_ptr); in qib_assign_ctxt()
|
/Linux-v6.6/kernel/cgroup/ |
D | cpuset.c | 3472 set_cpus_allowed_ptr(task, current->cpus_ptr); in cpuset_fork()
|
/Linux-v6.6/kernel/bpf/ |
D | verifier.c | 6043 const cpumask_t *cpus_ptr; in BTF_TYPE_SAFE_RCU() local
|