Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/notify/inotify/inotify_fsnotify.c inotify_handle_inode_event() -> fsnotify_destroy_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 1 event 4096-ptr_max
BUF_SIZE 1 event 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 group unit_byte

fs/notify/fanotify/fanotify.c fanotify_get_response() -> fsnotify_destroy_event()

Type Parameter Key Value
PARAM_VALUE 0 group 1818521672471318528
PARAM_VALUE 0 group->fanotify_data.flags s32min-(-2147450882),0-32766
PARAM_VALUE 0 group->max_events 1-u32max
PARAM_VALUE 0 group->notification_list.prev 4096-ptr_max
PARAM_VALUE 0 group->notification_list.prev->next 4096-ptr_max
PARAM_VALUE 0 group->notification_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 group->notification_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 group->ops 701145962795266048
PARAM_VALUE 0 group->ops->handle_event 2170179939631095808,5814794469984485376
PARAM_VALUE 0 group->shutdown 0
PARAM_VALUE 1 event 4096-ptr_max
CAPPED_DATA 0 group->fsn_fa 1
CAPPED_DATA 0 group->max_events 1
DATA_SOURCE 0 group $0
TASK_NOT_RUNNING
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 group 1001137658895978496
PARAM_VALUE 0 group->notification_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 group->ops 701145962795266048
PARAM_VALUE 0 group->ops->handle_event 2170179939631095808,5814794469984485376
PARAM_VALUE 1 event 4096-ptr_max
BUF_SIZE 1 event 16
DATA_SOURCE 0 group $0
NOCHECK_CALL

fs/notify/inotify/inotify_user.c inotify_read() -> fsnotify_destroy_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 event 1-ptr_max
BUF_SIZE 0 group s32min-(-2),1-s32max
BUF_SIZE 0 group s32min-(-2),1-s32max
DATA_SOURCE 1 event r get_one_event
NOCHECK_CALL

fs/notify/notification.c fsnotify_flush_notify() -> fsnotify_destroy_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
PARAM_VALUE 1 event 0,4096-ptr_max
PARAM_VALUE 1 event->list.next->prev 4096-ptr_max
PARAM_VALUE 1 event->list.prev->next 4096-ptr_max
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
DATA_SOURCE 1 event r fsnotify_remove_first_event
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 group 4096-ptr_max
PARAM_VALUE 0 group->fanotify_data.f_flags 0,32768-2129918
PARAM_VALUE 0 group->fanotify_data.flags s32min-(-1)
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
NOCHECK_CALL

fs/notify/fanotify/fanotify_user.c fanotify_release() -> fsnotify_destroy_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
PARAM_VALUE 1 event 4096-ptr_max
PARAM_VALUE 1 event->list.next 4096-ptr_max
PARAM_VALUE 1 event->list.next->next 4096-ptr_max
PARAM_VALUE 1 event->list.next->prev 4096-ptr_max
PARAM_VALUE 1 event->list.prev 4096-ptr_max
PARAM_VALUE 1 event->list.prev->next 4096-ptr_max
PARAM_VALUE 1 event->list.prev->prev 4096-ptr_max
BUF_SIZE 0 group (-1),26
BUF_SIZE 0 group (-1),26
CAPPED_DATA 0 &group->fanotify_data.access_list 1
DATA_SOURCE 1 event r fsnotify_remove_first_event
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/notify/fanotify/fanotify_user.c finish_permission_event() -> fsnotify_destroy_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 1 event 4096-ptr_max
BUF_SIZE 0 group s32min-(-1),1-s32max
BUF_SIZE 0 group s32min-(-1),1-s32max
DATA_SOURCE 0 group $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL