Home
last modified time | relevance | path

Searched refs:cpus_ptr (Results 1 – 20 of 20) sorted by relevance

/Linux-v6.6/samples/trace_events/
Dtrace-events-sample.c41 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/
Dcpumask_failure.c54 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()
Dnested_trust_success.c24 bpf_cpumask_test_cpu(0, task->cpus_ptr); in BPF_PROG()
/Linux-v6.6/Documentation/bpf/
Dcpumasks.rst105 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))
Dkfuncs.rst251 const cpumask_t *cpus_ptr;
/Linux-v6.6/arch/mips/kernel/
Dmips-mt-fpaff.c180 cpumask_or(&allowed, &p->thread.user_cpus_allowed, p->cpus_ptr); in mipsmt_sys_sched_getaffinity()
/Linux-v6.6/init/
Dinit_task.c82 .cpus_ptr = &init_task.cpus_mask,
/Linux-v6.6/kernel/sched/
Dfair.c2063 !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 …]
Dcore.c2402 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 …]
Dsched.h1303 for_each_cpu_and(cpu, sched_group_span(group), p->cpus_ptr) { in sched_group_cookie_match()
Ddeadline.c676 cpu = cpumask_any_and(cpu_active_mask, p->cpus_ptr); in dl_task_offline_migration()
/Linux-v6.6/kernel/trace/
Dtrace_hwlat.c325 if (!cpumask_equal(current_mask, current->cpus_ptr)) in move_to_next_cpu()
/Linux-v6.6/arch/x86/kernel/cpu/resctrl/
Dpseudo_lock.c1528 if (!cpumask_subset(current->cpus_ptr, &plr->d->cpu_mask)) { in pseudo_lock_dev_mmap()
/Linux-v6.6/drivers/infiniband/hw/hfi1/
Daffinity.c1000 *proc_mask = current->cpus_ptr; in hfi1_get_proc_affinity()
/Linux-v6.6/arch/powerpc/platforms/cell/spufs/
Dsched.c131 cpumask_copy(&ctx->cpus_allowed, current->cpus_ptr); in __spu_update_sched_info()
/Linux-v6.6/kernel/
Dfork.c1150 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/
Dsched.h835 const cpumask_t *cpus_ptr; member
/Linux-v6.6/drivers/infiniband/hw/qib/
Dqib_file_ops.c1625 const unsigned int cpu = cpumask_first(current->cpus_ptr); in qib_assign_ctxt()
/Linux-v6.6/kernel/cgroup/
Dcpuset.c3472 set_cpus_allowed_ptr(task, current->cpus_ptr); in cpuset_fork()
/Linux-v6.6/kernel/bpf/
Dverifier.c6043 const cpumask_t *cpus_ptr; in BTF_TYPE_SAFE_RCU() local