函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__kthread_bind

函数原型:static void __kthread_bind(struct task_struct *p, unsigned int cpu, long state)

返回类型:void

参数:

类型参数名称
struct task_struct *p
unsigned intcpu
longstate
413  __kthread_bind_mask(p, cpumask_of - the cpumask containing just a given cpu*@cpu: the cpu (<= nr_cpu_ids)(cpu), state)
调用者
名称描述
kthread_bindkthread_bind - bind a just-created kthread to a cpu
kthread_unparkkthread_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