函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:_device_try_get: Hold a registration lock* device: The device to lock* A device under an active registration lock cannot become unregistered. It* is only possible to obtain a registration lock on a device that is fully

函数原型:static inline bool ib_device_try_get(struct ib_device *dev)

返回类型:bool

参数:

类型参数名称
struct ib_device *dev
4356  返回:_inc_not_zero - increment a refcount unless it is 0*@r: the refcount to increment* Similar to atomic_inc_not_zero(), but will saturate at REFCOUNT_SATURATED* and WARN.* Provides no memory ordering, it is assumed the caller has guaranteed the