Function report |
Source Code:mm\kmemleak.c |
Create Date:2022-07-28 16:21:43 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kmemleak_alloc - register a newly allocated object*@ptr: pointer to beginning of the object*@size: size of the object*@min_count: minimum number of references to this object. If during memory* scanning a number of references less than @min_count is found,
Proto:void __ref kmemleak_alloc(const void *ptr, size_t size, int min_count, gfp_t gfp)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const void * | ptr | |
| size_t | size | |
| int | min_count | |
| gfp_t | gfp |
| Name | Describe |
|---|---|
| genradix_alloc_node | |
| alloc_large_system_hash | allocate a large system hash table from bootmem* - it is assumed that the hash table must contain an exact power-of-2* quantity of entries* - limit is the number of hash buckets, not the total allocation size |
| __do_kmalloc_node | End of slob allocator proper. Begin kmem_cache_alloc and kmalloc frontend. |
| kmalloc_large_node_hook | Hooks for other subsystems that check memory allocations. In a typical* production configuration these hooks all should produce no code at all. |
| kmemleak_alloc_phys | kmemleak_alloc_phys - similar to kmemleak_alloc but taking a physical* address argument*@phys: physical address of the object*@size: size of the object*@min_count: minimum number of references to this object |
| kmemleak_alloc_recursive | |
| sg_kmalloc | The default behaviour of sg_alloc_table() is to use these kmalloc/kfree* helpers. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |