Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/tipc/link.c tipc_link_input() -> tipc_buf_append()

Type Parameter Key Value
PARAM_VALUE 0 headbuf 4096-ptr_max
PARAM_VALUE 1 *buf 4096-ptr_max
BUF_SIZE 0 headbuf (-1),8
BUF_SIZE 0 headbuf (-1),8
DATA_SOURCE 0 headbuf $3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_PTR 0 (*headbuf).data
USER_PTR 1 (*buf).data
LOCK2 bh
HALF_LOCKED2 &le->lock
HALF_LOCKED2 &n->lock
HALF_LOCKED2 rcu_read

net/tipc/link.c tipc_link_tnl_rcv() -> tipc_buf_append()

Type Parameter Key Value
PARAM_VALUE 0 headbuf 4096-ptr_max
PARAM_VALUE 1 *buf 4096-ptr_max
BUF_SIZE 0 headbuf 8
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_PTR 0 (*headbuf).data
USER_PTR 1 (*buf).data
LOCK2 bh
HALF_LOCKED2 &le->lock
HALF_LOCKED2 &n->lock
HALF_LOCKED2 rcu_read

net/tipc/msg.c tipc_msg_assemble() -> tipc_buf_append()

Type Parameter Key Value
PARAM_VALUE 0 headbuf 1093069680277479424
PARAM_VALUE 0 *headbuf 0,4096-ptr_max
PARAM_VALUE 1 buf 4242763587114229760
PARAM_VALUE 1 *buf 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_PTR 0 (*headbuf).data
USER_PTR 1 (*buf).data
HALF_LOCKED2 rcu_read

net/tipc/msg.c tipc_msg_reassemble() -> tipc_buf_append()

Type Parameter Key Value
PARAM_VALUE 0 headbuf 8453997906518749184
PARAM_VALUE 0 *headbuf 0,4096-ptr_max
PARAM_VALUE 1 buf 2670207711206875136
PARAM_VALUE 1 *buf 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
USER_PTR 0 (*headbuf).data
USER_PTR 1 (*buf).data
HALF_LOCKED2 sk