函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:io_poll_remove_all

函数原型:static void io_poll_remove_all(struct io_ring_ctx *ctx)

返回类型:void

参数:

类型参数名称
struct io_ring_ctx *ctx
2518  spin_lock_irq( & completion_lock)
2519 i小于1U左移cancel_hash_bits循环
2522  list等于cancel_hash[i]
2523  hlist_for_each_entry_safe - iterate over list of given type safe against removal of list entry*@pos: the type * to use as a loop cursor.*@n: another &struct hlist_node to use as temporary storage*@head: the head for your list.(req, tmp, list, hash_node)
2524  io_poll_remove_one(req)
2526  spin_unlock_irq( & completion_lock)
调用者
名称描述
io_ring_ctx_wait_and_kill