Function report |
Source Code:fs\notify\mark.c |
Create Date:2022-07-28 20:16:34 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fsnotify_detach_connector_from_object
Proto:static void *fsnotify_detach_connector_from_object(struct fsnotify_mark_connector *conn, unsigned int *type)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct fsnotify_mark_connector * | conn | |
| unsigned int * | type |
| 178 | type = Type of object [lock] |
| 179 | If Type of object [lock] == FSNOTIFY_OBJ_TYPE_DETACHED Then Return NULL |
| 182 | If Type of object [lock] == FSNOTIFY_OBJ_TYPE_INODE Then |
| 183 | inode = fsnotify_conn_inode(conn) |
| 184 | i_fsnotify_mask = 0 |
| 185 | atomic_long_inc( & s_fsnotify_inode_refs) |
| 186 | Else if Type of object [lock] == FSNOTIFY_OBJ_TYPE_VFSMOUNT Then |
| 187 | mnt_fsnotify_mask = 0 |
| 188 | Else if Type of object [lock] == FSNOTIFY_OBJ_TYPE_SB Then |
| 189 | s_fsnotify_mask = 0 |
| 193 | Object pointer [lock] = NULL |
| 196 | Return inode |
| Name | Describe |
|---|---|
| fsnotify_put_mark | |
| fsnotify_destroy_marks | Destroy all marks attached to an object via connector |
| 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 |