Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 info_mode 0,128-24192
PARAM_VALUE 1 event 4096-ptr_max
DATA_SOURCE 1 event $1
BIT_INFO 0 info_mode 0x0,0x5e80

fs/notify/fanotify/fanotify_user.c fanotify_ioctl() -> fanotify_event_len()

Type Parameter Key Value
PARAM_VALUE 0 info_mode 0,128-24192
PARAM_VALUE 1 event 4096-ptr_max
BIT_INFO 0 info_mode 0x0,0x5e80
PREEMPT_ADD <- disables preempt
LOCK2 &group->notification_lock
TYPE_LOCK (struct fsnotify_group)->notification_lock

fs/notify/fanotify/fanotify_user.c get_one_event() -> fanotify_event_len()

Type Parameter Key Value
PARAM_VALUE 0 info_mode 0,128-24192
PARAM_VALUE 1 event 4096-ptr_max
DATA_SOURCE 1 event r FANOTIFY_E
BIT_INFO 0 info_mode 0x0,0x5e80
PREEMPT_ADD <- disables preempt
LOCK2 &group->notification_lock
TYPE_LOCK (struct fsnotify_group)->notification_lock