函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\vsprintf.c Create Date:2022-07-27 07:09:36
Last Modify:2022-05-21 09:47:42 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:flags_string

函数原型:static __attribute__((__noinline__)) char *flags_string(char *buf, char *end, void *flags_ptr, struct printf_spec spec, const char *fmt)

返回类型:char

参数:

类型参数名称
char *buf
char *end
void *flags_ptr
struct printf_specspec
const char *fmt
1889  如果check_pointer( & buf, end, flags_ptr, spec)则返回:buf
1893  :fmt[1]恒等于'p'
1894  flags等于flags_ptr
1896  flags与等于1UL左移NR_PAGEFLAGS位的值减1
1897  names等于pageflag_names
1898  退出
1899  :fmt[1]恒等于'v'
1900  flags等于flags_ptr
1901  names等于vmaflag_names
1902  退出
1903  :fmt[1]恒等于'g'
1904  flags等于flags_ptr
1905  names等于gfpflag_names
1906  退出
1907  默认
1908  返回:Be careful: error messages must fit into the given buffer.
1911  返回:format_flags(buf, end, flags, names)
调用者
名称描述
pointerShow a '%p' thing. A kernel extension is that the '%p' is followed* by an extra set of alphanumeric characters that are extended format* specifiers.* Please update scripts/checkpatch.pl when adding/removing conversion* characters