Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dump_str_object_info

Proto:static int dump_str_object_info(const char *str)

Type:int

Parameter:

TypeParameterName
const char *str
1709  If kstrtoul - convert a string to an unsigned long*@s: The start of the string. The string must be null-terminated, and may also* include a single newline before its terminating null. The first character* may also be a plus sign, but not a minus sign. Then Return -EINVAL
1711  object = Look up an object in the object search tree and increase its use_count.
1712  If Not object Then
1713  pr_info("Unknown object at 0x%08lx\n", addr)
1714  Return -EINVAL
1717  spin_lock_irqsave( & lock, flags)
1718  Print the kmemleak_object information. This function is used mainly for* debugging special cases when kmemleak operations. It must be called with* the object->lock held.
1719  spin_unlock_irqrestore( & lock, flags)
1721  Decrement the object use_count. Once the count is 0, free the object using* an RCU callback. Since put_object() may be called via the kmemleak_free() ->* delete_object() path, the delayed RCU freeing ensures that there is no
1722  Return 0
Caller
NameDescribe
kmemleak_writeFile write operation to configure kmemleak at run-time