Function report |
Source Code:fs\libfs.c |
Create Date:2022-07-28 20:10:25 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:simple_transaction_get
Proto:char *simple_transaction_get(struct file *file, const char __user *buf, size_t size)
Type:char
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | file | |
| const char __user * | buf | |
| size_t | size |
| 760 | If size > SIMPLE_TRANSACTION_LIMIT - 1 Then Return ERR_PTR( - EFBIG) |
| 763 | ar = get_zeroed_page(GFP_KERNEL) |
| 767 | spin_lock( & simple_transaction_lock) |
| 770 | If needed for tty driver, and maybe others Then |
| 771 | spin_unlock( & simple_transaction_lock) |
| 778 | spin_unlock( & simple_transaction_lock) |
| 783 | Return data |
| Name | Describe |
|---|---|
| smk_user_access | smk_user_access - handle access check transaction*@file: file pointer*@buf: data from user space*@count: bytes sent*@ppos: where to start - must be 0 |
| 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 |