Function report |
Source Code:kernel\kcmp.c |
Create Date:2022-07-28 10:36:49 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kcmp_epoll_target
Proto:static int kcmp_epoll_target(struct task_struct *task1, struct task_struct *task2, unsigned long idx1, struct kcmp_epoll_slot __user *uslot)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | task1 | |
| struct task_struct * | task2 | |
| unsigned long | idx1 | |
| struct kcmp_epoll_slot __user * | uslot |
| 112 | If copy_from_user( & slot, uslot, size of slot ) Then Return -EFAULT |
| 119 | files = get_files_struct(task2) |
| 124 | filp_epoll = fcheck_files(files, poll file descriptor ) |
| 125 | If filp_epoll Then get_file(filp_epoll) |
| 130 | put_files_struct(files) |
| 132 | If filp_epoll Then |
| 133 | filp_tgt = get_epoll_tfile_raw_ptr(filp_epoll, arget file number , arget offset within same numbered sequence ) |
| 134 | fput(filp_epoll) |
| Name | Describe |
|---|---|
| SYSCALL_DEFINE5 |
| 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 |