Function report |
Source Code:fs\fcntl.c |
Create Date:2022-07-28 20:05:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:send_sigio_to_task
Proto:static void send_sigio_to_task(struct task_struct *p, struct fown_struct *fown, int fd, int reason, enum pid_type type)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | p | |
| struct fown_struct * | fown | |
| int | fd | |
| int | reason | |
| enum pid_type | type |
| 734 | If Not sigio_perm(p, fown, signum) Then Return |
| 739 | Default |
| 746 | clear_siginfo( & si) |
| 748 | si_errno = 0 |
| 758 | If signum != SIGPOLL && sig_specific_sicodes(signum) Then si_code = sent by queued SIGIO |
| 764 | BUG_ON((reason < data input available ) || ((reason - data input available ) >= NSIGPOLL)) |
| 765 | If reason - data input available >= NSIGPOLL Then si_band = ~0L |
| 767 | Else si_band = mangle_poll(Table to convert sigio signal codes into poll band bitmaps [reason - data input available ]) |
| 770 | If Not do_send_sig_info(signum, & si, p, type) Then Break |
| 773 | Case signum == 0 |
| 774 | do_send_sig_info(SIGIO, SEND_SIG_PRIV, p, type) |
| Name | Describe |
|---|---|
| send_sigio |
| 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 |