Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/tipc/socket.c __tipc_sendmsg() -> msg_set_destport()

Type Parameter Key Value
PARAM_VALUE 0 m 4096-ptr_max
PARAM_VALUE 0 *m->hdr 0-4294967295
BUF_SIZE 0 m 60
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 sk

net/tipc/socket.c tipc_send_group_bcast() -> msg_set_destport()

Type Parameter Key Value
PARAM_VALUE 0 m 4096-ptr_max
PARAM_VALUE 0 *m->hdr 0-4294967295
PARAM_VALUE 1 p 0
BUF_SIZE 0 m 60
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 sk

net/tipc/socket.c tipc_send_group_msg() -> msg_set_destport()

Type Parameter Key Value
PARAM_VALUE 0 m 4096-ptr_max
PARAM_VALUE 0 *m->hdr 0-4294967295
BUF_SIZE 0 m 60
DATA_SOURCE 1 p $5
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 p 0-u32max[u]
HALF_LOCKED2 sk

net/tipc/socket.c tipc_sendmcast() -> msg_set_destport()

Type Parameter Key Value
PARAM_VALUE 0 m 4096-ptr_max
PARAM_VALUE 0 *m->hdr 0-4294967295
PARAM_VALUE 1 p 0
BUF_SIZE 0 m 60
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 sk

net/tipc/socket.c tipc_sk_finish_conn() -> msg_set_destport()

Type Parameter Key Value
PARAM_VALUE 0 m 4096-ptr_max
PARAM_VALUE 0 *m->hdr 0-4294967295
BUF_SIZE 0 m 60
DATA_SOURCE 1 p $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 p 0-u32max
HALF_LOCKED2 new_sk
HALF_LOCKED2 sk

net/tipc/socket.c tipc_sk_mcast_rcv() -> msg_set_destport()

Type Parameter Key Value
BUF_SIZE 0 m 1-s32max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_PTR 0 m
HALF_LOCKED2 rcu_read

net/tipc/msg.c tipc_msg_create() -> msg_set_destport()

Type Parameter Key Value
PARAM_VALUE 0 m 4096-ptr_max
PARAM_VALUE 0 *m->hdr 0-4294967295
BUF_SIZE 0 m 1-s32max
BUF_SIZE 0 m 1-s32max
DATA_SOURCE 1 p $6
MEM_ZERO 0 m
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 m unit_byte
USER_PTR 0 m
HALF_LOCKED2 &n->lock
HALF_LOCKED2 bh
HALF_LOCKED2 sk

net/tipc/msg.c tipc_msg_lookup_dest() -> msg_set_destport()

Type Parameter Key Value
PARAM_VALUE 0 m 4096-ptr_max
PARAM_VALUE 0 *m->hdr 0-4294967295
BUF_SIZE 0 m 1-s32max
BUF_SIZE 0 m 1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 m unit_byte
USER_PTR 0 m
HALF_LOCKED2 &n->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 rcu_read

net/tipc/msg.c tipc_msg_reverse() -> msg_set_destport()

Type Parameter Key Value
PARAM_VALUE 0 m 4096-ptr_max
PARAM_VALUE 0 *m->hdr 0-4294967295
BUF_SIZE 0 m 1-s32max
BUF_SIZE 0 m 1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 p 0-u32max
UNITS 0 m unit_byte
USER_PTR 0 m
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 bh
HALF_LOCKED2 sk