Function report | 
Source Code:fs\select.c | 
Create Date:2022-07-28 20:07:02 | 
| Last Modify:2020-03-18 10:25:38 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:poll_select_finish
Proto:static int poll_select_finish(struct timespec64 *end_time, void __user *p, enum poll_time_type pt_type, int ret)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct timespec64 * | end_time | |
| void __user * | p | |
| enum poll_time_type | pt_type | |
| int | ret | 
| 303 | restore_saved_sigmask_unless(ret == - start if no handler.. ) | 
| 308 | If personality & STICKY_TIMEOUTS Then Go to sticky | 
| 312 | If Not seconds && Not nanoseconds Then Return ret | 
| 317 | If seconds < 0 Then seconds = nanoseconds = 0 | 
| 322 | Case pt_type == PT_TIMEVAL | 
| 329 | tv_usec = nanoseconds / NSEC_PER_USEC | 
| 330 | If Not copy_to_user(p, & rtv, size of rtv ) Then Return ret | 
| 333 | Break | 
| 334 | Case pt_type == PT_OLD_TIMEVAL | 
| 339 | tv_usec = nanoseconds / NSEC_PER_USEC | 
| 340 | If Not copy_to_user(p, & rtv, size of rtv ) Then Return ret | 
| 343 | Break | 
| 344 | Case pt_type == PT_TIMESPEC | 
| 345 | If Not put_timespec64( & rts, p) Then Return ret | 
| 347 | Break | 
| 348 | Case pt_type == PT_OLD_TIMESPEC | 
| 349 | If Not put_old_timespec32( & rts, p) Then Return ret | 
| 351 | Break | 
| 352 | Default | 
| 353 | BUG() | 
| 363 | sticky : | 
| 364 | If ret == -start if no handler.. Then ret = -EINTR | 
| 366 | Return ret | 
| Name | Describe | 
|---|---|
| kern_select | |
| do_pselect | |
| SYSCALL_DEFINE5 | |
| do_compat_select | |
| do_compat_pselect | |
| COMPAT_SYSCALL_DEFINE5 | New compat syscall for 64 bit time_t | 
| 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  |