Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bsg.c Create Date:2022-07-28 17:37:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__bsg_get_device

Proto:static struct bsg_device *__bsg_get_device(int minor, struct request_queue *q)

Type:struct bsg_device

Parameter:

TypeParameterName
intminor
struct request_queue *q
268  lockdep_assert_held( & bsg_mutex)
271  If queue == q Then
272  _inc - increment a refcount*@r: the refcount to increment* Similar to atomic_inc(), but will saturate at REFCOUNT_SATURATED and WARN
273  Go to found
276  bd = NULL
277  found :
278  Return bd
Caller
NameDescribe
bsg_get_device