函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:seq_buf_hex_dump - print formatted hex dump into the sequence buffer*@s: seq_buf descriptor*@prefix_str: string to prefix each line with;* caller supplies trailing spaces for alignment if desired*@prefix_type: controls whether prefix of an offset,

函数原型:int seq_buf_hex_dump(struct seq_buf *s, const char *prefix_str, int prefix_type, int rowsize, int groupsize, const void *buf, size_t len, bool ascii)

返回类型:int

参数:

类型参数名称
struct seq_buf *s
const char *prefix_str
intprefix_type
introwsize
intgroupsize
const void *buf
size_tlen
boolascii
360  ptr等于buf
361  remaining等于len
365  如果rowsize不等于16且rowsize不等于32则rowsize等于16
368 i小于len循环
369  linelen等于两数取小(remaining, rowsize)
370  remaining减等于rowsize
372  hex_dump_to_buffer - convert a blob of data to "hex ASCII" in memory*@buf: data blob to dump*@len: number of bytes in the @buf*@rowsize: number of bytes to print per line; must be 16 or 32*@groupsize: number of bytes to print at a time (1, 2, 4, 8;
379  退出
383  退出
384  默认
386  退出
388  如果ret则返回:ret
391  返回:0
调用者
名称描述
trace_seq_hex_dump