Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test_bitmap.c Create Date:2022-07-28 06:32:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__check_eq_pbl

Proto:static bool __init __check_eq_pbl(const char *srcfile, unsigned int line, const char *expected_pbl, const unsigned long *bitmap, unsigned int nbits)

Type:bool

Parameter:

TypeParameterName
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  If strcmp(expected_pbl, pbl_buffer) Then
92  pr_warn("[%s:%u] expected \"%s\", got \"%s\"\n", srcfile, line, expected_pbl, pbl_buffer)
95  Return false
97  Return true