Function report |
Source Code:fs\file.c |
Create Date:2022-07-28 20:08:31 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:allocate a file descriptor, mark it busy.
Proto:int __alloc_fd(struct files_struct *files, unsigned start, unsigned end, unsigned flags)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct files_struct * | files | |
| unsigned | start | |
| unsigned | end | |
| unsigned | flags |
| 488 | repeat : |
| 489 | fdt = files_fdtable(files) |
| 519 | __set_open_fd(fd, fdt) |
| 520 | If flags & O_CLOEXEC Then __set_close_on_exec(fd, fdt) |
| 522 | Else __clear_close_on_exec(fd, fdt) |
| 533 | out : |
| 535 | Return error |
| Name | Describe |
|---|---|
| alloc_fd | |
| get_unused_fd_flags |
| 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 |