函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test_printf.c Create Date:2022-07-27 07:30:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:plain_hash_to_buffer

函数原型:static int __init plain_hash_to_buffer(const void *p, char *buf, size_t len)

返回类型:int

参数:

类型参数名称
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  如果nchars不等于PTR_WIDTH则返回:负1
268  如果字符串指定长度比较恒等于0则
269  打印警告信息("crng possibly not yet initialized. plain 'p' buffer contains \"%s\"", PTR_VAL_NO_CRNG)
271  返回:0
274  返回:0
调用者
名称描述
plain_hash
test_hashed