Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/minix/itree_v1.c get_branch() -> verify_chain()

Type Parameter Key Value
PARAM_VALUE 0 from 4096-ptr_max
PARAM_VALUE 0 from->key 1-u16max
PARAM_VALUE 0 from->p 4096-ptr_max
PARAM_VALUE 1 to 4096-ptr_max
BUF_SIZE 0 from 72
BUF_SIZE 1 to (-1),72
BUF_SIZE 1 to (-1),72
DATA_SOURCE 0 from $3
PARAM_COMPARE 0 from <= $1
PARAM_COMPARE 1 to >= $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &pointers_lock

fs/minix/itree_v1.c splice_branch() -> verify_chain()

Type Parameter Key Value
PARAM_VALUE 0 from 4096-ptr_max
PARAM_VALUE 1 to 4096-ptr_max
BUF_SIZE 0 from 72
DATA_SOURCE 0 from $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &pointers_lock

fs/ext2/inode.c ext2_get_blocks() -> verify_chain()

Type Parameter Key Value
PARAM_VALUE 0 from 4096-ptr_max
PARAM_VALUE 0 from->key 1-u32max
BUF_SIZE 0 from 96
RX_PATH
TASK_NOT_RUNNING

fs/ext2/inode.c ext2_get_blocks() -> verify_chain()

Type Parameter Key Value
PARAM_VALUE 0 from 4096-ptr_max
PARAM_VALUE 1 to 8628165143337517056-ptr_max
BUF_SIZE 0 from 96
BUF_SIZE 1 to (-1),96
BUF_SIZE 1 to (-1),96
DATA_SOURCE 1 to r ext2_get_branch
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ei->truncate_mutex
TYPE_LOCK (struct ext2_inode_info)->truncate_mutex

fs/ext2/inode.c ext2_get_branch() -> verify_chain()

Type Parameter Key Value
PARAM_VALUE 0 from 4096-ptr_max
PARAM_VALUE 0 from->key 1-u32max
PARAM_VALUE 0 from->p 4096-ptr_max
PARAM_VALUE 1 to 4096-ptr_max
BUF_SIZE 0 from 96
BUF_SIZE 1 to (-1),96
BUF_SIZE 1 to (-1),96
DATA_SOURCE 0 from $3
PARAM_COMPARE 0 from <= $1
PARAM_COMPARE 1 to >= $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ei->truncate_mutex
HALF_LOCKED2 &inode->i_mapping->invalidate_lock

fs/minix/itree_v2.c get_branch() -> verify_chain()

Type Parameter Key Value
PARAM_VALUE 0 from 4096-ptr_max
PARAM_VALUE 0 from->key 1-u32max
PARAM_VALUE 0 from->p 4096-ptr_max
PARAM_VALUE 1 to 4096-ptr_max
BUF_SIZE 0 from 96
BUF_SIZE 1 to (-1),96
BUF_SIZE 1 to (-1),96
DATA_SOURCE 0 from $3
PARAM_COMPARE 0 from <= $1
PARAM_COMPARE 1 to >= $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &pointers_lock

fs/minix/itree_v2.c splice_branch() -> verify_chain()

Type Parameter Key Value
PARAM_VALUE 0 from 4096-ptr_max
PARAM_VALUE 1 to 4096-ptr_max
BUF_SIZE 0 from 96
DATA_SOURCE 0 from $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &pointers_lock