Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

mm/memfd_luo.c memfd_luo_retrieve() -> memfd_add_seals()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PARAM_VALUE 0 file->f_flags 0,32768-u32max
PARAM_VALUE 0 file->f_mode 0,4-u32max
PARAM_VALUE 1 seals 0-62
BUF_SIZE 0 file (-1)-s32max
BUF_SIZE 0 file (-1)-s32max
DATA_SOURCE 0 file r memfd_alloc_file
BIT_INFO 0 file->f_flags 0x8000,0xffffffffffffffff
BIT_INFO 0 file->f_mode 0x1c,0xffffffffffffffff
NO_OVERFLOW_SIMPLE 0 file->f_inode->i_blkbits
NO_OVERFLOW_SIMPLE 0 file->f_inode->i_size
LOCK2 _T->lock
HALF_LOCKED2 &session->mutex

mm/memfd.c memfd_fcntl() -> memfd_add_seals()

Type Parameter Key Value
PARAM_VALUE 0 file 0,4-u64max
CAPPED_DATA 0 file 1
DATA_SOURCE 0 file $0
DATA_SOURCE 1 seals $2
USER_DATA 1 seals 0-u32max