Function report |
Source Code:fs\eventfd.c |
Create Date:2022-07-28 20:20:14 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_eventfd
Proto:static int do_eventfd(unsigned int count, int flags)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | count | |
| int | flags |
| 415 | If flags & ~EFD_FLAGS_SET Then Return -EINVAL |
| 418 | ctx = Allocation memory |
| 423 | init_waitqueue_head( & wqh) |
| 426 | id = ida_simple_get( & eventfd_ida, 0, 0, GFP_KERNEL) |
| 430 | If fd < 0 Then eventfd_free_ctx(ctx) |
| 433 | Return fd |
| Name | Describe |
|---|---|
| SYSCALL_DEFINE2 | |
| SYSCALL_DEFINE1 |
| 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 |