函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:io_sqe_files_unregister

函数原型:static int io_sqe_files_unregister(struct io_ring_ctx *ctx)

返回类型:int

参数:

类型参数名称
struct io_ring_ctx *ctx
4100  如果非* 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).则返回:负ENXIO
4103  __io_sqe_files_unregister(ctx)
4104  nr_tables等于DIV_ROUND_UP(nr_user_files, IORING_MAX_FILES_TABLE)
4105 i小于nr_tables循环释放内存
4107  释放内存
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  返回:0
调用者
名称描述
io_sqe_files_register
io_ring_ctx_free
__io_uring_register