Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\vsprintf.c Create Date:2022-07-28 06:12:18
Last Modify:2022-05-21 09:47:42 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:format_flags

Proto:static char *format_flags(char *buf, char *end, unsigned long flags, const struct trace_print_flags *names)

Type:char

Parameter:

TypeParameterName
char *buf
char *end
unsigned longflags
const struct trace_print_flags *names
1861  When flags && name cycle
1862  mask = mask
1863  If (flags & mask) != mask Then Continue
1866  buf = string(buf, end, name, default_str_spec)
1868  flags &= ~mask
1869  If flags Then
1870  If buf < end Then buf = '|'
1872  buf++
1876  If flags Then buf = number(buf, end, flags, default_flag_spec)
1879  Return buf
Caller
NameDescribe
flags_string