Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- fs/notify/fanotify/fanotify_user.c
- fs/notify/mark.c, line 1057
- include/linux/fsnotify_backend.h, line 921
Smatch caller information:
fs/nfsd/filecache.c fsnotify_find_inode_mark() -> fsnotify_find_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 1 | obj_type | 0 |
| PARAM_VALUE | 2 | group | 4096-ptr_max |
| PARAM_VALUE | 2 | group->mark_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | group->mark_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 2 | group->mark_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 2 | group->mark_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | group->owner_flags | 0,262144 |
| CAPPED_DATA | 2 | group | 1 |
| DATA_SOURCE | 0 | obj | $0 |
| DATA_SOURCE | 2 | group | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 2 | &group->mark_mutex | |
| TYPE_LOCK | (struct fsnotify_group)->mark_mutex |
fs/notify/dnotify/dnotify.c fsnotify_find_inode_mark() -> fsnotify_find_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 1 | obj_type | 0 |
| DATA_SOURCE | 0 | obj | $0 |
| DATA_SOURCE | 2 | group | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dnotify_group->mark_mutex |
kernel/audit_watch.c fsnotify_find_inode_mark() -> fsnotify_find_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | obj_type | 0 |
| DATA_SOURCE | 0 | obj | $0 |
| DATA_SOURCE | 2 | group | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &audit_cmd_mutex.lock | ||
| LOCK2 | global &audit_filter_mutex | ||
| 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 fsnotify_find_inode_mark() -> fsnotify_find_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | obj_type | 0 |
| PARAM_VALUE | 2 | group | 4096-ptr_max |
| PARAM_VALUE | 2 | group->mark_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | group->mark_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 2 | group->mark_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 2 | group->mark_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 2 | group->mark_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | group->owner_flags | 0,262144 |
| BUF_SIZE | 2 | group | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | group | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | obj | $0 |
| DATA_SOURCE | 2 | group | $1 |
| LOCK2 | 2 | &group->mark_mutex | |
| TYPE_LOCK | (struct fsnotify_group)->mark_mutex |
kernel/audit_tree.c fsnotify_find_inode_mark() -> fsnotify_find_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | obj_type | 0 |
| PARAM_VALUE | 2 | group | 4096-ptr_max |
| PARAM_VALUE | 2 | group->mark_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | group->mark_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 2 | group->mark_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | group->owner_flags | 0,262144 |
| DATA_SOURCE | 0 | obj | $0 |
| DATA_SOURCE | 2 | group | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_mark() -> fsnotify_find_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 1-u64max |
| PARAM_VALUE | 1 | obj_type | 1-3 |
| PARAM_VALUE | 2 | group | 4096-ptr_max |
| PARAM_VALUE | 2 | group->mark_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | group->mark_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 2 | group->mark_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 2 | group->mark_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | group->owner_flags | 0,262144 |
| BUF_SIZE | 2 | group | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | group | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | obj | $1 |
| DATA_SOURCE | 1 | obj_type | $2 |
| DATA_SOURCE | 2 | group | $0 |
| FUZZY_MAX | 1 | obj_type | 3 |
| NS_CAPABLE | 0 | 21 | |
| HARD_MAX | 1 | obj_type | 3 |
| UNITS | 0 | obj | unit_byte |
| LOCK2 | 2 | &group->mark_mutex | |
| TYPE_LOCK | (struct fsnotify_group)->mark_mutex |
fs/notify/fanotify/fanotify_user.c fanotify_remove_mark() -> fsnotify_find_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 1-u64max |
| PARAM_VALUE | 1 | obj_type | 1-3 |
| PARAM_VALUE | 2 | group | 4096-ptr_max |
| PARAM_VALUE | 2 | group->mark_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | group->mark_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 2 | group->mark_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 2 | group->mark_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | group->owner_flags | 0,262144 |
| BUF_SIZE | 2 | group | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | group | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | obj | $1 |
| DATA_SOURCE | 1 | obj_type | $2 |
| DATA_SOURCE | 2 | group | $0 |
| FUZZY_MAX | 1 | obj_type | 3 |
| NS_CAPABLE | 0 | 21 | |
| HARD_MAX | 1 | obj_type | 3 |
| UNITS | 0 | obj | unit_byte |
| LOCK2 | 2 | &group->mark_mutex | |
| TYPE_LOCK | (struct fsnotify_group)->mark_mutex |