Function report |
Source Code:fs\notify\inotify\inotify_user.c |
Create Date:2022-07-28 20:17:46 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:inotify_ioctl
Proto:static long inotify_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
Type:long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | file | |
| unsigned int | cmd | |
| unsigned long | arg |
| 283 | send_len = 0 |
| 292 | spin_lock( & protect the notification_list ) |
| 295 | send_len += sizeof(structinotify_event) |
| 296 | send_len += round_event_name_len(fsn_event) |
| 298 | spin_unlock( & protect the notification_list ) |
| 299 | ret = Write a simple value into user space(send_len, (int__user * )p) |
| 300 | Break |
| 317 | Return ret |
| 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 |