函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Printing of the objects hex dump to the seq file. The number of lines to be* printed is limited to HEX_MAX_LINES to prevent seq file spamming. The* actual number of printed bytes depends on HEX_ROW_SIZE. It must be called* with the object->lock held.

函数原型:static void hex_dump_object(struct seq_file *seq, struct kmemleak_object *object)

返回类型:void

参数:

类型参数名称
struct seq_file *seq
struct kmemleak_object *object
283  ptr等于pointer
287  len等于min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(size_t, size, max number of lines to be printed * umber of bytes to print per line; must be 16 or 32 )
289  warn_or_seq_printf(seq, " hex dump (first %zu bytes):\n", len)
290  kasan_disable_current()
291  warn_or_seq_hex_dump(seq, DUMP_PREFIX_NONE, umber of bytes to print per line; must be 16 or 32 , umber of bytes to print at a time (1, 2, 4, 8) , ptr, len, clude ASCII after the hex output )
293  kasan_enable_current()
调用者
名称描述
print_unreferencedPrinting of the unreferenced objects information to the seq file. The* print_unreferenced function must be called with the object->lock held.