函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:We need to create the usermodehelper kernel thread from a task that is affine* to an optimized set of CPUs (or nohz housekeeping ones) such that they* inherit a widest affinity irrespective of call_usermodehelper() callers with

函数原型:static void call_usermodehelper_exec_work(struct work_struct *work)

返回类型:void

参数:

类型参数名称
struct work_struct *work
183  sub_info等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(work, structsubprocess_info, work)
186  如果wait按位与wait for the process to complete
187  Handles UMH_WAIT_PROC.
188  否则
195  pid等于创建内核线程
197  如果pid小于0则
198  retval等于pid