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:aio_complete_rw

Proto:static void aio_complete_rw(struct kiocb *kiocb, long res, long res2)

Type:void

Parameter:

TypeParameterName
struct kiocb *kiocb
longres
longres2
1423  iocb = 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.(kiocb, structaio_kiocb, rw)
1425  If Not list_empty_careful - tests whether a list is empty and not being modified*@head: the list to test* Description:* tests whether a list is empty _and_ checks that no other CPU might be* in the process of modifying either member (next or prev)* NOTE: using Then aio_remove_iocb(iocb)
1428  If ki_flags & IOCB_WRITE Then
1429  inode = file_inode(ki_filp)
1435  If S_ISREG(i_mode) Then __sb_writers_acquired(i_sb, SB_FREEZE_WRITE)
1437  file_end_write(ki_filp)
1440  sult code for this event = res
1441  secondary result = res2
1442  iocb_put(iocb)