Function report |
Source Code:kernel\debug\kdb\kdb_support.c |
Create Date:2022-07-28 11:43:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kdb_getarea_size - Read an area of data. The kdb equivalent of* copy_from_user, with kdb messages for invalid addresses.* Inputs:* res Pointer to the area to receive the result.* addr Address of the area to copy.* size Size of the area.* Returns:
Proto:int kdb_getarea_size(void *res, unsigned long addr, size_t size)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
void * | res | |
unsigned long | addr | |
size_t | size |
329 | If ret Then |
331 | kdb_printf("kdb_getarea: Bad address 0x%lx\n", addr) |
332 | KDB_STATE_SET(SUPPRESS) |
334 | ret = KDB_BADADDR |
335 | Else |
336 | KDB_STATE_CLEAR(SUPPRESS) |
338 | Return ret |
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 |