Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:uuid_string

Proto:static __attribute__((__noinline__)) char *uuid_string(char *buf, char *end, const u8 *addr, struct printf_spec spec, const char *fmt)

Type:char

Parameter:

TypeParameterName
char *buf
char *end
const u8 *addr
struct printf_specspec
const char *fmt
1663  p = uuid
1665  index = uuid_index
1666  bool uc = false
1668  If check_pointer( & buf, end, addr, spec) Then Return buf
1672  Case * == 'L'
1673  uc = true
1674  Case * == 'l'
1675  index = guid_index
1676  Break
1677  Case * == 'B'
1678  uc = true
1679  Break
1682  When i < 16 cycle
1683  If uc Then p = hex_byte_pack_upper(p, addr[index[i]])
1685  Else p = hex_byte_pack(p, addr[index[i]])
1688  Case i == 3
1689  Case i == 5
1690  Case i == 7
1691  Case i == 9
1692  p++ = '-'
1693  Break
1697  p = 0
1699  Return Handle string from a well known address.
Caller
NameDescribe
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