Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/ufs/inode.c free_branch_tail() -> ubh_get_data_ptr()

Type Parameter Key Value
PARAM_VALUE 0 uspi 4096-ptr_max
PARAM_VALUE 2 blk 0-4294967294
CAPPED_DATA 2 blk 1
DATA_SOURCE 1 ubh $2
PARAM_COMPARE 2 blk < $0->s_apb
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ufsi->truncate_mutex
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct ufs_inode_info)->truncate_mutex

fs/ufs/inode.c free_branch_tail() -> ubh_get_data_ptr()

Type Parameter Key Value
PARAM_VALUE 0 uspi 4096-ptr_max
PARAM_VALUE 2 blk 0-4294967294
CAPPED_DATA 2 blk 1
DATA_SOURCE 1 ubh $2
PARAM_COMPARE 2 blk < $0->s_apb
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ufsi->truncate_mutex
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct ufs_inode_info)->truncate_mutex

fs/ufs/inode.c free_full_branch() -> ubh_get_data_ptr()

Type Parameter Key Value
PARAM_VALUE 0 uspi 4096-ptr_max
PARAM_VALUE 1 ubh 4096-ptr_max
BUF_SIZE 1 ubh 80
CAPPED_DATA 2 blk 1
DATA_SOURCE 1 ubh r _ubh_bread_
PARAM_COMPARE 2 blk < $0->s_apb
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ufsi->truncate_mutex

fs/ufs/inode.c free_full_branch() -> ubh_get_data_ptr()

Type Parameter Key Value
PARAM_VALUE 0 uspi 4096-ptr_max
PARAM_VALUE 1 ubh 4096-ptr_max
BUF_SIZE 1 ubh 80
CAPPED_DATA 2 blk 1
DATA_SOURCE 1 ubh r _ubh_bread_
PARAM_COMPARE 2 blk < $0->s_apb
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ufsi->truncate_mutex

fs/ufs/inode.c ufs_truncate_blocks() -> ubh_get_data_ptr()

Type Parameter Key Value
PARAM_VALUE 0 uspi 4096-ptr_max
PARAM_VALUE 1 ubh 4096-ptr_max
PARAM_VALUE 2 blk 0-u32max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ufsi->truncate_mutex
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct ufs_inode_info)->truncate_mutex