Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:io_sqe_files_unregister

Proto:static int io_sqe_files_unregister(struct io_ring_ctx *ctx)

Type:int

Parameter:

TypeParameterName
struct io_ring_ctx *ctx
4100  If Not * If used, fixed file set. Writers must ensure that ->refs is dead, * readers must ensure that ->refs is alive as long as the file* is * used. Only updated through io_uring_register(2). Then Return -ENXIO
4103  __io_sqe_files_unregister(ctx)
4104  nr_tables = DIV_ROUND_UP(nr_user_files, IORING_MAX_FILES_TABLE)
4105  When i < nr_tables cycle kfree(files)
4107  kfree(* If used, fixed file set. Writers must ensure that ->refs is dead, * readers must ensure that ->refs is alive as long as the file* is * used. Only updated through io_uring_register(2).)
4108  * If used, fixed file set. Writers must ensure that ->refs is dead, * readers must ensure that ->refs is alive as long as the file* is * used. Only updated through io_uring_register(2). = NULL
4109  nr_user_files = 0
4110  Return 0
Caller
NameDescribe
io_sqe_files_register
io_ring_ctx_free
__io_uring_register