Function report |
Source Code:arch\x86\kernel\ldt.c |
Create Date:2022-07-28 07:35:38 |
Last Modify:2022-05-18 16:20:29 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:read_ldt
Proto:static int read_ldt(void __user *ptr, unsigned long bytecount)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
void __user * | ptr | |
unsigned long | bytecount |
416 | lock for reading |
418 | If Not ldt Then |
419 | retval = 0 |
420 | Go to out_unlock |
423 | If bytecount > The size of each LDT entry. * Maximum number of LDT entries supported. Then bytecount = The size of each LDT entry. * Maximum number of LDT entries supported. |
427 | If entries_size > bytecount Then entries_size = bytecount |
430 | If copy_to_user(ptr, entries, entries_size) Then |
432 | Go to out_unlock |
435 | If entries_size != bytecount Then |
439 | Go to out_unlock |
444 | out_unlock : |
446 | Return retval |
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 |