Function report | 
Source Code:kernel\kthread.c | 
Create Date:2022-07-28 09:30:05 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:to_kthread
Proto:static inline struct kthread *to_kthread(struct task_struct *k)
Type:struct kthread
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct task_struct * | k | 
| 76 | Return CLONE_CHILD_SETTID: | 
| Name | Describe | 
|---|---|
| free_kthread_struct | |
| kthread_should_stop | kthread_should_stop - should this kthread return now?* When someone calls kthread_stop() on your kthread, it will be woken* and this will return true. You should then return, and your return* value will be passed through to kthread_stop(). | 
| __kthread_should_park | |
| kthread_data | kthread_data - return data value specified on kthread creation*@task: kthread task in question* Return the data value specified when kthread @task was created.* The caller is responsible for ensuring the validity of @task when* calling this function. | 
| kthread_probe_data | kthread_probe_data - speculative version of kthread_data()*@task: possible kthread task in question*@task could be a kthread task. Return the data value specified when it* was created if accessible. If @task isn't a kthread task or its data is | 
| kthread_parkme | |
| kthread_create_on_cpu | kthread_create_on_cpu - Create a cpu bound kthread*@threadfn: the function to run until signal_pending(current).*@data: data ptr for @threadfn.*@cpu: The cpu on which the thread should be bound,*@namefmt: printf-style name for the thread | 
| kthread_unpark | kthread_unpark - unpark a thread created by kthread_create().*@k: thread created by kthread_create().* Sets kthread_should_park() for @k to return false, wakes it, and* waits for it to return. If the thread is marked percpu then its | 
| kthread_park | kthread_park - park a thread created by kthread_create() | 
| kthread_stop | stop a thread | 
| kthread_associate_blkcg | kthread_associate_blkcg - associate blkcg to current kthread*@css: the cgroup info* Current thread must be a kthread. The thread is running jobs on behalf of* other threads. In some cases, we expect the jobs attach cgroup info of | 
| kthread_blkcg | kthread_blkcg - get associated blkcg css of current kthread* Current thread must be a kthread. | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |