Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/block/drbd/drbd_nl.c drbd_nl_get_peer_devices_dumpit() -> peer_device_info_to_skb()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->data 4096-ptr_max
PARAM_VALUE 0 skb->data_len 0
PARAM_VALUE 0 skb->destructor 172217845709488128
PARAM_VALUE 0 skb->sk 4096-ptr_max
PARAM_VALUE 1 s 3818630943101575168
PARAM_VALUE 1 s->peer_disk_state 0-15
PARAM_VALUE 1 s->peer_repl_state 9-31
PARAM_VALUE 1 s->peer_resync_susp_dependency 0-1
PARAM_VALUE 1 s->peer_resync_susp_peer 0-1
PARAM_VALUE 1 s->peer_resync_susp_user 0-1
BUF_SIZE 0 skb (-1)-s32max
BUF_SIZE 0 skb (-1)-s32max
DATA_SOURCE 0 skb $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 skb->sk->sk_backlog.len
LOCK2 rcu_read
HALF_LOCKED2 &nlk->nl_cb_mutex
TYPE_LOCK (struct netlink_sock)->nl_cb_mutex

drivers/block/drbd/drbd_nl.c notify_peer_device_state() -> peer_device_info_to_skb()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->data_len 0
PARAM_VALUE 1 s 0,1694267516870975488,3218643499113095168,8818919109938769920
PARAM_VALUE 1 s->peer_resync_susp_dependency 0-1
PARAM_VALUE 1 s->peer_resync_susp_peer 0-1
PARAM_VALUE 1 s->peer_resync_susp_user 0-1
BUF_SIZE 0 skb (-1)-s32max
BUF_SIZE 0 skb (-1)-s32max
DATA_SOURCE 0 skb $0 [m]
DATA_SOURCE 1 s $3
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &adm_ctx->resource->adm_mutex
HALF_LOCKED2 &adm_ctx->resource->conf_update
HALF_LOCKED2 global &notification_mutex