Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/notify/inotify/inotify_user.c get_one_event() -> fsnotify_remove_first_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
BUF_SIZE 0 group s32min-(-2),1-s32max
BUF_SIZE 0 group s32min-(-2),1-s32max
DATA_SOURCE 0 group $0
PREEMPT_ADD
NOCHECK_CALL
LOCK2 0 &group->notification_lock
TYPE_LOCK (struct fsnotify_group)->notification_lock

fs/notify/notification.c fsnotify_flush_notify() -> fsnotify_remove_first_event()

Type Parameter Key Value
PARAM_VALUE 0 group 4096-ptr_max
PARAM_VALUE 0 group->mark_mutex.dep_map->name 0-255
PARAM_VALUE 0 group->mark_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 group->mark_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 group->mark_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 group->mark_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 group->mark_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 group->mark_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 group->mark_mutex.first_waiter->task->usage.refs.counter s32min-s32max
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 0 group->owner_flags 0,262144
PARAM_VALUE 0 group->shutdown 1
BUF_SIZE 0 group (-1),26,768
BUF_SIZE 0 group (-1),26,768
BUF_SIZE 0 group->overflow_event (-1),16
DATA_SOURCE 0 group $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &group->notification_lock
TYPE_LOCK (struct fsnotify_group)->notification_lock

fs/notify/fanotify/fanotify_user.c fanotify_release() -> fsnotify_remove_first_event()

Type Parameter Key Value
PARAM_VALUE 0 group 4096-ptr_max
PARAM_VALUE 0 group->fanotify_data.perm_grp_list.next 4096-ptr_max
PARAM_VALUE 0 group->fanotify_data.perm_grp_list.next->next 4096-ptr_max
PARAM_VALUE 0 group->fanotify_data.perm_grp_list.next->prev 4096-ptr_max
PARAM_VALUE 0 group->fanotify_data.perm_grp_list.prev 4096-ptr_max
PARAM_VALUE 0 group->fanotify_data.perm_grp_list.prev->next 4096-ptr_max
PARAM_VALUE 0 group->fanotify_data.perm_grp_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 group->notification_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 group->shutdown 1
BUF_SIZE 0 group (-1),26
BUF_SIZE 0 group (-1),26
CAPPED_DATA 0 &group->fanotify_data.access_list 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &group->notification_lock
TYPE_LOCK (struct fsnotify_group)->notification_lock

fs/notify/fanotify/fanotify_user.c fanotify_release() -> fsnotify_remove_first_event()

Type Parameter Key Value
PARAM_VALUE 0 group 4096-ptr_max
PARAM_VALUE 0 group->fanotify_data.perm_grp_list.next 4096-ptr_max
PARAM_VALUE 0 group->fanotify_data.perm_grp_list.next->next 4096-ptr_max
PARAM_VALUE 0 group->fanotify_data.perm_grp_list.next->prev 4096-ptr_max
PARAM_VALUE 0 group->fanotify_data.perm_grp_list.prev 4096-ptr_max
PARAM_VALUE 0 group->fanotify_data.perm_grp_list.prev->next 4096-ptr_max
PARAM_VALUE 0 group->fanotify_data.perm_grp_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 group->notification_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 group->shutdown 1
BUF_SIZE 0 group (-1),26
BUF_SIZE 0 group (-1),26
CAPPED_DATA 0 &group->fanotify_data.access_list 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &group->notification_lock
TYPE_LOCK (struct fsnotify_group)->notification_lock

fs/notify/fanotify/fanotify_user.c get_one_event() -> fsnotify_remove_first_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
BUF_SIZE 0 group s32min-(-2),1-s32max
BUF_SIZE 0 group s32min-(-2),1-s32max
DATA_SOURCE 0 group $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 0 &group->notification_lock
TYPE_LOCK (struct fsnotify_group)->notification_lock