函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:io_work_cancel

函数原型:static bool io_work_cancel(struct io_worker *worker, void *cancel_data)

返回类型:bool

参数:

类型参数名称
struct io_worker *worker
void *cancel_data
839  data等于cancel_data
841  bool ret = false
847  spin_lock_irqsave( & lock, flags)
848  如果cur_workcancel(cur_work, caller_data)则
850  send_sig(SIGINT, task, 1)
851  ret = true
853  spin_unlock_irqrestore( & lock, flags)
855  返回:ret