Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- fs/nfsd/filecache.c, line 195
- fs/notify/dnotify/dnotify.c, line 324
- fs/notify/fanotify/fanotify_user.c, line 1428
- fs/notify/inotify/inotify_user.c, line 590
- fs/notify/mark.c, line 1156
- kernel/audit_fsnotify.c, line 105
- kernel/audit_tree.c, line 185
- kernel/audit_watch.c, line 148
Smatch caller information:
fs/nfsd/filecache.c nfsd_file_mark_find_or_create() -> fsnotify_init_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | 1 | group | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/audit_fsnotify.c audit_alloc_mark() -> fsnotify_init_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mark | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &audit_filter_mutex |
fs/notify/dnotify/dnotify.c fcntl_dirnotify() -> fsnotify_init_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mark | 1-u64max |
| BUF_SIZE | 0 | mark | 136 |
| NOCHECK_CALL |
kernel/audit_watch.c audit_init_parent() -> fsnotify_init_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mark | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &audit_cmd_mutex.lock | ||
| LOCK2 | global &audit_filter_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
fs/notify/inotify/inotify_user.c inotify_new_watch() -> fsnotify_init_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mark | 1-u64max |
| 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 | 0,4096-ptr_max |
| PARAM_VALUE | 1 | group->mark_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | group->mark_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | group->owner_flags | 0,262144 |
| BUF_SIZE | 1 | group | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | group | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | group | 1 |
| DATA_SOURCE | 1 | group | $0 |
| NOCHECK_CALL | |||
| LOCK2 | 1 | &group->mark_mutex | |
| TYPE_LOCK | (struct fsnotify_group)->mark_mutex |
kernel/audit_tree.c alloc_mark() -> fsnotify_init_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mark | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &audit_cmd_mutex.lock | ||
| LOCK2 | global &audit_tree_group->mark_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct fsnotify_group)->mark_mutex |
fs/notify/fanotify/fanotify_user.c fanotify_add_new_mark() -> fsnotify_init_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mark | 1-u64max |
| PARAM_VALUE | 1 | group | 4096-ptr_max |
| PARAM_VALUE | 1 | group->fanotify_data.flags | s32min-(-2147450882),0-32766 |
| PARAM_VALUE | 1 | group->mark_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | group->mark_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | group->mark_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | group->mark_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | group->owner_flags | 0,262144 |
| BUF_SIZE | 0 | mark | 136 |
| BUF_SIZE | 1 | group | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | group | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | group | 1 |
| DATA_SOURCE | 1 | group | $0 |
| NS_CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| UNITS | 1 | group | unit_byte |
| LOCK2 | 1 | &group->mark_mutex | |
| TYPE_LOCK | (struct fsnotify_group)->mark_mutex |