Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test_printf.c Create Date:2022-07-28 06:32:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:plain_hash_to_buffer

Proto:static int __init plain_hash_to_buffer(const void *p, char *buf, size_t len)

Type:int

Parameter:

TypeParameterName
const void *p
char *buf
size_tlen
263  nchars = 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*@
265  If nchars != PTR_WIDTH Then Return -1
268  If strncmp(buf, PTR_VAL_NO_CRNG, PTR_WIDTH) == 0 Then
269  pr_warn("crng possibly not yet initialized. plain 'p' buffer contains \"%s\"", PTR_VAL_NO_CRNG)
271  Return 0
274  Return 0
Caller
NameDescribe
plain_hash
test_hashed