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_wq_worker_cancel

Proto:static bool io_wq_worker_cancel(struct io_worker *worker, void *data)

Type:bool

Parameter:

TypeParameterName
struct io_worker *worker
void *data
915  work = data
917  bool ret = false
919  If cur_work != work Then Return false
922  spin_lock_irqsave( & lock, flags)
923  If cur_work == work Then
924  send_sig(SIGINT, task, 1)
925  ret = true
927  spin_unlock_irqrestore( & lock, flags)
929  Return ret