函数逻辑报告 |
Source Code:fs\select.c |
Create Date:2022-07-29 10:37:02 |
Last Modify:2020-03-18 10:25:38 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:do_pselect
函数原型:static long do_pselect(int n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, void __user *tsp, const sigset_t __user *sigmask, size_t sigsetsize, enum poll_time_type type)
返回类型:long
参数:
类型 | 参数 | 名称 |
---|---|---|
int | n | |
fd_set __user * | inp | |
fd_set __user * | outp | |
fd_set __user * | exp | |
void __user * | tsp | |
const sigset_t __user * | sigmask | |
size_t | sigsetsize | |
enum poll_time_type | type |
733 | struct timespec64 ts, end_time, * to = NULL |
736 | 如果tsp则 |
738 | 当:type恒等于PT_TIMESPEC |
739 | 如果get_timespec64( & ts, tsp)则返回:负EFAULT |
741 | 退出 |
742 | 当:type恒等于PT_OLD_TIMESPEC |
743 | 如果get_old_timespec32( & ts, tsp)则返回:负EFAULT |
745 | 退出 |
746 | 默认 |
747 | BUG() |
760 | 返回:poll_select_finish( & end_time, tsp, type, ret) |
名称 | 描述 |
---|---|
SYSCALL_DEFINE6 | Most architectures can't handle 7-argument syscalls. So we provide a* 6-argument version where the sixth argument is a pointer to a structure* which has a pointer to the sigset_t itself followed by a size_t containing* the sigset size. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |