Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:We can't just wait for polled events to come to us, we have to actively* find and complete them.

Proto:static void io_iopoll_reap_events(struct io_ring_ctx *ctx)

Type:void

Parameter:

TypeParameterName
struct io_ring_ctx *ctx
1271  If Not (flags & _context is polled ) Then Return
1274  mutex_lock( & uring_lock)
1275  When Not list_empty - tests whether a list is empty*@head: the list to test. cycle
1276  nr_events = 0
1278  Poll for a minimum of 'min' events. Note that if min == 0 we consider that a* non-spinning poll check - we'll still enter the driver poll loop, but only* as a non-spinning completion check.
1284  cond_resched()
1286  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
Caller
NameDescribe
io_ring_ctx_free
io_ring_ctx_wait_and_kill