Defined in 1 files as a function:
Referenced in 5 files:
- fs/nfsd/filecache.c, line 174
- fs/notify/dnotify/dnotify.c
- fs/notify/inotify/inotify_user.c, line 546
- kernel/audit_tree.c, line 468
- kernel/audit_watch.c, line 93
Smatch caller information:
fs/nfsd/filecache.c nfsd_file_mark_find_or_create() -> fsnotify_find_inode_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->type | 0-1 |
| 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 |
| CAPPED_DATA | 1 | group | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &group->mark_mutex | |
| TYPE_LOCK | (struct fsnotify_group)->mark_mutex |
fs/notify/dnotify/dnotify.c dnotify_flush() -> fsnotify_find_inode_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/notify/dnotify/dnotify.c fcntl_dirnotify() -> fsnotify_find_inode_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 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 | 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 |
| LOCK2 | global &dnotify_group->mark_mutex | ||
| TYPE_LOCK | (struct fsnotify_group)->mark_mutex |
kernel/audit_watch.c audit_find_parent() -> fsnotify_find_inode_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | inode | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_update_existing_watch() -> fsnotify_find_inode_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 | 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 |
| DATA_SOURCE | 0 | inode | $1 |
| DATA_SOURCE | 1 | group | $0 |
| LOCK2 | 1 | &group->mark_mutex | |
| TYPE_LOCK | (struct fsnotify_group)->mark_mutex |
kernel/audit_tree.c tag_chunk() -> fsnotify_find_inode_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.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | group->owner_flags | 0,262144 |
| DATA_SOURCE | 0 | inode | $0 |
| 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 |