函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sbq_wake_ptr

函数原型:static struct sbq_wait_state *sbq_wake_ptr(struct sbitmap_queue *sbq)

返回类型:struct sbq_wait_state

参数:

类型参数名称
struct sbitmap_queue *sbq
492  如果非atomic_read( & @ws_active: count of currently active ws waitqueues)则返回:NULL
495  wake_index等于atomic_read( & @wake_index: Next wait queue in @ws to wake up.)
496 i小于SBQ_WAIT_QUEUES循环
497  ws等于@ws: Wait queues.[wake_index]
502  返回:ws
505  wake_index等于sbq_index_inc(wake_index)
508  返回:NULL
调用者
名称描述
__sbq_wake_up