Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/block/drbd/drbd_nl.c get_initial_state() -> notify_device_state_change()

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-1
PARAM_VALUE 0 skb->destructor 172217845709488128
PARAM_VALUE 0 skb->sk 4096-ptr_max
PARAM_VALUE 2 state_change 4096-ptr_max
PARAM_VALUE 3 type 0,32768
BUF_SIZE 0 skb (-1)-s32max
BUF_SIZE 0 skb (-1)-s32max
DATA_SOURCE 0 skb $0
BIT_INFO 3 type 0x0,0x8000
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &nlk->nl_cb_mutex
TYPE_LOCK (struct netlink_sock)->nl_cb_mutex

drivers/block/drbd/drbd_state.c broadcast_state_change() -> broadcast_state_change ptr last_func()

Type Parameter Key Value
PARAM_VALUE 0 skb 0
PARAM_VALUE 1 seq 0
PARAM_VALUE 2 state_change 0
PARAM_VALUE 3 type 32770
NOCHECK_CALL
LOCK2 global &notification_mutex

drivers/block/drbd/drbd_state.c broadcast_state_change() -> broadcast_state_change ptr last_func()

Type Parameter Key Value
PARAM_VALUE 0 skb 0
PARAM_VALUE 1 seq 0
PARAM_VALUE 2 state_change 4096-ptr_max
PARAM_VALUE 2 state_change->device->ldev->md.uuid_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 state_change->device->local_cnt.counter s32min-s32max
PARAM_VALUE 2 state_change->peer_device->device->local_cnt.counter s32min-s32max
PARAM_VALUE 3 type 32770
BUF_SIZE 2 state_change (-1),24
BUF_SIZE 2 state_change (-1),24
NOCHECK_CALL
LOCK2 global &notification_mutex

drivers/block/drbd/drbd_state.c broadcast_state_change() -> broadcast_state_change ptr last_func()

Type Parameter Key Value
PARAM_VALUE 0 skb 0
PARAM_VALUE 1 seq 0
PARAM_VALUE 2 state_change 4096-ptr_max
PARAM_VALUE 2 state_change->device->ldev->md.uuid_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 state_change->device->local_cnt.counter s32min-s32max
PARAM_VALUE 2 state_change->peer_device->device->local_cnt.counter s32min-s32max
PARAM_VALUE 3 type 32770
BUF_SIZE 2 state_change (-1),24
BUF_SIZE 2 state_change (-1),24
NOCHECK_CALL
LOCK2 global &notification_mutex

drivers/block/drbd/drbd_state.c broadcast_state_change() -> broadcast_state_change ptr last_func()

Type Parameter Key Value
PARAM_VALUE 0 skb 0
PARAM_VALUE 1 seq 0
PARAM_VALUE 2 state_change 4096-ptr_max
PARAM_VALUE 2 state_change->device->ldev->md.uuid_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 state_change->device->local_cnt.counter s32min-s32max
PARAM_VALUE 2 state_change->peer_device->device->local_cnt.counter s32min-s32max
PARAM_VALUE 3 type 32770
BUF_SIZE 2 state_change (-1),24
BUF_SIZE 2 state_change (-1),24
NOCHECK_CALL
LOCK2 global &notification_mutex

drivers/block/drbd/drbd_state.c broadcast_state_change() -> broadcast_state_change ptr last_func()

Type Parameter Key Value
PARAM_VALUE 0 skb 0
PARAM_VALUE 1 seq 0
PARAM_VALUE 2 state_change 4096-ptr_max
PARAM_VALUE 2 state_change->device->ldev->md.uuid_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 state_change->device->local_cnt.counter s32min-s32max
PARAM_VALUE 2 state_change->peer_device->device->local_cnt.counter s32min-s32max
PARAM_VALUE 3 type 2
BUF_SIZE 2 state_change (-1),24
BUF_SIZE 2 state_change (-1),24
NOCHECK_CALL
LOCK2 global &notification_mutex