Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pointer_string

Proto:static char *pointer_string(char *buf, char *end, const void *ptr, struct printf_spec spec)

Type:char

Parameter:

TypeParameterName
char *buf
char *end
const void *ptr
struct printf_specspec
696  number base, 8, 10 or 16 only = 16
697  flags to number() |= use lowercase in hex (must be 32 == 0x20)
698  If width of output field == -1 Then
699  width of output field = 2 * size of ptr
700  flags to number() |= pad with zero, must be 16 == '0' - ' '
703  Return number(buf, end, (unsignedlongint)ptr, spec)
Caller
NameDescribe
ptr_to_id
restricted_pointer
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