函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__bsg_get_device

函数原型:static struct bsg_device *__bsg_get_device(int minor, struct request_queue *q)

返回类型:struct bsg_device

参数:

类型参数名称
intminor
struct request_queue *q
268  lockdep_assert_held( & bsg_mutex)
271  如果queue恒等于q
272  _inc - increment a refcount*@r: the refcount to increment* Similar to atomic_inc(), but will saturate at REFCOUNT_SATURATED and WARN
273  转到:found
276  bd = NULL
277  found :
278  返回:bd
调用者
名称描述
bsg_get_device