Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/net/can/vcan.c can_create_echo_skb() -> can_skb_set_owner()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 1 sk->__sk_common.skc_net.net->notrefcnt_tracker.dead 1
PARAM_VALUE 1 sk->__sk_common.skc_net.net->notrefcnt_tracker.quarantine.prev 4096-ptr_max
PARAM_VALUE 1 sk->__sk_common.skc_net.net->refcnt_tracker.dead 1
PARAM_VALUE 1 sk->sk_bpf_storage->owner_refcnt.refs.counter s32min-s32max
PARAM_VALUE 1 sk->sk_error_queue.next 4096-ptr_max
PARAM_VALUE 1 sk->sk_error_queue.prev 4096-ptr_max
PARAM_VALUE 1 sk->sk_error_queue.prev->next->next 4096-ptr_max
PARAM_VALUE 1 sk->sk_owner->refcnt.counter 0-s32max
PARAM_VALUE 1 sk->sk_prot_creator->owner->refcnt.counter 0-s32max
BUF_SIZE 0 skb (-1),240
BUF_SIZE 0 skb (-1),240
DATA_SOURCE 0 skb r skb_clone
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 sk->sk_backlog.len
UNITS 1 sk unit_byte
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

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

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 1 sk->__sk_common.skc_net.net->xfrm.nat_keepalive_work.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 sk->__sk_common.skc_net.net->xfrm.nat_keepalive_work.wq->saved_max_active s32min-s32max
PARAM_VALUE 1 sk->__sk_common.skc_net.net->xfrm.nat_keepalive_work.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 1 sk->ns_tracker->dead 0-1
PARAM_VALUE 1 sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 1 sk->sk_peer_cred->process_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 1 sk->sk_peer_cred->process_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 1 sk->sk_peer_cred->request_key_auth->user->qnbytes s32min-s32max
PARAM_VALUE 1 sk->sk_peer_cred->request_key_auth->user->qnkeys s32min-s32max
PARAM_VALUE 1 sk->sk_peer_cred->session_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 1 sk->sk_peer_cred->session_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 1 sk->sk_peer_cred->thread_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 1 sk->sk_peer_cred->thread_keyring->user->qnkeys s32min-s32max
BUF_SIZE 0 skb (-1),240
BUF_SIZE 0 skb (-1),240
DATA_SOURCE 0 skb r skb_clone
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 sk->sk_backlog.len
UNITS 1 sk unit_byte
LOCK2 rcu_read

drivers/net/can/janz-ican3.c can_create_echo_skb() -> can_skb_set_owner()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 1 sk->__sk_common.skc_net.net->xfrm.nat_keepalive_work.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 sk->__sk_common.skc_net.net->xfrm.nat_keepalive_work.wq->saved_max_active s32min-s32max
PARAM_VALUE 1 sk->__sk_common.skc_net.net->xfrm.nat_keepalive_work.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 1 sk->ns_tracker->dead 0-1
PARAM_VALUE 1 sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 1 sk->sk_peer_cred->process_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 1 sk->sk_peer_cred->process_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 1 sk->sk_peer_cred->request_key_auth->user->qnbytes s32min-s32max
PARAM_VALUE 1 sk->sk_peer_cred->request_key_auth->user->qnkeys s32min-s32max
PARAM_VALUE 1 sk->sk_peer_cred->session_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 1 sk->sk_peer_cred->session_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 1 sk->sk_peer_cred->thread_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 1 sk->sk_peer_cred->thread_keyring->user->qnkeys s32min-s32max
BUF_SIZE 0 skb (-1),240
BUF_SIZE 0 skb (-1),240
DATA_SOURCE 0 skb r skb_clone
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 sk->sk_backlog.len
UNITS 1 sk unit_byte
LOCK2 &mod->lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct ican3_dev)->lock

net/can/bcm.c bcm_can_tx() -> can_skb_set_owner()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->data_len 0
PARAM_VALUE 0 skb->dev 4096-ptr_max
PARAM_VALUE 0 skb->dev->refcnt_tracker.list.next 4096-ptr_max
PARAM_VALUE 0 skb->extensions 4096-ptr_max
PARAM_VALUE 0 skb->extensions->refcnt.refs.counter 1
PARAM_VALUE 0 skb->slow_gro 1
BUF_SIZE 0 skb 0-s32max
BUF_SIZE 0 skb 0-s32max
CAPPED_DATA 0 skb->dev->ifindex 1
CAPPED_DATA 1 sk->__sk_common.skc_net.net 1
DATA_SOURCE 0 skb r alloc_skb
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sk unit_byte
HALF_LOCKED2 rcu_read

