Home
last modified time | relevance | path

Searched refs:thread (Results 1 – 8 of 8) sorted by relevance

/kernel/
Dseccomp.c279 struct task_struct *thread, *caller; in seccomp_can_sync_threads() local
286 for_each_thread(caller, thread) { in seccomp_can_sync_threads()
290 if (thread == caller) in seccomp_can_sync_threads()
293 if (thread->seccomp.mode == SECCOMP_MODE_DISABLED || in seccomp_can_sync_threads()
294 (thread->seccomp.mode == SECCOMP_MODE_FILTER && in seccomp_can_sync_threads()
295 is_ancestor(thread->seccomp.filter, in seccomp_can_sync_threads()
300 failed = task_pid_vnr(thread); in seccomp_can_sync_threads()
320 struct task_struct *thread, *caller; in seccomp_sync_threads() local
327 for_each_thread(caller, thread) { in seccomp_sync_threads()
329 if (thread == caller) in seccomp_sync_threads()
[all …]
Dexit.c518 struct task_struct *thread; in find_new_reaper() local
520 thread = father; in find_new_reaper()
521 while_each_thread(father, thread) { in find_new_reaper()
522 if (thread->flags & PF_EXITING) in find_new_reaper()
525 pid_ns->child_reaper = thread; in find_new_reaper()
526 return thread; in find_new_reaper()
556 thread = reaper; in find_new_reaper()
558 if (!(thread->flags & PF_EXITING)) in find_new_reaper()
560 } while_each_thread(reaper, thread); in find_new_reaper()
Dposix-cpu-timers.c1646 struct k_clock thread = { in init_posix_cpu_timers() local
1654 posix_timers_register_clock(CLOCK_THREAD_CPUTIME_ID, &thread); in init_posix_cpu_timers()
/kernel/debug/
Dgdbstub.c495 struct task_struct *thread; in gdb_get_regs_helper() local
499 thread = kgdb_usethread; in gdb_get_regs_helper()
500 if (!thread) { in gdb_get_regs_helper()
501 thread = kgdb_info[ks->cpu].task; in gdb_get_regs_helper()
512 if (thread == kgdb_info[i].task) in gdb_get_regs_helper()
532 sleeping_thread_to_gdb_regs(gdb_regs, thread); in gdb_get_regs_helper()
800 struct task_struct *thread; in gdb_cmd_task() local
807 thread = getthread(ks->linux_regs, ks->threadid); in gdb_cmd_task()
808 if (!thread && ks->threadid > 0) { in gdb_cmd_task()
812 kgdb_usethread = thread; in gdb_cmd_task()
[all …]
/kernel/irq/
Dmanage.c112 if (action->thread) in irq_set_thread_affinity()
966 new->thread = t; in __setup_irq()
1164 if (new->thread) in __setup_irq()
1165 wake_up_process(new->thread); in __setup_irq()
1189 if (new->thread) { in __setup_irq()
1190 struct task_struct *t = new->thread; in __setup_irq()
1192 new->thread = NULL; in __setup_irq()
1296 if (action->thread) { in __free_irq()
1297 kthread_stop(action->thread); in __free_irq()
1298 put_task_struct(action->thread); in __free_irq()
Dhandle.c61 if (action->thread->flags & PF_EXITING) in irq_wake_thread()
129 wake_up_process(action->thread); in irq_wake_thread()
/kernel/trace/
DKconfig168 draw a call graph for each thread with some information like
562 a thread per cpu. Each thread will write various size events
563 into the ring buffer. Another thread is created to send IPIs
/kernel/debug/kdb/
Dkdb_main.c2271 (void *)(&p->thread), in kdb_ps1()