Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/ceph/messenger.c ceph_sock_write_space() -> ceph_con_flag_test()

Type Parameter Key Value
PARAM_VALUE 1 con_flag 2
BUF_SIZE 0 con s32min-(-2),1-s32max
BUF_SIZE 0 con s32min-(-2),1-s32max

net/ceph/messenger.c clear_standby() -> ceph_con_flag_test()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
PARAM_VALUE 0 con->mutex.dep_map->name 0-255
PARAM_VALUE 0 con->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 con->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 con->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 con->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 con->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 con->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 con->ops->get 0,4096-ptr_max
PARAM_VALUE 0 con->state 2
PARAM_VALUE 1 con_flag 2
CAPPED_DATA 0 con 1
DATA_SOURCE 0 con $0
NOSPEC 0 con->peer_name.num
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 con->peer_name.num 0-s32max[c]
LOCK2 0 &con->mutex
HALF_LOCKED2 &monc->mutex
HALF_LOCKED2 &osdc->lock
HALF_LOCKED2 &s->s_mutex
TYPE_LOCK (struct ceph_connection)->mutex

net/ceph/messenger.c clear_standby() -> ceph_con_flag_test()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
PARAM_VALUE 0 con->mutex.dep_map->name 0-255
PARAM_VALUE 0 con->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 con->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 con->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 con->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 con->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 con->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 con->ops->get 0,4096-ptr_max
PARAM_VALUE 0 con->state 2
PARAM_VALUE 1 con_flag 1
CAPPED_DATA 0 con 1
DATA_SOURCE 0 con $0
NOSPEC 0 con->peer_name.num
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 con->peer_name.num 0-s32max[c]
LOCK2 0 &con->mutex
HALF_LOCKED2 &monc->mutex
HALF_LOCKED2 &osdc->lock
HALF_LOCKED2 &s->s_mutex
TYPE_LOCK (struct ceph_connection)->mutex

net/ceph/messenger.c con_fault() -> ceph_con_flag_test()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
PARAM_VALUE 0 con->bounce_page 0
PARAM_VALUE 0 con->error_msg 0
PARAM_VALUE 0 con->in_msg 0
PARAM_VALUE 0 con->mutex.dep_map->name 0-255
PARAM_VALUE 0 con->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 con->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 con->out_msg 0
PARAM_VALUE 0 con->sock 0
PARAM_VALUE 0 con->v1.out_skip 0
PARAM_VALUE 0 con->v2.con_mode 0
PARAM_VALUE 0 con->v2.conn_buf_cnt 0
PARAM_VALUE 0 con->v2.gcm_req 0
PARAM_VALUE 0 con->v2.gcm_tfm 0
PARAM_VALUE 0 con->v2.hmac_key_set 0
PARAM_VALUE 0 con->v2.in_enc_page_cnt 0
PARAM_VALUE 0 con->v2.in_enc_pages 0
PARAM_VALUE 0 con->v2.in_iter.count 0
PARAM_VALUE 0 con->v2.in_sign_kvec_cnt 0
PARAM_VALUE 0 con->v2.out_enc_page_cnt 0
PARAM_VALUE 0 con->v2.out_enc_pages 0
PARAM_VALUE 0 con->v2.out_iter.count 0
PARAM_VALUE 0 con->v2.out_sign_kvec_cnt 0
PARAM_VALUE 0 con->v2.out_zero 0
PARAM_VALUE 0 *con->v2.in_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 con_flag 0
CAPPED_DATA 0 con 1
DATA_SOURCE 0 con $0
STR_LEN 0 con->error_msg (-1)
NOSPEC 0 con->v2.in_bvec.bv_len
USER_DATA 0 con->peer_features 0-u64max
USER_DATA 0 con->peer_name.num 0-u64max
USER_DATA 0 con->v2.in_bvec.bv_len 1-1000000000[c]
USER_DATA 0 con->v2.in_desc.fd_tag 0-255
USER_DATA 0 con->v2.out_cursor.resid 0-u64max
NO_OVERFLOW_SIMPLE 0 con->in_msg->middle->alloc_len
NO_OVERFLOW_SIMPLE 0 con->in_msg->middle->vec.iov_len
LOCK2 0 &con->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ceph_connection)->mutex

net/ceph/messenger.c con_fault() -> ceph_con_flag_test()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
PARAM_VALUE 0 con->bounce_page 0
PARAM_VALUE 0 con->error_msg 0
PARAM_VALUE 0 con->in_msg 0
PARAM_VALUE 0 con->mutex.dep_map->name 0-255
PARAM_VALUE 0 con->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 con->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 con->out_msg 0
PARAM_VALUE 0 con->out_queue.next 4096-ptr_max
PARAM_VALUE 0 con->out_queue.next->prev 4096-ptr_max
PARAM_VALUE 0 con->sock 0
PARAM_VALUE 0 con->v1.out_skip 0
PARAM_VALUE 0 con->v2.con_mode 0
PARAM_VALUE 0 con->v2.conn_buf_cnt 0
PARAM_VALUE 0 con->v2.gcm_req 0
PARAM_VALUE 0 con->v2.gcm_tfm 0
PARAM_VALUE 0 con->v2.hmac_key_set 0
PARAM_VALUE 0 con->v2.in_enc_page_cnt 0
PARAM_VALUE 0 con->v2.in_enc_pages 0
PARAM_VALUE 0 con->v2.in_iter.count 0
PARAM_VALUE 0 con->v2.in_sign_kvec_cnt 0
PARAM_VALUE 0 con->v2.out_enc_page_cnt 0
PARAM_VALUE 0 con->v2.out_enc_pages 0
PARAM_VALUE 0 con->v2.out_iter.count 0
PARAM_VALUE 0 con->v2.out_sign_kvec_cnt 0
PARAM_VALUE 0 con->v2.out_zero 0
PARAM_VALUE 0 *con->v2.in_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 con_flag 1
CAPPED_DATA 0 con 1
CAPPED_DATA 0 &con->out_queue 1
CAPPED_DATA 0 &con->out_sent 1
DATA_SOURCE 0 con $0
STR_LEN 0 con->error_msg (-1)
PARAM_COMPARE 0 &con->out_queue == $0->out_queue.next
NOSPEC 0 con->v2.in_bvec.bv_len
USER_DATA 0 con->peer_features 0-u64max
USER_DATA 0 con->peer_name.num 0-u64max
USER_DATA 0 con->v2.in_bvec.bv_len 1-1000000000[c]
USER_DATA 0 con->v2.in_desc.fd_tag 0-255
USER_DATA 0 con->v2.out_cursor.resid 0-u64max
NO_OVERFLOW_SIMPLE 0 con->in_msg->middle->alloc_len
NO_OVERFLOW_SIMPLE 0 con->in_msg->middle->vec.iov_len
LOCK2 0 &con->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ceph_connection)->mutex