Function report |
Source Code:mm\cma_debug.c |
Create Date:2022-07-28 16:33:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cma_debugfs_add_one
Proto:static void cma_debugfs_add_one(struct cma *cma, struct dentry *root_dentry)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct cma * | cma | |
struct dentry * | root_dentry |
171 | tmp = debugfs_create_dir(name, root_dentry) |
173 | debugfs_create_file("alloc", 0200, tmp, cma, & cma_alloc_fops) |
174 | debugfs_create_file("free", 0200, tmp, cma, & cma_free_fops) |
175 | debugfs_create_file("base_pfn", 0444, tmp, & base_pfn, & cma_debugfs_fops) |
177 | debugfs_create_file("count", 0444, tmp, & count, & cma_debugfs_fops) |
178 | debugfs_create_file("order_per_bit", 0444, tmp, & Order of pages represented by one bit , & cma_debugfs_fops) |
180 | debugfs_create_file("used", 0444, tmp, cma, & cma_used_fops) |
181 | debugfs_create_file("maxchunk", 0444, tmp, cma, & cma_maxchunk_fops) |
183 | u32s = DIV_ROUND_UP(cma_bitmap_maxno(cma), BITS_PER_BYTE * sizeof(u32)) |
184 | debugfs_create_u32_array("bitmap", 0444, tmp, (u32 * )bitmap, u32s) |
Name | Describe |
---|---|
cma_debugfs_init |
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 |