Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/read_write.c generic_llseek_cookie() -> vfs_setpos_cookie()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PARAM_VALUE 3 cookie 1-u64max
BUF_SIZE 0 file (-1),1-s32max
BUF_SIZE 0 file (-1),1-s32max
BUF_SIZE 3 cookie s32min-(-1),1-s32max
BUF_SIZE 3 cookie s32min-(-1),1-s32max
DATA_SOURCE 0 file $0
DATA_SOURCE 3 cookie $3
BIT_INFO 0 file->f_mode 0x8000,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 file->f_path.d_inode->i_size
NO_OVERFLOW_SIMPLE 0 file->f_path.dentry->d_inode->i_size
NO_OVERFLOW_SIMPLE 0 file->f_path.moved->d_inode->i_size
UNITS 1 offset unit_byte
UNITS 2 maxsize unit_byte

fs/read_write.c generic_llseek_cookie() -> vfs_setpos_cookie()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PARAM_VALUE 3 cookie 1-u64max
BUF_SIZE 0 file (-1),1-s32max
BUF_SIZE 0 file (-1),1-s32max
BUF_SIZE 3 cookie s32min-(-1),1-s32max
BUF_SIZE 3 cookie s32min-(-1),1-s32max
DATA_SOURCE 0 file $0
DATA_SOURCE 1 offset $1 [m]
DATA_SOURCE 3 cookie $3
BIT_INFO 0 file->f_mode 0x8000,0xffffffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 offset s64min-s64max
NO_OVERFLOW_SIMPLE 0 file->f_path.d_inode->i_size
NO_OVERFLOW_SIMPLE 0 file->f_path.dentry->d_inode->i_size
NO_OVERFLOW_SIMPLE 0 file->f_path.moved->d_inode->i_size
UNITS 2 maxsize unit_byte

fs/read_write.c vfs_setpos() -> vfs_setpos_cookie()

Type Parameter Key Value
PARAM_VALUE 3 cookie 0
BUF_SIZE 0 file (-1)-s32max
BUF_SIZE 0 file (-1)-s32max
BUF_SIZE 0 file->__f_path.dentry (-1)-s32max
BUF_SIZE 0 file->private_data (-1),232
DATA_SOURCE 0 file $0
DATA_SOURCE 1 offset $1
DATA_SOURCE 2 maxsize $2
NOSPEC 1 offset
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 file->__f_path.dentry->__d_name.hash 0-u32max[c]
USER_DATA 0 file->f_flags 0-u32max
USER_DATA 0 file->f_mode 0,4-u32max
USER_DATA 1 offset s64min-s64max
NO_OVERFLOW_SIMPLE 0 file->f_inode->i_blkbits
NO_OVERFLOW_SIMPLE 0 file->f_inode->i_size
NO_OVERFLOW_SIMPLE 0 file->f_path.d_inode->i_size
NO_OVERFLOW_SIMPLE 0 file->f_path.dentry->d_inode->i_size
NO_OVERFLOW_SIMPLE 0 file->f_path.moved->d_inode->i_size
UNITS 1 offset unit_byte
UNITS 2 maxsize unit_byte
USER_PTR 0 file->__f_path.dentry->__d_name.name
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &session->mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &file->f_lock