Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\tnum.c Create Date:2022-07-28 13:08:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:tnum_strn

Proto:int tnum_strn(char *str, size_t size, struct tnum a)

Type:int

Parameter:

TypeParameterName
char *str
size_tsize
struct tnuma
174  Return snprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
Caller
NameDescribe
check_stack_access
check_pkt_ptr_alignment
check_generic_ptr_alignment
check_ctx_reg
check_tp_buffer_access
check_ptr_to_btf_access
__check_stack_boundary
check_stack_boundarywhen register 'regno' is passed into function that will read 'access_size'* bytes from that pointer, make sure that it's within stack boundary* and all elements of stack are initialized
check_return_code