Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/notify/inotify/inotify_user.c inotify_read() -> copy_event_to_user()

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 fsn_event 1-ptr_max
BUF_SIZE 0 group s32min-(-2),1-s32max
BUF_SIZE 0 group s32min-(-2),1-s32max
DATA_SOURCE 1 fsn_event r get_one_event
DATA_SOURCE 2 buf $1
USER_DATA 2 buf 0-u64max[c]

fs/notify/fanotify/fanotify_user.c fanotify_read() -> copy_event_to_user()

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 fsn_event 4096-ptr_max
PARAM_VALUE 3 count 0-2147479552,18446744073709551084-u64max
BUF_SIZE 0 group s32min-(-2),1-s32max
BUF_SIZE 0 group s32min-(-2),1-s32max
CAPPED_DATA 3 count 1
CAPPED_DATA 3 count 1
DATA_SOURCE 1 fsn_event r get_one_event
DATA_SOURCE 2 buf $1
DATA_SOURCE 3 count $2
FUZZY_MAX 3 count 2147479552
NOSPEC 3 count
NOSPEC 3 count
USER_DATA 2 buf 0-u64max[c]
USER_DATA 3 count 0-1000000000,18446744073709551084-u64max[c]