Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/notify/fanotify/fanotify.c fanotify_alloc_event() -> fanotify_is_perm_event()

Type Parameter Key Value
PARAM_VALUE 0 mask 1-1528291327
CAPPED_DATA 0 mask 1
DATA_SOURCE 0 mask $1

fs/notify/fanotify/fanotify.c fanotify_handle_event() -> fanotify_is_perm_event()

Type Parameter Key Value
PARAM_VALUE 0 mask 1-1528291327
CAPPED_DATA 0 mask 1
DATA_SOURCE 0 mask r fanotify_group_event_mask

fs/notify/fanotify/fanotify.c fanotify_handle_event() -> fanotify_is_perm_event()

Type Parameter Key Value
PARAM_VALUE 0 mask 1-1528291327
CAPPED_DATA 0 mask 1
DATA_SOURCE 0 mask r fanotify_group_event_mask

fs/notify/fanotify/fanotify.c fanotify_handle_event() -> fanotify_is_perm_event()

Type Parameter Key Value
PARAM_VALUE 0 mask 1-1528291327
CAPPED_DATA 0 mask 1
DATA_SOURCE 0 mask r fanotify_group_event_mask

fs/notify/fanotify/fanotify.c fanotify_handle_event() -> fanotify_is_perm_event()

Type Parameter Key Value
PARAM_VALUE 0 mask 1-1528291327
CAPPED_DATA 0 mask 1
DATA_SOURCE 0 mask r fanotify_group_event_mask

fs/notify/fanotify/fanotify.c fanotify_is_hashed_event() -> fanotify_is_perm_event()

Type Parameter Key Value
DATA_SOURCE 0 mask $0
RX_PATH
LOCK2 &group->notification_lock
TYPE_LOCK (struct fsnotify_group)->notification_lock

fs/notify/fanotify/fanotify.c fanotify_merge() -> fanotify_is_perm_event()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &group->notification_lock
TYPE_LOCK (struct fsnotify_group)->notification_lock

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

Type Parameter Key Value

fs/notify/fanotify/fanotify_user.c fanotify_is_hashed_event() -> fanotify_is_perm_event()

Type Parameter Key Value
DATA_SOURCE 0 mask $0
PREEMPT_ADD
LOCK2 &group->notification_lock
TYPE_LOCK (struct fsnotify_group)->notification_lock

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

Type Parameter Key Value

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

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
LOCK2 &group->notification_lock
TYPE_LOCK (struct fsnotify_group)->notification_lock