Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

block/ioctl.c blkdev_cmd_discard() -> file_to_blk_mode()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctx->uring_lock

block/ioctl.c blkdev_cmd_zone_reset_all() -> file_to_blk_mode()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctx->uring_lock

block/ioctl.c blkdev_ioctl() -> file_to_blk_mode()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
DATA_SOURCE 0 file $0

block/ioctl.c compat_blkdev_ioctl() -> file_to_blk_mode()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
DATA_SOURCE 0 file $0

block/fops.c blkdev_fallocate() -> file_to_blk_mode()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
BUF_SIZE 0 file (-1),1-s32max
BUF_SIZE 0 file (-1),1-s32max
DATA_SOURCE 0 file $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 file->f_flags 0-u32max
USER_DATA 0 file->f_mode 33554432-u32max
USER_DATA 0 file->f_path.dentry->d_inode->i_mode 0-u16max
USER_DATA 0 file->f_path.dentry->d_inode->i_size (-9223372036854775807)-(-4),0-s64max
NO_OVERFLOW_SIMPLE 0 file->f_path.d_inode->i_size
NO_OVERFLOW_SIMPLE 0 file->f_path.dentry->dentry->d_inode->i_size
NO_OVERFLOW_SIMPLE 0 file->f_path.dentry->moved->d_inode->i_size
NO_OVERFLOW_SIMPLE 0 file->f_path.moved->d_inode->i_size
LOCK2 &inode->i_mapping->invalidate_lock
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct address_space)->invalidate_lock
TYPE_LOCK (struct inode)->i_rwsem

block/fops.c blkdev_open() -> file_to_blk_mode()

Type Parameter Key Value
BUF_SIZE 0 file (-1)-s32max
BUF_SIZE 0 file (-1)-s32max
BUF_SIZE 0 file->__f_path.dentry (-1),1-s32max
BUF_SIZE 0 file->private_data (-1),232
DATA_SOURCE 0 file $1
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
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_blkbits
NO_OVERFLOW_SIMPLE 0 file->f_path.dentry->d_inode->i_size
NO_OVERFLOW_SIMPLE 0 file->f_path.moved->d_inode->i_size
USER_PTR 0 file->__f_path.dentry->__d_name.name