函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__check_eq_pbl

函数原型:static bool __init __check_eq_pbl(const char *srcfile, unsigned int line, const char *expected_pbl, const unsigned long *bitmap, unsigned int nbits)

返回类型:bool

参数:

类型参数名称
const char *srcfile
unsigned intline
const char *expected_pbl
const unsigned long *bitmap
unsigned intnbits
90  snprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
91  如果strcmp(expected_pbl, pbl_buffer)则
92  打印警告信息("[%s:%u] expected \"%s\", got \"%s\"\n", srcfile, line, expected_pbl, pbl_buffer)
95  返回:false
97  返回:true