Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\sbitmap.c Create Date:2022-07-28 07:22:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sbitmap_queue_update_wake_batch

Proto:static void sbitmap_queue_update_wake_batch(struct sbitmap_queue *sbq, unsigned int depth)

Type:void

Parameter:

TypeParameterName
struct sbitmap_queue *sbq
unsigned intdepth
398  wake_batch = sbq_calc_wake_batch(sbq, depth)
401  If @wake_batch: Number of bits which must be freed before we wake up any* waiters. != wake_batch Then
402  WRITE_ONCE(@wake_batch: Number of bits which must be freed before we wake up any* waiters., wake_batch)
408  smp_mb()
409  When i < SBQ_WAIT_QUEUES cycle atomic_set( & @wait_cnt: Number of frees remaining before we wake up., 1)
Caller
NameDescribe
sbitmap_queue_resize
sbitmap_queue_min_shallow_depth