Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/overlayfs/inode.c ovl_getattr() -> ovl_same_dev()

Type Parameter Key Value
PARAM_VALUE 0 ofs 4096-ptr_max
BUF_SIZE 0 ofs 1-s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &iint->mutex
HALF_LOCKED2 &lo->lo_mutex

fs/overlayfs/inode.c ovl_xino_bits() -> ovl_same_dev()

Type Parameter Key Value
BUF_SIZE 0 ofs 1-s32max
BUF_SIZE 0 ofs 1-s32max
DATA_SOURCE 0 ofs $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ofs unit_byte

fs/overlayfs/readdir.c ovl_cache_update() -> ovl_same_dev()

Type Parameter Key Value
PARAM_VALUE 0 ofs 4096-ptr_max
BUF_SIZE 0 ofs 1-s32max
BUF_SIZE 0 ofs 1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ofs unit_byte
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/overlayfs/readdir.c ovl_cache_update() -> ovl_same_dev()

Type Parameter Key Value
PARAM_VALUE 0 ofs 4096-ptr_max
BUF_SIZE 0 ofs 1-s32max
BUF_SIZE 0 ofs 1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ofs unit_byte
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/overlayfs/readdir.c ovl_xino_bits() -> ovl_same_dev()

Type Parameter Key Value
BUF_SIZE 0 ofs 1-s32max
BUF_SIZE 0 ofs 1-s32max
DATA_SOURCE 0 ofs $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ofs unit_byte
HALF_LOCKED2 &inode->i_rwsem