函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Enqueue work, hashed by some key. Work items that hash to the same value* will not be done in parallel. Used to limit concurrent writes, generally* hashed by inode.

函数原型:void io_wq_enqueue_hashed(struct io_wq *wq, struct io_wq_work *work, void *val)

返回类型:void

参数:

类型参数名称
struct io_wq *wq
struct io_wq_work *work
void *val
776  wqe等于wqes[Returns the number of the current Node. ]
780  bit等于hash_ptr(val, IO_WQ_HASH_ORDER)
781  flags或等于IO_WQ_WORK_HASHED按位或bit左移IO_WQ_HASH_SHIFT
782  io_wqe_enqueue(wqe, work)