Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:assumes we are called with irqs disabled

Proto:static int aio_poll_cancel(struct kiocb *iocb)

Type:int

Parameter:

TypeParameterName
struct kiocb *iocb
1656  aiocb = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(iocb, structaio_kiocb, rw)
1657  req = poll
1659  spin_lock( & lock)
1660  WRITE_ONCE(cancelled, true)
1661  If Not list_empty - tests whether a list is empty*@head: the list to test. Then
1662  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
1663  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
1665  spin_unlock( & lock)
1667  Return 0