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

Name:dma_find_pg_bit - Find page bit given address and HW supported page sizes*@addr: address*@pgsz_bitmap: bitmap of HW supported page sizes

Proto:static inline unsigned int rdma_find_pg_bit(unsigned long addr, unsigned long pgsz_bitmap)

Type:unsigned int

Parameter:

TypeParameterName
unsigned longaddr
unsigned longpgsz_bitmap
3336  align = addr & -addr
3341  pgsz = pgsz_bitmap & ~(-align << 1)
3342  If Not pgsz Then Return __ffs - find first set bit in word*@word: The word to search* Undefined if no bit exists, so code should check against 0 first.
3345  Return __fls: find last set bit in word*@word: The word to search* Undefined if no set bit exists, so code should check against 0 first.