函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dma_find_pg_bit - Find page bit given address and HW supported page sizes*@addr: address*@pgsz_bitmap: bitmap of HW supported page sizes

函数原型:static inline unsigned int rdma_find_pg_bit(unsigned long addr, unsigned long pgsz_bitmap)

返回类型:unsigned int

参数:

类型参数名称
unsigned longaddr
unsigned longpgsz_bitmap
3336  align等于addr按位与负addr
3341  pgsz等于pgsz_bitmap按位与负align左移1位的值的反
3342  如果非pgsz则返回:在字中找到第一个指定位
3345  返回:__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.