函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kthread.c Create Date:2022-07-27 10:30:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:struct task_struct *kthread_create_on_cpu(int (*threadfn)(void *data), void *data, unsigned int cpu, const char *namefmt)

返回类型:struct task_struct

参数:

类型参数名称
int (*threadfn
void *data
unsigned intcpu
const char *namefmt
453  p等于kthread_create_on_node - create a kthread
455  如果是错误则返回:p
457  kthread_bind - bind a just-created kthread to a cpu
459  设置内存位
460  cpu等于cpu
461  返回:p
调用者
名称描述
__smpboot_create_thread
io_sq_offload_start