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

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

Type:int

Parameter:

TypeParameterName
char **buf
char *end
const void *ptr
struct printf_specspec
673  err_msg = Do not call any complex external code here. Nested printk()/vsprintf()* might cause infinite loops. Failures might break printk() and would* be hard to debug.
674  If err_msg Then
675  buf = Be careful: error messages must fit into the given buffer.
676  Return -EFAULT
679  Return 0
Caller
NameDescribe
string
dentry_name
file_dentry_name
bdev_name
resource_string
hex_string
bitmap_string
bitmap_list_string
mac_address_string
ip_addr_string
escaped_string
va_format
uuid_string
netdev_bits
address_val
rtc_str
clock
flags_string
device_node_string
fwnode_string