Function report |
Source Code:fs\file.c |
Create Date:2022-07-28 20:08:32 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Lightweight file lookup - no refcnt increment if fd table isn't shared.* You can use this instead of fget if you satisfy all of the following* conditions:* 1) You must call fput_light before exiting the syscall and returning control* to userspace (i
Proto:static unsigned long __fget_light(unsigned int fd, fmode_t mask)
Type:unsigned long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | fd | |
| fmode_t | mask |
| 770 | If atomic_read( & ad mostly part) == 1 Then |
| 772 | If Not file || Value for the false possibility is greater at compile time(f_mode & mask) Then Return 0 |
| 774 | Return file |
| 775 | Else |
| Name | Describe |
|---|---|
| __fdget | |
| __fdget_raw |
| 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 |