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_attach_connector_to_object
Proto:static int fsnotify_attach_connector_to_object(fsnotify_connp_t *connp, unsigned int type, __kernel_fsid_t *fsid)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
fsnotify_connp_t * | connp | |
unsigned int | type | |
__kernel_fsid_t * | fsid |
482 | Process spin lock initialization( & lock) |
483 | INIT_HLIST_HEAD( & list) |
484 | Type of object [lock] = type |
485 | Object pointer [lock] = connp |
487 | If fsid Then |
490 | Else |
492 | flags [lock] = 0 |
494 | If Type of object [lock] == FSNOTIFY_OBJ_TYPE_INODE Then inode = igrab(fsnotify_conn_inode(conn)) |
502 | If inode Then put an inode |
507 | Return 0 |
Name | Describe |
---|---|
fsnotify_add_mark_list | Add mark into proper place in given list of marks. These marks may be used* for the fsnotify backend to determine which event types should be delivered* to which group and for which inodes. These marks are ordered according to |
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 |