函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:io_wq_worker_cancel

函数原型:static bool io_wq_worker_cancel(struct io_worker *worker, void *data)

返回类型:bool

参数:

类型参数名称
struct io_worker *worker
void *data
915  work等于data
917  bool ret = false
919  如果cur_work不等于work则返回:false
922  spin_lock_irqsave( & lock, flags)
923  如果cur_work恒等于work
924  send_sig(SIGINT, task, 1)
925  ret = true
927  spin_unlock_irqrestore( & lock, flags)
929  返回:ret