Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\rdma\ib_verbs.h Create Date:2022-07-28 07:15:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:_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

Proto:static inline bool ib_device_try_get(struct ib_device *dev)

Type:bool

Parameter:

TypeParameterName
struct ib_device *dev
4356  Return _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