Function report |
Source Code:include\asm-generic\sections.h |
Create Date:2022-07-28 05:49:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static inline bool is_kernel_rodata(unsigned long addr)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | addr |
168 | Return addr >= __start_rodata && addr < __end_rodata |
Name | Describe |
---|---|
kfree_const | kfree_const - conditionally free memory*@x: pointer to the memory* Function calls kfree only if @x is not in .rodata section. |
kstrdup_const | kstrdup_const - conditionally duplicate an existing const string*@s: the string to duplicate*@gfp: the GFP mask used in the kmalloc() call when allocating memory* Note: Strings allocated by kstrdup_const should be freed by kfree_const. |
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 |