函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ser_refill_reqs_available* Called to refill reqs_available when aio_get_req() encounters an* out of space in the completion ring.

函数原型:static void user_refill_reqs_available(struct kioctx *ctx)

返回类型:void

参数:

类型参数名称
struct kioctx *ctx
987  spin_lock_irq( & completion_lock)
988  如果completed_events
1001  ring等于kmap_atomic(ring_pages[0])
1002  head等于 Written to by userland or under ring_lock * mutex by aio_read_events_ring().
1003  Prevent people trying to call kunmap_atomic() as if it were kunmap()* kunmap_atomic() should get the return value of kmap_atomic, not the page.(ring)
1005  ll_reqs_available* Updates the reqs_available reference counts used for tracking the* number of free slots in the completion ring. This can be called* from aio_complete() (to optimistically update reqs_available) or
1008  spin_unlock_irq( & completion_lock)
调用者
名称描述
get_reqs_available