Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\io-wq.c Create Date:2022-07-28 20:22:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:io_work_cancel

Proto:static bool io_work_cancel(struct io_worker *worker, void *cancel_data)

Type:bool

Parameter:

TypeParameterName
struct io_worker *worker
void *cancel_data
839  data = cancel_data
841  bool ret = false
847  spin_lock_irqsave( & lock, flags)
848  If cur_work && cancel(cur_work, caller_data) Then
850  send_sig(SIGINT, task, 1)
851  ret = true
853  spin_unlock_irqrestore( & lock, flags)
855  Return ret