Defined in 2 files as a function:
- fs/notify/fanotify/fanotify_user.c, line 319 (as a function)
- fs/notify/inotify/inotify_user.c, line 170 (as a function)
Referenced in 2 files:
Smatch caller information:
fs/notify/inotify/inotify_user.c inotify_read() -> get_one_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | group | 4096-ptr_max |
| PARAM_VALUE | 0 | group->notification_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | group->notification_waitq.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | count | 0-2147479552,18446744071562067985-u64max |
| BUF_SIZE | 0 | group | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | group | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | count | $2 |
| FUZZY_MAX | 1 | count | 2147479552 |
| PREEMPT_ADD | <- disables preempt | ||
| USER_DATA | 1 | count | 0-1000000000,18446744071562067985-u64max |
| LOCK2 | 0 | &group->notification_lock | |
| TYPE_LOCK | (struct fsnotify_group)->notification_lock |
fs/notify/fanotify/fanotify_user.c fanotify_read() -> get_one_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | group | 4096-ptr_max |
| PARAM_VALUE | 0 | group->notification_waitq.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | count | 0-2147479552,18446744073709551084-u64max |
| BUF_SIZE | 0 | group | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | group | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | count | $2 |
| FUZZY_MAX | 1 | count | 2147479552 |
| NOSPEC | 1 | count | |
| USER_DATA | 1 | count | 0-1000000000,18446744073709551084-u64max |