函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sbitmap_queue_update_wake_batch

函数原型:static void sbitmap_queue_update_wake_batch(struct sbitmap_queue *sbq, unsigned int depth)

返回类型:void

参数:

类型参数名称
struct sbitmap_queue *sbq
unsigned intdepth
398  wake_batch等于sbq_calc_wake_batch(sbq, depth)
401  如果@wake_batch: Number of bits which must be freed before we wake up any* waiters.不等于wake_batch
402  WRITE_ONCE(@wake_batch: Number of bits which must be freed before we wake up any* waiters., wake_batch)
408  smp_mb()
409 i小于SBQ_WAIT_QUEUES循环atomic_set( & @wait_cnt: Number of frees remaining before we wake up., 1)
调用者
名称描述
sbitmap_queue_resize
sbitmap_queue_min_shallow_depth