函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bitmap_set_region

函数原型:static int bitmap_set_region(const struct region *r, unsigned long *bitmap, int nbits)

返回类型:int

参数:

类型参数名称
const struct region *r
unsigned long *bitmap
intnbits
531  如果end大于等于nbits则返回:负ERANGE
534 start小于等于end循环bitmap_set(bitmap, start, 两数取小(end - start + 1, off))
537  返回:0
调用者
名称描述
bitmap_parselistmap_parselist - convert list format ASCII string to bitmap*@buf: read user string from this buffer; must be terminated* with a \0 or \n