1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Internal Functions</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Device Drivers"><link rel="up" href="Basics.html" title="Chapter&#160;1.&#160;Driver Basics"><link rel="prev" href="API-work-on-cpu.html" title="work_on_cpu"><link rel="next" href="API-wait-task-stopped.html" title="wait_task_stopped"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Internal Functions</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-work-on-cpu.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;1.&#160;Driver Basics</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-wait-task-stopped.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="idp1107834732"></a>Internal Functions</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="refentrytitle"><a href="API-wait-task-stopped.html"><span class="phrase">wait_task_stopped</span></a></span><span class="refpurpose"> &#8212; 
2  Wait for <code class="constant">TASK_STOPPED</code> or <code class="constant">TASK_TRACED</code>
3 </span></dt><dt><span class="refentrytitle"><a href="API-task-set-jobctl-pending.html"><span class="phrase">task_set_jobctl_pending</span></a></span><span class="refpurpose"> &#8212; 
4  set jobctl pending bits
5 </span></dt><dt><span class="refentrytitle"><a href="API-task-clear-jobctl-trapping.html"><span class="phrase">task_clear_jobctl_trapping</span></a></span><span class="refpurpose"> &#8212; 
6     clear jobctl trapping bit
7 </span></dt><dt><span class="refentrytitle"><a href="API-task-clear-jobctl-pending.html"><span class="phrase">task_clear_jobctl_pending</span></a></span><span class="refpurpose"> &#8212; 
8     clear jobctl pending bits
9 </span></dt><dt><span class="refentrytitle"><a href="API-task-participate-group-stop.html"><span class="phrase">task_participate_group_stop</span></a></span><span class="refpurpose"> &#8212; 
10     participate in a group stop
11 </span></dt><dt><span class="refentrytitle"><a href="API-ptrace-trap-notify.html"><span class="phrase">ptrace_trap_notify</span></a></span><span class="refpurpose"> &#8212; 
12     schedule trap to notify ptracer
13 </span></dt><dt><span class="refentrytitle"><a href="API-do-notify-parent-cldstop.html"><span class="phrase">do_notify_parent_cldstop</span></a></span><span class="refpurpose"> &#8212; 
14     notify parent of stopped/continued state change
15 </span></dt><dt><span class="refentrytitle"><a href="API-do-signal-stop.html"><span class="phrase">do_signal_stop</span></a></span><span class="refpurpose"> &#8212; 
16     handle group stop for SIGSTOP and other stop signals
17 </span></dt><dt><span class="refentrytitle"><a href="API-do-jobctl-trap.html"><span class="phrase">do_jobctl_trap</span></a></span><span class="refpurpose"> &#8212; 
18     take care of ptrace jobctl traps
19 </span></dt><dt><span class="refentrytitle"><a href="API-signal-delivered.html"><span class="phrase">signal_delivered</span></a></span><span class="refpurpose"> &#8212; 
20   </span></dt><dt><span class="refentrytitle"><a href="API-sys-restart-syscall.html"><span class="phrase">sys_restart_syscall</span></a></span><span class="refpurpose"> &#8212; 
21     restart a system call
22 </span></dt><dt><span class="refentrytitle"><a href="API-set-current-blocked.html"><span class="phrase">set_current_blocked</span></a></span><span class="refpurpose"> &#8212; 
23     change current-&gt;blocked mask
24 </span></dt><dt><span class="refentrytitle"><a href="API-sys-rt-sigprocmask.html"><span class="phrase">sys_rt_sigprocmask</span></a></span><span class="refpurpose"> &#8212; 
25     change the list of currently blocked signals
26 </span></dt><dt><span class="refentrytitle"><a href="API-sys-rt-sigpending.html"><span class="phrase">sys_rt_sigpending</span></a></span><span class="refpurpose"> &#8212; 
27     examine a pending signal that has been raised while blocked
28 </span></dt><dt><span class="refentrytitle"><a href="API-do-sigtimedwait.html"><span class="phrase">do_sigtimedwait</span></a></span><span class="refpurpose"> &#8212; 
29     wait for queued signals specified in <em class="parameter"><code>which</code></em>
30 </span></dt><dt><span class="refentrytitle"><a href="API-sys-rt-sigtimedwait.html"><span class="phrase">sys_rt_sigtimedwait</span></a></span><span class="refpurpose"> &#8212; 
31     synchronously wait for queued signals specified in <em class="parameter"><code>uthese</code></em>
32 </span></dt><dt><span class="refentrytitle"><a href="API-sys-kill.html"><span class="phrase">sys_kill</span></a></span><span class="refpurpose"> &#8212; 
33     send a signal to a process
34 </span></dt><dt><span class="refentrytitle"><a href="API-sys-tgkill.html"><span class="phrase">sys_tgkill</span></a></span><span class="refpurpose"> &#8212; 
35     send signal to one specific thread
36 </span></dt><dt><span class="refentrytitle"><a href="API-sys-tkill.html"><span class="phrase">sys_tkill</span></a></span><span class="refpurpose"> &#8212; 
37     send signal to one specific task
38 </span></dt><dt><span class="refentrytitle"><a href="API-sys-rt-sigqueueinfo.html"><span class="phrase">sys_rt_sigqueueinfo</span></a></span><span class="refpurpose"> &#8212; 
39     send signal information to a signal
40 </span></dt><dt><span class="refentrytitle"><a href="API-sys-sigpending.html"><span class="phrase">sys_sigpending</span></a></span><span class="refpurpose"> &#8212; 
41     examine pending signals
42 </span></dt><dt><span class="refentrytitle"><a href="API-sys-sigprocmask.html"><span class="phrase">sys_sigprocmask</span></a></span><span class="refpurpose"> &#8212; 
43     examine and change blocked signals
44 </span></dt><dt><span class="refentrytitle"><a href="API-sys-rt-sigaction.html"><span class="phrase">sys_rt_sigaction</span></a></span><span class="refpurpose"> &#8212; 
45     alter an action taken by a process
46 </span></dt><dt><span class="refentrytitle"><a href="API-sys-rt-sigsuspend.html"><span class="phrase">sys_rt_sigsuspend</span></a></span><span class="refpurpose"> &#8212; 
47     replace the signal mask for a value with the <em class="parameter"><code>unewset</code></em> value until a signal is received
48 </span></dt><dt><span class="refentrytitle"><a href="API-kthread-run.html"><span class="phrase">kthread_run</span></a></span><span class="refpurpose"> &#8212; 
49  create and wake a thread.
50 </span></dt><dt><span class="refentrytitle"><a href="API-kthread-should-stop.html"><span class="phrase">kthread_should_stop</span></a></span><span class="refpurpose"> &#8212; 
51  should this kthread return now?
52 </span></dt><dt><span class="refentrytitle"><a href="API-kthread-freezable-should-stop.html"><span class="phrase">kthread_freezable_should_stop</span></a></span><span class="refpurpose"> &#8212; 
53     should this freezable kthread return now?
54 </span></dt><dt><span class="refentrytitle"><a href="API-kthread-create-on-node.html"><span class="phrase">kthread_create_on_node</span></a></span><span class="refpurpose"> &#8212; 
55     create a kthread.
56 </span></dt><dt><span class="refentrytitle"><a href="API-kthread-bind.html"><span class="phrase">kthread_bind</span></a></span><span class="refpurpose"> &#8212; 
57     bind a just-created kthread to a cpu.
58 </span></dt><dt><span class="refentrytitle"><a href="API-kthread-stop.html"><span class="phrase">kthread_stop</span></a></span><span class="refpurpose"> &#8212; 
59     stop a thread created by <code class="function">kthread_create</code>.
60 </span></dt><dt><span class="refentrytitle"><a href="API-kthread-worker-fn.html"><span class="phrase">kthread_worker_fn</span></a></span><span class="refpurpose"> &#8212; 
61     kthread function to process kthread_worker
62 </span></dt><dt><span class="refentrytitle"><a href="API-queue-kthread-work.html"><span class="phrase">queue_kthread_work</span></a></span><span class="refpurpose"> &#8212; 
63     queue a kthread_work
64 </span></dt><dt><span class="refentrytitle"><a href="API-flush-kthread-work.html"><span class="phrase">flush_kthread_work</span></a></span><span class="refpurpose"> &#8212; 
65     flush a kthread_work
66 </span></dt><dt><span class="refentrytitle"><a href="API-flush-kthread-worker.html"><span class="phrase">flush_kthread_worker</span></a></span><span class="refpurpose"> &#8212; 
67     flush all current works on a kthread_worker
68 </span></dt></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-work-on-cpu.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="Basics.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-wait-task-stopped.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">work_on_cpu</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span class="phrase">wait_task_stopped</span></td></tr></table></div></body></html>
69