Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\kmemleak.c Create Date:2022-07-28 16:21:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static void hex_dump_object(struct seq_file *seq, struct kmemleak_object *object)

Type:void

Parameter:

TypeParameterName
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()
Caller
NameDescribe
print_unreferencedPrinting of the unreferenced objects information to the seq file. The* print_unreferenced function must be called with the object->lock held.