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:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:_destroy_usecnt - Called during destruction to check the usecnt*@usecnt: The usecnt atomic*@why: remove reason*@uobj: The uobject that is destroyed* Non-zero usecnts will block destruction unless destruction was triggered by* a ucontext cleanup.

Proto:static inline int ib_destroy_usecnt(atomic_t *usecnt, enum rdma_remove_reason why, struct ib_uobject *uobj)

Type:int

Parameter:

TypeParameterName
atomic_t *usecnt
enum rdma_remove_reasonwhy
struct ib_uobject *uobj
2923  If atomic_read(usecnt) && _is_destroy_retryable - Check whether the uobject destruction* is retryable Then Return -EBUSY
2925  Return 0