Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/arch/mips/kernel/
Dmips-mt-fpaff.c180 cpumask_or(&allowed, &p->thread.user_cpus_allowed, p->cpus_ptr); in mipsmt_sys_sched_getaffinity()
/linux-6.6.21/init/
Dinit_task.c82 .cpus_ptr = &init_task.cpus_mask,
/linux-6.6.21/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()
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 …]
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()
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 …]
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-6.6.21/kernel/trace/
Dtrace_hwlat.c325 if (!cpumask_equal(current_mask, current->cpus_ptr)) in move_to_next_cpu()
/linux-6.6.21/arch/x86/kernel/cpu/resctrl/
Dpseudo_lock.c1528 if (!cpumask_subset(current->cpus_ptr, &plr->d->cpu_mask)) { in pseudo_lock_dev_mmap()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Daffinity.c1000 *proc_mask = current->cpus_ptr; in hfi1_get_proc_affinity()
/linux-6.6.21/arch/powerpc/platforms/cell/spufs/
Dsched.c131 cpumask_copy(&ctx->cpus_allowed, current->cpus_ptr); in __spu_update_sched_info()
/linux-6.6.21/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-6.6.21/include/linux/
Dsched.h835 const cpumask_t *cpus_ptr; member
/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib_file_ops.c1625 const unsigned int cpu = cpumask_first(current->cpus_ptr); in qib_assign_ctxt()
/linux-6.6.21/kernel/cgroup/
Dcpuset.c3482 set_cpus_allowed_ptr(task, current->cpus_ptr); in cpuset_fork()
/linux-6.6.21/kernel/bpf/
Dverifier.c6273 const cpumask_t *cpus_ptr; in BTF_TYPE_SAFE_RCU() local