Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- fs/nfsd/filecache.c
- fs/notify/inotify/inotify_fsnotify.c, line 133
- fs/notify/inotify/inotify_user.c, line 793
- fs/notify/mark.c
- kernel/audit_fsnotify.c, line 146
- kernel/audit_watch.c
Smatch caller information:
fs/nfsd/filecache.c nfsd_file_mark_find_or_create() -> fsnotify_destroy_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mark | 4096-ptr_max |
| PARAM_VALUE | 1 | group | 4096-ptr_max |
| PARAM_VALUE | 1 | group->mark_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | group->mark_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | group->mark_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | group->mark_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | group->mark_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | group->mark_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | group->mark_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | group->owner_flags | 0,262144 |
| CAPPED_DATA | 0 | mark->group | 1 |
| CAPPED_DATA | 1 | group | 1 |
| DATA_SOURCE | 0 | mark | r fsnotify_find_inode_mark |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfsd/filecache.c nfsd_file_mark_put() -> fsnotify_destroy_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mark | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | group | unit_byte |
kernel/audit_fsnotify.c audit_remove_mark() -> fsnotify_destroy_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mark | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &audit_filter_mutex |
fs/notify/inotify/inotify_fsnotify.c inotify_handle_inode_event() -> fsnotify_destroy_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mark | 4096-ptr_max |
| PARAM_VALUE | 0 | mark->flags | 32-u32max |
| PARAM_VALUE | 0 | mark->group->notification_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mark->group->ops->freeing_mark | 0,2212800610229145600,3292474124058923008,3405698242792390656 |
| PARAM_VALUE | 1 | group | 4096-ptr_max |
| PARAM_VALUE | 1 | group->notification_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | mark | (-1),136 |
| BUF_SIZE | 0 | mark | (-1),136 |
| DATA_SOURCE | 0 | mark | $0 |
| BIT_INFO | 0 | mark->flags | 0x20,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | mark->ignore_mask | 0-u32max[c][u] |
| USER_DATA | 0 | mark->mask | 0-u32max[c][u] |
| UNITS | 1 | group | unit_byte |
kernel/audit_watch.c audit_remove_parent_watches() -> fsnotify_destroy_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mark | 4096-ptr_max |
| NOCHECK_CALL |
kernel/audit_watch.c audit_remove_watch_rule() -> fsnotify_destroy_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mark | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &audit_filter_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock |
fs/notify/inotify/inotify_user.c __do_sys_inotify_rm_watch() -> fsnotify_destroy_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mark | 1-u64max |
| PARAM_VALUE | 0 | mark->refcnt.refs.counter | s32min-(-1),2-s32max |
| PARAM_VALUE | 1 | group->inotify_data.idr_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 1 | group | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | group | s32min-(-2),1-s32max |
| NOCHECK_CALL |
fs/notify/inotify/inotify_user.c __do_sys_inotify_rm_watch() -> fsnotify_destroy_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mark | 1-u64max |
| PARAM_VALUE | 0 | mark->refcnt.refs.counter | s32min-(-1),2-s32max |
| PARAM_VALUE | 1 | group->inotify_data.idr_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 1 | group | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | group | s32min-(-2),1-s32max |
| NOCHECK_CALL |
fs/notify/mark.c fsnotify_destroy_marks() -> fsnotify_destroy_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mark | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | group | unit_byte |
| LOCK2 | &(*connp)->lock |