Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/notify/fanotify/fanotify.c fanotify_alloc_name_event() -> fanotify_info_dir2_fh()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->dir_fh_totlen 0,4,8-132
BUF_SIZE 0 info 8

fs/notify/fanotify/fanotify.c fanotify_info_equal() -> fanotify_info_dir2_fh()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->dir_fh_totlen 4,8-132
BUF_SIZE 0 info 8
CAPPED_DATA 0 info->dir2_fh_totlen 1
CAPPED_DATA 0 info->dir_fh_totlen 1
CAPPED_DATA 0 info->file_fh_totlen 1
CAPPED_DATA 0 info->name2_len 1
CAPPED_DATA 0 info->name_len 1
DATA_SOURCE 0 info $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &group->notification_lock
TYPE_LOCK (struct fsnotify_group)->notification_lock

fs/notify/fanotify/fanotify.c fanotify_info_equal() -> fanotify_info_dir2_fh()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->dir_fh_totlen 4,8-132
BUF_SIZE 0 info 8
CAPPED_DATA 0 info->dir2_fh_totlen 1
CAPPED_DATA 0 info->dir_fh_totlen 1
CAPPED_DATA 0 info->file_fh_totlen 1
CAPPED_DATA 0 info->name2_len 1
CAPPED_DATA 0 info->name_len 1
DATA_SOURCE 0 info $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &group->notification_lock
TYPE_LOCK (struct fsnotify_group)->notification_lock

fs/notify/fanotify/fanotify_user.c copy_info_records_to_user() -> fanotify_info_dir2_fh()

Type Parameter Key Value
PARAM_VALUE 0 info 0,4096-ptr_max
BUF_SIZE 0 info (-1),8
BUF_SIZE 0 info (-1),8
DATA_SOURCE 0 info $1