Function report |
Source Code:fs\notify\fanotify\fanotify_user.c |
Create Date:2022-07-28 20:18:34 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fanotify_add_new_mark
Proto:static struct fsnotify_mark *fanotify_add_new_mark(struct fsnotify_group *group, fsnotify_connp_t *connp, unsigned int type, __kernel_fsid_t *fsid)
Type:struct fsnotify_mark
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct fsnotify_group * | group | |
| fsnotify_connp_t * | connp | |
| unsigned int | type | |
| __kernel_fsid_t * | fsid |
| 685 | If atomic_read( & 1 for each mark and 1 for not being * past the point of no return when freeing * a group ) > max_marks Then Return ERR_PTR( - ENOSPC) |
| 693 | ret = Attach an initialized mark to a given group and fs object.* These marks may be used for the fsnotify backend to determine which* event types should be delivered to which group. |
| 694 | If ret Then |
| 695 | fsnotify_put_mark(mark) |
| 699 | Return mark |
| Name | Describe |
|---|---|
| fanotify_add_mark |
| 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 |