Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/ceph/messenger_v2.c prepare_read_banner_payload() -> reset_in_kvecs()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
PARAM_VALUE 0 con->v2.in_kvecs 4096-ptr_max
DATA_SOURCE 0 con $0
NOCHECK_CALL

net/ceph/messenger_v2.c prepare_read_banner_prefix() -> reset_in_kvecs()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
CAPPED_DATA 0 con 1
DATA_SOURCE 0 con $0
NOCHECK_CALL
USER_DATA 0 con->v2.out_cursor.resid 0-u64max
LOCK2 0 &con->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ceph_connection)->mutex

net/ceph/messenger_v2.c prepare_read_control() -> reset_in_kvecs()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
DATA_SOURCE 0 con $0
NOCHECK_CALL

net/ceph/messenger_v2.c prepare_read_control_remainder() -> reset_in_kvecs()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
CAPPED_DATA 0 con->v2.in_buf 1
DATA_SOURCE 0 con $0
NOCHECK_CALL

net/ceph/messenger_v2.c prepare_read_data_cont() -> reset_in_kvecs()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
CAPPED_DATA 0 con->v2.in_bvec.bv_len 1
DATA_SOURCE 0 con $0
NOSPEC 0 con->v2.in_cursor.resid
NOCHECK_CALL
USER_DATA 0 con->v2.in_cursor.resid 0-u64max

net/ceph/messenger_v2.c prepare_read_preamble() -> reset_in_kvecs()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
CAPPED_DATA 0 con 1
DATA_SOURCE 0 con $0
NOCHECK_CALL
USER_DATA 0 con->peer_features 0-u64max
USER_DATA 0 con->peer_name.num 0-u64max
USER_DATA 0 con->v2.con_mode s32min-s32max
USER_DATA 0 con->v2.in_cursor.resid 0-u64max
USER_DATA 0 con->v2.out_cursor.resid 0-u64max
USER_DATA 0 con->v2.out_iter.count 13-3147483660
USER_DATA 0 con->v2.peer_global_seq 0-u64max
USER_DATA 0 con->v2.server_cookie 0-u64max
NO_OVERFLOW_SIMPLE 0 con->in_msg->middle->alloc_len
NO_OVERFLOW_SIMPLE 0 con->in_msg->middle->vec.iov_len
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_backlog.len
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_receive_queue.prev->next->tail
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_receive_queue.prev->tail
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_write_queue.next->prev->tail
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_write_queue.next->prev->truesize
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_write_queue.next->tail
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_write_queue.next->truesize
NO_OVERFLOW_SIMPLE 0 con->v1.out_kvec_bytes
HALF_LOCKED2 0 &con->mutex

net/ceph/messenger_v2.c prepare_read_tail_plain() -> reset_in_kvecs()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
PARAM_VALUE 0 con->v2.in_kvecs 4096-ptr_max
CAPPED_DATA 0 con 1
DATA_SOURCE 0 con $0
NOCHECK_CALL
USER_DATA 0 con->peer_features 0-u64max
USER_DATA 0 con->peer_name.num 0-u64max
USER_DATA 0 con->v2.con_mode s32min-1,3-s32max
USER_DATA 0 con->v2.in_cursor.resid 0-u64max
USER_DATA 0 con->v2.out_cursor.resid 0-u64max
USER_DATA 0 con->v2.out_iter.count 13-3147483660
USER_DATA 0 con->v2.peer_global_seq 0-u64max
USER_DATA 0 con->v2.server_cookie 0-u64max
NO_OVERFLOW_SIMPLE 0 con->in_msg->middle->alloc_len
NO_OVERFLOW_SIMPLE 0 con->in_msg->middle->vec.iov_len
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_backlog.len
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_receive_queue.prev->next->tail
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_receive_queue.prev->tail
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_write_queue.next->prev->tail
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_write_queue.next->prev->truesize
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_write_queue.next->tail
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_write_queue.next->truesize
NO_OVERFLOW_SIMPLE 0 con->v1.out_kvec_bytes
LOCK2 &pool->lock
LOCK2 0 &con->mutex
TYPE_LOCK (struct ceph_connection)->mutex

net/ceph/messenger_v2.c prepare_sparse_read_cont() -> reset_in_kvecs()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
PARAM_VALUE 0 con->v2.in_kvec_cnt 0
DATA_SOURCE 0 con $0
NOCHECK_CALL
USER_DATA 0 con->v2.in_cursor.resid 0-u64max

net/ceph/messenger_v2.c prepare_sparse_read_cont() -> reset_in_kvecs()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
PARAM_VALUE 0 con->v2.in_kvec_cnt 0
CAPPED_DATA 0 con->private->o_sparse_read.sr_count 1
CAPPED_DATA 0 con->private->o_sparse_read.sr_index 1
DATA_SOURCE 0 con $0
NOCHECK_CALL
USER_DATA 0 con->v2.in_cursor.resid 0-u64max

net/ceph/messenger_v2.c prepare_sparse_read_data() -> reset_in_kvecs()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
DATA_SOURCE 0 con $0
NOCHECK_CALL
USER_DATA 0 con->v2.in_cursor.resid 0-u64max