Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\workqueue.c Create Date:2022-07-28 09:27:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:xecute_in_process_context - reliably execute the routine with user context*@fn: the function to execute*@ew: guaranteed storage for the execute work structure (must* be available when the work executes)* Executes the function immediately if process

Proto:int execute_in_process_context(work_func_t fn, struct execute_work *ew)

Type:int

Parameter:

TypeParameterName
work_func_tfn
struct execute_work *ew
3315  If Not in_interrupt() Then
3316  fn( & work)
3317  Return 0
3320  INIT_WORK( & work, fn)
3321  schedule_work - put work task in global workqueue*@work: job to be done* Returns %false if @work was already on the kernel-global workqueue and* %true otherwise
3323  Return 1