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:address_val

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

Type:char

Parameter:

TypeParameterName
char *buf
char *end
const void *addr
struct printf_specspec
const char *fmt
1731  If check_pointer( & buf, end, addr, spec) Then Return buf
1735  Case fmt[1] == 'd'
1736  num = addr
1737  size = sizeof(dma_addr_t)
1738  Break
1739  Case fmt[1] == 'p'
1740  Default
1741  num = addr
1742  size = sizeof(phys_addr_t)
1743  Break
1746  Return special_hex_number(buf, end, num, size)
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