Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sbitmap_prepare_to_wait

Proto:void sbitmap_prepare_to_wait(struct sbitmap_queue *sbq, struct sbq_wait_state *ws, struct sbq_wait *sbq_wait, int state)

Type:void

Parameter:

TypeParameterName
struct sbitmap_queue *sbq
struct sbq_wait_state *ws
struct sbq_wait *sbq_wait
intstate
672  If Not if set, sbq_wait is accounted Then
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)