Function report |
Source Code:fs\fcntl.c |
Create Date:2022-07-28 20:06:04 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Insert a new entry into the fasync list. Return the pointer to the* old one if we didn't use the new one.* NOTE! It is very important that the FASYNC flag always* match the state "is the filp on a fasync list".
Proto:struct fasync_struct *fasync_insert_entry(int fd, struct file *filp, struct fasync_struct **fapp, struct fasync_struct *new)
Type:struct fasync_struct
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | fd | |
| struct file * | filp | |
| struct fasync_struct ** | fapp | |
| struct fasync_struct * | new |
| 920 | spin_lock( & fasync_lock) |
| 931 | rwlock_init( & fa_lock) |
| 932 | magic = FASYNC_MAGIC |
| 935 | singly linked list = fapp |
| 939 | out : |
| 940 | spin_unlock( & fasync_lock) |
| 942 | Return fa |
| Name | Describe |
|---|---|
| fasync_add_entry | Add a fasync entry. Return negative on error, positive if* added, and zero if did nothing but change an existing one. |
| lease_setup |
| 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 |