net/can/bcm.c bcm_tx_send() -> can_skb_set_owner()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->data_len 0
PARAM_VALUE 0 skb->dev 4096-ptr_max
PARAM_VALUE 0 skb->dev->refcnt_tracker.list.next 4096-ptr_max
PARAM_VALUE 0 skb->extensions 4096-ptr_max
PARAM_VALUE 0 skb->extensions->refcnt.refs.counter 1
PARAM_VALUE 0 skb->slow_gro 1
PARAM_VALUE 1 sk 4096-ptr_max
PARAM_VALUE 1 sk->bound s32min-(-1),1-s32max
PARAM_VALUE 1 sk->sk_lock.owned 1
PARAM_VALUE 1 sk->sk_lock.slock.rlock.dep_map->name 0-255
PARAM_VALUE 1 sk->sk_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 1 sk->sk_lock.wq.head.prev->next 4096-ptr_max
PARAM_VALUE 1 sk->sk_lock.wq.head.prev->next->next 4096-ptr_max
BUF_SIZE 0 skb 16,72
BUF_SIZE 0 skb 16,72
CAPPED_DATA 0 skb->dev->ifindex 1
CAPPED_DATA 1 sk->__sk_common.skc_net.net 1
DATA_SOURCE 0 skb r alloc_skb
DATA_SOURCE 1 sk $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 sk->sk_backlog.len
UNITS 1 sk unit_byte
LOCK2 1 sk
HALF_LOCKED2 &vq->mutex

net/can/isotp.c isotp_send_cframe() -> can_skb_set_owner()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->data 4096-ptr_max
PARAM_VALUE 0 skb->data->data 4096-ptr_max
PARAM_VALUE 0 skb->data_len 0
PARAM_VALUE 0 skb->dev 4096-ptr_max
PARAM_VALUE 0 skb->dev->refcnt_tracker.list.next 4096-ptr_max
PARAM_VALUE 0 skb->extensions 4096-ptr_max
PARAM_VALUE 0 skb->extensions->refcnt.refs.counter 1
PARAM_VALUE 0 skb->hash 1-u32max
PARAM_VALUE 0 skb->slow_gro 1
PARAM_VALUE 0 skb->sw_hash 1
PARAM_VALUE 0 *skb->data->data 0-255
PARAM_VALUE 1 sk 4096-ptr_max
BUF_SIZE 0 skb 0-s32max
BUF_SIZE 0 skb 0-s32max
BUF_SIZE 1 sk 1480
CAPPED_DATA 0 skb->dev->ifindex 1
CAPPED_DATA 1 sk->__sk_common.skc_net.net 1
DATA_SOURCE 0 skb r alloc_skb
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &so->rx_lock
HALF_LOCKED2 rcu_read

net/can/isotp.c isotp_send_fc() -> can_skb_set_owner()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->dev 4096-ptr_max
PARAM_VALUE 0 skb->dev->refcnt_tracker.list.next 4096-ptr_max
PARAM_VALUE 0 skb->extensions 4096-ptr_max
PARAM_VALUE 0 skb->extensions->refcnt.refs.counter 1
PARAM_VALUE 0 skb->slow_gro 1
PARAM_VALUE 1 sk 4096-ptr_max
PARAM_VALUE 1 sk->rx.state 0,3
PARAM_VALUE 1 sk->rx_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 skb 0-s32max
BUF_SIZE 0 skb 0-s32max
BUF_SIZE 1 sk 1-s32max
BUF_SIZE 1 sk 1-s32max
CAPPED_DATA 0 skb->dev->ifindex 1
CAPPED_DATA 1 sk->__sk_common.skc_net.net 1
DATA_SOURCE 0 skb r alloc_skb
DATA_SOURCE 1 sk $0
HARD_MAX 1 sk->rx.state 3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &so->rx_lock
LOCK2 rcu_read
TYPE_LOCK (struct isotp_sock)->rx_lock

net/can/af_can.c can_send() -> can_skb_set_owner()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
BUF_SIZE 0 skb (-1),240
BUF_SIZE 0 skb (-1),240
DATA_SOURCE 0 skb r skb_clone
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 sk->sk_backlog.len
UNITS 1 sk unit_byte
HALF_LOCKED2 &so->rx_lock
HALF_LOCKED2 rcu_read

drivers/net/can/dev/skb.c can_create_echo_skb() -> can_skb_set_owner()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
BUF_SIZE 0 skb (-1),240
BUF_SIZE 0 skb (-1),240
DATA_SOURCE 0 skb r skb_clone
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 sk->sk_backlog.len
UNITS 1 sk unit_byte
HALF_LOCKED2 &card->spin
HALF_LOCKED2 &priv->echo_lock
HALF_LOCKED2 &priv->hi3110_lock
HALF_LOCKED2 &priv->mcp_lock
HALF_LOCKED2 &priv->tx_lock
HALF_LOCKED2 &up->echo_skb_lock

net/can/j1939/transport.c j1939_simple_txnext() -> can_skb_set_owner()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->extensions 4096-ptr_max
PARAM_VALUE 0 skb->extensions->refcnt.refs.counter 1
PARAM_VALUE 0 skb->slow_gro 1
BUF_SIZE 0 skb (-1),240
BUF_SIZE 0 skb (-1),240
DATA_SOURCE 0 skb r skb_clone
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sk unit_byte
HALF_LOCKED2 irq

net/can/j1939/socket.c j1939_sk_recv_one() -> can_skb_set_owner()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
BUF_SIZE 0 skb (-1),240
BUF_SIZE 0 skb (-1),240
DATA_SOURCE 0 skb r skb_clone
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sk unit_byte
LOCK2 &priv->j1939_socks_lock
LOCK2 bh
LOCK2 rcu_read
TYPE_LOCK (struct j1939_priv)->j1939_socks_lock