/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/init/ |
D | init_task.c | 82 .cpus_ptr = &init_task.cpus_mask,
|
/linux-6.6.21/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() 7016 for_each_cpu_and(i, sched_group_span(group), p->cpus_ptr) { in find_idlest_group_cpu() 7063 if (!cpumask_intersects(sched_domain_span(sd), p->cpus_ptr)) in find_idlest_cpu() 7187 if (sched_idle_cpu(cpu) && cpumask_test_cpu(cpu, p->cpus_ptr)) { in select_idle_core() 7195 if (*idle_cpu == -1 && cpumask_test_cpu(cpu, p->cpus_ptr)) in select_idle_core() 7213 for_each_cpu_and(cpu, cpu_smt_mask(target), p->cpus_ptr) { in select_idle_smt() 7261 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() 2735 p->cpus_ptr = ctx->new_mask; in set_cpus_allowed_common() 3456 if (!cpumask_test_cpu(arg->dst_cpu, arg->src_task->cpus_ptr)) in migrate_swap_stop() 3459 if (!cpumask_test_cpu(arg->src_cpu, arg->dst_task->cpus_ptr)) in migrate_swap_stop() 3494 if (!cpumask_test_cpu(arg.dst_cpu, arg.src_task->cpus_ptr)) in migrate_swap() 3497 if (!cpumask_test_cpu(arg.src_cpu, arg.dst_task->cpus_ptr)) in migrate_swap() 3579 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-6.6.21/kernel/trace/ |
D | trace_hwlat.c | 325 if (!cpumask_equal(current_mask, current->cpus_ptr)) in move_to_next_cpu()
|
/linux-6.6.21/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-6.6.21/drivers/infiniband/hw/hfi1/ |
D | affinity.c | 1000 *proc_mask = current->cpus_ptr; in hfi1_get_proc_affinity()
|
/linux-6.6.21/arch/powerpc/platforms/cell/spufs/ |
D | sched.c | 131 cpumask_copy(&ctx->cpus_allowed, current->cpus_ptr); in __spu_update_sched_info()
|
/linux-6.6.21/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-6.6.21/include/linux/ |
D | sched.h | 835 const cpumask_t *cpus_ptr; member
|
/linux-6.6.21/drivers/infiniband/hw/qib/ |
D | qib_file_ops.c | 1625 const unsigned int cpu = cpumask_first(current->cpus_ptr); in qib_assign_ctxt()
|
/linux-6.6.21/kernel/cgroup/ |
D | cpuset.c | 3482 set_cpus_allowed_ptr(task, current->cpus_ptr); in cpuset_fork()
|
/linux-6.6.21/kernel/bpf/ |
D | verifier.c | 6273 const cpumask_t *cpus_ptr; in BTF_TYPE_SAFE_RCU() local
|