Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kfree_const - conditionally free memory*@x: pointer to the memory* Function calls kfree only if @x is not in .rodata section.

Proto:void kfree_const(const void *x)

Type:void

Parameter:

TypeParameterName
const void *x
39  If Not s_kernel_rodata - checks if the pointer address is located in the* .rodata section*@addr: address to check* Returns: true if the address is located in .rodata, false otherwise. Then kfree - free previously allocated memory*@objp: pointer returned by kmalloc.* If @objp is NULL, no operation is performed.* Don't free memory not originally allocated by kmalloc()* or you will run into trouble.
Caller
NameDescribe
kobject_set_name_vargskobject_set_name_vargs() - Set the name of a kobject.*@kobj: struct kobject to set the name of*@fmt: format string used to build the name*@vargs: vargs to format the string.
kobject_renamekobject_rename() - Change the name of an object
kobject_cleanupkobject_cleanup - free kobject resources.*@kobj: object to cleanup
__test_firmware_config_free
config_name_store
__kmod_config_free
config_test_driver_store
config_test_fs_store
trigger_config_run_type
free_test_dev_kmod
gen_pool_destroygen_pool_destroy - destroy a special memory pool*@pool: pool to destroy* Destroy the specified special memory pool. Verifies that there are no* outstanding allocations.
devm_gen_pool_createdevm_gen_pool_create - managed gen_pool_create*@dev: device that provides the gen_pool*@min_alloc_order: log base 2 of number of bytes each bitmap bit represents*@nid: node selector for allocated gen_pool, %NUMA_NO_NODE for all nodes*@name: name of a
create_new_subsystem
kmem_cache_create_usercopykmem_cache_create_usercopy - Create a cache with a region suitable* for copying to userspace*@name: A string which is used in /proc/slabinfo to identify this cache.*@size: The size of objects to be created in this cache.
slab_kmem_cache_release