Function report | 
Source Code:fs\notify\inotify\inotify_user.c | 
Create Date:2022-07-28 20:17:48 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:SYSCALL_DEFINE3
Proto:SYSCALL_DEFINE3(inotify_add_watch, int, fd, const char __user *, pathname, unsigned int, mask)
Type:
Parameter:Nothing
| 706 | flags = 0 | 
| 714 | If Value for the false possibility is greater at compile time(mask & ~ALL_INOTIFY_BITS) Then Return -EINVAL | 
| 721 | If Value for the false possibility is greater at compile time(!(mask & ALL_INOTIFY_BITS)) Then Return -EINVAL | 
| 725 | If Value for the false possibility is greater at compile time(!file) Then Return -EBADF | 
| 731 | Go to fput_and_out | 
| 735 | If Value for the false possibility is greater at compile time(f_op != & inotify_fops) Then | 
| 737 | Go to fput_and_out | 
| 740 | If Not (mask & don't follow a sym link ) Then flags |= llow links at the end | 
| 742 | If mask & ly watch the path if it is a directory Then flags |= quire a directory | 
| 747 | If ret Then Go to fput_and_out | 
| 755 | ret = inotify_update_watch(group, inode, mask) | 
| 757 | fput_and_out : | 
| 759 | 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  |