函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\bitmap.c Create Date:2022-07-27 07:17:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:map_allocate_region - allocate bitmap region*@bitmap: array of unsigned longs corresponding to the bitmap*@pos: beginning of bit region to allocate*@order: region size (log base 2 of number of bits) to allocate

函数原型:int bitmap_allocate_region(unsigned long *bitmap, unsigned int pos, int order)

返回类型:int

参数:

类型参数名称
unsigned long *bitmap
unsigned intpos
intorder
1154  如果非__reg_op(bitmap, pos, order, REG_OP_ISFREE)则返回:负EBUSY
1156  返回:__reg_op(bitmap, pos, order, REG_OP_ALLOC)