Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

net/can/j1939/main.c j1939_can_recv() -> j1939_priv_get()

Type Parameter Key Value
BUF_SIZE 0 priv 560
BUF_SIZE 0 priv 560
DATA_SOURCE 0 priv $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 rcu_read

net/can/j1939/main.c j1939_can_rx_register() -> j1939_priv_get()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->active_session_list.next 4096-ptr_max
PARAM_VALUE 0 priv->active_session_list.next->next 4096-ptr_max
PARAM_VALUE 0 priv->active_session_list.prev 4096-ptr_max
PARAM_VALUE 0 priv->active_session_list.prev->next 4096-ptr_max
PARAM_VALUE 0 priv->active_session_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 priv->ecus.next 4096-ptr_max
PARAM_VALUE 0 priv->ecus.next->next 4096-ptr_max
PARAM_VALUE 0 priv->ecus.prev 4096-ptr_max
PARAM_VALUE 0 priv->ecus.prev->next 4096-ptr_max
PARAM_VALUE 0 priv->ecus.prev->prev 4096-ptr_max
PARAM_VALUE 0 priv->j1939_socks.next 4096-ptr_max
PARAM_VALUE 0 priv->j1939_socks.next->next 4096-ptr_max
PARAM_VALUE 0 priv->j1939_socks.prev 4096-ptr_max
PARAM_VALUE 0 priv->j1939_socks.prev->next 4096-ptr_max
PARAM_VALUE 0 priv->j1939_socks.prev->prev 4096-ptr_max
PARAM_VALUE 0 priv->j1939_socks_lock.magic 3736018669
PARAM_VALUE 0 priv->j1939_socks_lock.owner (-1)
PARAM_VALUE 0 priv->j1939_socks_lock.owner_cpu u32max
PARAM_VALUE 0 priv->kref.refcount.refs.counter 1
PARAM_VALUE 0 priv->lock.magic 3736018669
PARAM_VALUE 0 priv->lock.owner (-1)
PARAM_VALUE 0 priv->lock.owner_cpu u32max
PARAM_VALUE 0 priv->ndev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->flags 1-u32max
PARAM_VALUE 0 priv->ndev->ifindex s32min-(-1),1-s32max
PARAM_VALUE 0 priv->ndev->reg_state 1
PARAM_VALUE 0 priv->rx_kref.refcount.refs.counter 1
PARAM_VALUE 0 priv->tp_max_packet_size 117440505
PARAM_VALUE 0 *priv->ndev->name 0-255
BUF_SIZE 0 priv 4400
CAPPED_DATA 0 priv->ndev->ifindex 1
DATA_SOURCE 0 priv $0
BIT_INFO 0 priv->ndev->flags 0x1,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &j1939_netdev_lock
LOCK2 sock->sk

net/can/j1939/main.c j1939_priv_get_by_ndev_locked() -> j1939_priv_get()

Type Parameter Key Value
PARAM_VALUE 0 priv 1-u64max
DATA_SOURCE 0 priv r j1939_ndev_to_priv
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &j1939_netdev_lock
HALF_LOCKED2 sock->sk

net/can/j1939/bus.c j1939_ecu_create_locked() -> j1939_priv_get()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->lock.dep_map->name 0-255
PARAM_VALUE 0 priv->lock.owner_cpu 0
PARAM_VALUE 0 priv->lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 priv->ndev 0,4096-ptr_max
PARAM_VALUE 0 priv->ndev->refcnt_tracker.list.next 4096-ptr_max
PARAM_VALUE 0 priv->ndev->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 priv->ndev->refcnt_tracker.list.next->prev 4096-ptr_max
BUF_SIZE 0 priv (-1),1-s32max
BUF_SIZE 0 priv (-1),1-s32max
DATA_SOURCE 0 priv $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
LOCK2 0 &priv->lock
HALF_LOCKED2 rcu_read
HALF_LOCKED2 sock->sk
TYPE_LOCK (struct j1939_priv)->lock

net/can/j1939/transport.c j1939_session_new() -> j1939_priv_get()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->lock.dep_map->name 0-255
PARAM_VALUE 0 priv->ndev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->refcnt_tracker.list.next 4096-ptr_max
PARAM_VALUE 0 priv->ndev->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 priv->ndev->refcnt_tracker.list.next->prev 4096-ptr_max
PARAM_VALUE 0 *priv->ndev->name 0-255
BUF_SIZE 0 priv (-1),560
BUF_SIZE 0 priv (-1),560
DATA_SOURCE 0 priv $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 rcu_read
HALF_LOCKED2 sock->sk

net/can/j1939/socket.c j1939_jsk_add() -> j1939_priv_get()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->ecus.prev->next->next 4096-ptr_max
PARAM_VALUE 0 priv->lock.dep_map->name 0-255
PARAM_VALUE 0 priv->lock.owner (-1)
PARAM_VALUE 0 priv->lock.owner_cpu u32max
PARAM_VALUE 0 priv->lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 priv->lock.raw_lock.wlocked 0
BUF_SIZE 0 priv (-1),4392
BUF_SIZE 0 priv (-1),4392
DATA_SOURCE 0 priv $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 sock->sk

net/can/j1939/socket.c j1939_sk_bind() -> j1939_priv_get()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
BUF_SIZE 0 priv (-1),4400
BUF_SIZE 0 priv (-1),4400
DATA_SOURCE 0 priv r j1939_netdev_start
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 sock->sk