Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

net/rds/ib_send.c rds_ib_xmit() -> rds_message_addref()

Type Parameter Key Value
PARAM_VALUE 0 rm 4096-ptr_max
CAPPED_DATA 0 rm->data.op_count 1
CAPPED_DATA 0 rm->data.op_nents 1
DATA_SOURCE 0 rm $1
BIT_INFO 0 rm->data.op_count 0x0,0x7fffffff
NOCHECK_CALL

net/rds/ib_send.c rds_ib_xmit_atomic() -> rds_message_addref()

Type Parameter Key Value
PARAM_VALUE 0 rm 4096-ptr_max
NOCHECK_CALL

net/rds/ib_send.c rds_ib_xmit_rdma() -> rds_message_addref()

Type Parameter Key Value
PARAM_VALUE 0 rm 4096-ptr_max
NOCHECK_CALL

net/rds/loop.c rds_loop_xmit() -> rds_message_addref()

Type Parameter Key Value
PARAM_VALUE 0 rm 4096-ptr_max
PARAM_VALUE 0 rm->data.op_sg 4096-ptr_max
PARAM_VALUE 0 rm->m_inc.i_conn_path 4096-ptr_max
PARAM_VALUE 0 rm->m_inc.i_conn_path->cp_transport_data 4096-ptr_max
PARAM_VALUE 0 rm->m_inc.i_item.next 4096-ptr_max
PARAM_VALUE 0 rm->m_inc.i_item.next->next 4096-ptr_max
PARAM_VALUE 0 rm->m_inc.i_item.prev 4096-ptr_max
PARAM_VALUE 0 rm->m_inc.i_item.prev->next 4096-ptr_max
PARAM_VALUE 0 rm->m_inc.i_item.prev->prev 4096-ptr_max
PARAM_VALUE 0 rm->m_inc.i_refcount.refs.counter 1
PARAM_VALUE 0 rm->m_inc.i_usercopy.rdma_cookie 0
PARAM_VALUE 0 rm->m_inc.i_usercopy.rx_tstamp 0
DATA_SOURCE 0 rm $1
BIT_INFO 0 rm->m_inc.i_hdr.h_flags 0x0,0xfe
NOCHECK_CALL

net/rds/send.c rds_send_probe() -> rds_message_addref()

Type Parameter Key Value
PARAM_VALUE 0 rm 4096-ptr_max
PARAM_VALUE 0 rm->data.op_active 1
PARAM_VALUE 0 rm->m_conn_item.next 4096-ptr_max
PARAM_VALUE 0 rm->m_conn_item.next->next 4096-ptr_max
PARAM_VALUE 0 rm->m_conn_item.prev->next 4096-ptr_max
PARAM_VALUE 0 rm->m_conn_item.prev->prev 4096-ptr_max
PARAM_VALUE 0 rm->m_flush_wait.head.next 4096-ptr_max
PARAM_VALUE 0 rm->m_flush_wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 rm->m_flush_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 rm->m_flush_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 rm->m_flush_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 rm->m_refcount.refs.counter 1
PARAM_VALUE 0 rm->m_sock_item.next 4096-ptr_max
PARAM_VALUE 0 rm->m_sock_item.next->next 4096-ptr_max
PARAM_VALUE 0 rm->m_sock_item.prev 4096-ptr_max
PARAM_VALUE 0 rm->m_sock_item.prev->next 4096-ptr_max
PARAM_VALUE 0 rm->m_sock_item.prev->prev 4096-ptr_max
PARAM_VALUE 0 rm->m_total_sgs 0
PARAM_VALUE 0 rm->m_used_sgs 0
BUF_SIZE 0 rm 712-4194304
BUF_SIZE 0 rm 712-4194304
DATA_SOURCE 0 rm r rds_message_alloc
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &cp->cp_lock
LOCK2 flags
TYPE_LOCK (struct rds_conn_path)->cp_lock

net/rds/send.c rds_send_queue_rm() -> rds_message_addref()

Type Parameter Key Value
PARAM_VALUE 0 rm 4096-ptr_max
PARAM_VALUE 0 rm->m_sock_item.next 4096-ptr_max
DATA_SOURCE 0 rm $3
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &rs->rs_lock
LOCK2 flags
TYPE_LOCK (struct rds_sock)->rs_lock

net/rds/send.c rds_send_queue_rm() -> rds_message_addref()

Type Parameter Key Value
PARAM_VALUE 0 rm 4096-ptr_max
PARAM_VALUE 0 rm->m_inc.i_hdr->h_exthdr 0-255
PARAM_VALUE 0 rm->m_inc.i_hdr.h_flags 0
PARAM_VALUE 0 rm->m_inc.i_hdr.h_sequence 0
PARAM_VALUE 0 rm->m_rs 4096-ptr_max
PARAM_VALUE 0 rm->m_rs->rs_send_queue.prev 4096-ptr_max
PARAM_VALUE 0 rm->m_sock_item.next 4096-ptr_max
DATA_SOURCE 0 rm $3
MEM_ZERO 0 rm->m_inc.i_hdr.h_exthdr
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &rs->rs_lock
LOCK2 flags
TYPE_LOCK (struct rds_sock)->rs_lock