函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\sbitmap.c Create Date:2022-07-27 08:21:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sbitmap_prepare_to_wait

函数原型:void sbitmap_prepare_to_wait(struct sbitmap_queue *sbq, struct sbq_wait_state *ws, struct sbq_wait *sbq_wait, int state)

返回类型:void

参数:

类型参数名称
struct sbitmap_queue *sbq
struct sbq_wait_state *ws
struct sbq_wait *sbq_wait
intstate
672  如果非 if set, sbq_wait is accounted
673  atomic_inc( & @ws_active: count of currently active ws waitqueues)
674  if set, sbq_wait is accounted 等于sbq
676  prepare_to_wait_exclusive( & @wait: Wait queue., & wait, state)
调用者
名称描述
blk_mq_get_tag