Searched refs:thread (Results 1 – 12 of 12) sorted by relevance
/kernel/debug/ |
D | gdbstub.c | 496 struct task_struct *thread; in gdb_get_regs_helper() local 500 thread = kgdb_usethread; in gdb_get_regs_helper() 501 if (!thread) { in gdb_get_regs_helper() 502 thread = kgdb_info[ks->cpu].task; in gdb_get_regs_helper() 513 if (thread == kgdb_info[i].task) in gdb_get_regs_helper() 533 sleeping_thread_to_gdb_regs(gdb_regs, thread); in gdb_get_regs_helper() 814 struct task_struct *thread; in gdb_cmd_task() local 821 thread = getthread(ks->linux_regs, ks->threadid); in gdb_cmd_task() 822 if (!thread && ks->threadid > 0) { in gdb_cmd_task() 826 kgdb_usethread = thread; in gdb_cmd_task() [all …]
|
/kernel/sched/ |
D | cpufreq_schedutil.c | 41 struct task_struct *thread; member 658 struct task_struct *thread; in sugov_kthread_create() local 682 thread = kthread_create(kthread_worker_fn, &sg_policy->worker, in sugov_kthread_create() 685 if (IS_ERR(thread)) { in sugov_kthread_create() 686 pr_err("failed to create sugov thread: %ld\n", PTR_ERR(thread)); in sugov_kthread_create() 687 return PTR_ERR(thread); in sugov_kthread_create() 690 ret = sched_setattr_nocheck(thread, &attr); in sugov_kthread_create() 692 kthread_stop(thread); in sugov_kthread_create() 697 sg_policy->thread = thread; in sugov_kthread_create() 698 kthread_bind_mask(thread, policy->related_cpus); in sugov_kthread_create() [all …]
|
/kernel/ |
D | stop_machine.c | 29 struct task_struct *thread; member 64 wake_q_add(wakeq, stopper->thread); in __cpu_stop_queue_work() 553 kthread_park(stopper->thread); in stop_machine_park() 560 sched_set_stop_task(cpu, per_cpu(cpu_stopper.thread, cpu)); in cpu_stop_create() 575 kthread_unpark(stopper->thread); in stop_machine_unpark() 579 .store = &cpu_stopper.thread,
|
D | seccomp.c | 480 struct task_struct *thread, *caller; in seccomp_can_sync_threads() local 487 for_each_thread(caller, thread) { in seccomp_can_sync_threads() 491 if (thread == caller) in seccomp_can_sync_threads() 494 if (thread->seccomp.mode == SECCOMP_MODE_DISABLED || in seccomp_can_sync_threads() 495 (thread->seccomp.mode == SECCOMP_MODE_FILTER && in seccomp_can_sync_threads() 496 is_ancestor(thread->seccomp.filter, in seccomp_can_sync_threads() 501 failed = task_pid_vnr(thread); in seccomp_can_sync_threads() 574 struct task_struct *thread, *caller; in seccomp_sync_threads() local 581 for_each_thread(caller, thread) { in seccomp_sync_threads() 583 if (thread == caller) in seccomp_sync_threads() [all …]
|
D | exit.c | 594 struct task_struct *thread, *reaper; in find_new_reaper() local 596 thread = find_alive_thread(father); in find_new_reaper() 597 if (thread) in find_new_reaper() 598 return thread; in find_new_reaper() 617 thread = find_alive_thread(reaper); in find_new_reaper() 618 if (thread) in find_new_reaper() 619 return thread; in find_new_reaper()
|
D | cpu.c | 70 struct task_struct *thread; member 512 wake_up_process(st->thread); in __cpuhp_kick_ap() 541 kthread_unpark(st->thread); in bringup_wait_for_ap() 769 if (!st->thread) in cpuhp_invoke_ap_callback() 820 .store = &cpuhp_state.thread, 831 kthread_unpark(this_cpu_read(cpuhp_state.thread)); in cpuhp_threads_init() 969 kthread_park(per_cpu_ptr(&cpuhp_state, cpu)->thread); in takedown_cpu() 985 kthread_unpark(per_cpu_ptr(&cpuhp_state, cpu)->thread); in takedown_cpu()
|
D | fork.c | 835 *offset += offsetof(struct task_struct, thread); in task_struct_whitelist()
|
/kernel/irq/ |
D | manage.c | 194 if (action->thread) in irq_set_thread_affinity() 1184 if (!action || !action->thread) in wake_up_and_wait_for_irq_thread_ready() 1187 wake_up_process(action->thread); in wake_up_and_wait_for_irq_thread_ready() 1256 if (action->thread) in irq_wake_thread() 1377 new->thread = get_task_struct(t); in setup_irq_thread() 1747 if (new->thread) { in __setup_irq() 1748 struct task_struct *t = new->thread; in __setup_irq() 1750 new->thread = NULL; in __setup_irq() 1754 if (new->secondary && new->secondary->thread) { in __setup_irq() 1755 struct task_struct *t = new->secondary->thread; in __setup_irq() [all …]
|
D | handle.c | 66 if (action->thread->flags & PF_EXITING) in __irq_wake_thread() 134 wake_up_process(action->thread); in __irq_wake_thread()
|
/kernel/trace/ |
D | Kconfig | 189 draw a call graph for each thread with some information like 335 depending on what the cpumask file is set to, which each thread 349 A kernel thread is created that will spin with interrupts disabled 702 When the tracepoint is enabled, it kicks off a kernel thread that 825 a thread per cpu. Each thread will write various size events 826 into the ring buffer. Another thread is created to send IPIs 853 tristate "Test module to create a preempt / IRQ disable delay thread to test latency tracers"
|
/kernel/time/ |
D | posix-cpu-timers.c | 52 const bool thread = !!CPUCLOCK_PERTHREAD(clock); in pid_for_clock() local 64 return thread ? task_pid(current) : task_tgid(current); in pid_for_clock() 70 if (thread) { in pid_for_clock()
|
/kernel/debug/kdb/ |
D | kdb_main.c | 2392 (void *)(&p->thread), in kdb_ps1()
|