Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/nfc/llcp_core.c nfc_llcp_recv_cc() -> nfc_llcp_sock_link()

Type Parameter Key Value
PARAM_VALUE 0 l 4096-ptr_max
PARAM_VALUE 1 sk 4096-ptr_max
PARAM_VALUE 1 sk->__sk_common.skc_node->next->pprev 1-u64max
PARAM_VALUE 1 sk->__sk_common.skc_node.next->pprev 1-u64max
PARAM_VALUE 1 sk->__sk_common.skc_node.pprev 0
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 1 sk 1480
RX_PATH
NOCHECK_CALL
LOCK2 1 sk
HALF_LOCKED2 &pool->lock

net/nfc/llcp_core.c nfc_llcp_recv_connect() -> nfc_llcp_sock_link()

Type Parameter Key Value
PARAM_VALUE 0 l 4096-ptr_max
PARAM_VALUE 1 sk 4096-ptr_max
PARAM_VALUE 1 sk->__sk_common.skc_family 39
PARAM_VALUE 1 sk->__sk_common.skc_incoming_cpu (-1)
PARAM_VALUE 1 sk->__sk_common.skc_net.net 1824583183996030976
PARAM_VALUE 1 sk->__sk_common.skc_prot 4096-ptr_max
PARAM_VALUE 1 sk->__sk_common.skc_rcv_wnd u32max
PARAM_VALUE 1 sk->__sk_common.skc_refcnt.refs.counter 1
PARAM_VALUE 1 sk->__sk_common.skc_rx_queue_mapping u16max
PARAM_VALUE 1 sk->__sk_common.skc_state 3
PARAM_VALUE 1 sk->__sk_common.skc_tw_rcv_nxt u32max
PARAM_VALUE 1 sk->__sk_common.skc_tx_queue_mapping u16max
PARAM_VALUE 1 sk->dev 4096-ptr_max
PARAM_VALUE 1 sk->dsap 0-63
PARAM_VALUE 1 sk->local 4096-ptr_max
PARAM_VALUE 1 sk->local->dev 4096-ptr_max
PARAM_VALUE 1 sk->local->dev->ops->dep_link_down 4096-ptr_max
PARAM_VALUE 1 sk->local->sockets.lock.dep_map->name 0-255
PARAM_VALUE 1 sk->miux 0-2048
PARAM_VALUE 1 sk->ns_tracker 0,4096-ptr_max
PARAM_VALUE 1 sk->parent 4096-ptr_max
PARAM_VALUE 1 sk->parent->sk_lock.owned 1
PARAM_VALUE 1 sk->parent->sk_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 1 sk->recv_ack_n 0
PARAM_VALUE 1 sk->recv_n 0
PARAM_VALUE 1 sk->remote_ready 1
PARAM_VALUE 1 sk->remote_rw 0-15
PARAM_VALUE 1 sk->reserved_ssap 16-31,255
PARAM_VALUE 1 sk->rw 0-16
PARAM_VALUE 1 sk->send_ack_n 0
PARAM_VALUE 1 sk->send_n 0
PARAM_VALUE 1 sk->sk_allocation 3264
PARAM_VALUE 1 sk->sk_callback_lock.magic 3736018669
PARAM_VALUE 1 sk->sk_callback_lock.owner (-1)
PARAM_VALUE 1 sk->sk_callback_lock.owner_cpu u32max
PARAM_VALUE 1 sk->sk_cgrp_data.cgroup 4096-ptr_max
PARAM_VALUE 1 sk->sk_cgrp_data.cgroup->self.refcnt.percpu_count_ptr 1-u64max
PARAM_VALUE 1 sk->sk_data_ready 528724923562565632
PARAM_VALUE 1 sk->sk_destruct 4730363503391514624
PARAM_VALUE 1 sk->sk_drop_counters 0,4096-ptr_max
PARAM_VALUE 1 sk->sk_drops.counter 0
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.qlen 0
PARAM_VALUE 1 sk->sk_error_report 6702601906265018368
PARAM_VALUE 1 sk->sk_frag.offset 0
PARAM_VALUE 1 sk->sk_frag.page 0
PARAM_VALUE 1 sk->sk_kern_sock 0
PARAM_VALUE 1 sk->sk_ll_usec 0
PARAM_VALUE 1 sk->sk_lock.dep_map->name 0-255
PARAM_VALUE 1 sk->sk_lock.owned 0
PARAM_VALUE 1 sk->sk_lock.wq.head.next 4096-ptr_max
PARAM_VALUE 1 sk->sk_lock.wq.head.next->next 4096-ptr_max
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->prev 4096-ptr_max
PARAM_VALUE 1 sk->sk_max_pacing_rate u64max
PARAM_VALUE 1 sk->sk_napi_id 0
PARAM_VALUE 1 sk->sk_owner 0
PARAM_VALUE 1 sk->sk_pacing_rate u64max
PARAM_VALUE 1 sk->sk_pacing_shift 10
PARAM_VALUE 1 sk->sk_peek_off (-1)
PARAM_VALUE 1 sk->sk_peer_pid 0
PARAM_VALUE 1 sk->sk_prot_creator 8878166453292896256
PARAM_VALUE 1 sk->sk_prot_creator->owner 0
PARAM_VALUE 1 sk->sk_prot_creator->slab 0
PARAM_VALUE 1 sk->sk_protocol 1
PARAM_VALUE 1 sk->sk_rcvbuf 212992
PARAM_VALUE 1 sk->sk_rcvlowat 1
PARAM_VALUE 1 sk->sk_rcvtimeo s64max
PARAM_VALUE 1 sk->sk_receive_queue.next 4096-ptr_max
PARAM_VALUE 1 sk->sk_receive_queue.prev 4096-ptr_max
PARAM_VALUE 1 sk->sk_receive_queue.qlen 0
PARAM_VALUE 1 sk->sk_send_head 0
PARAM_VALUE 1 sk->sk_sndbuf 212992
PARAM_VALUE 1 sk->sk_sndtimeo s64max
PARAM_VALUE 1 sk->sk_socket 0
PARAM_VALUE 1 sk->sk_stamp (-1000000000)
PARAM_VALUE 1 sk->sk_state_change 8403502521175646208
PARAM_VALUE 1 sk->sk_timer.entry.pprev 0
PARAM_VALUE 1 sk->sk_timer.flags 0-4194302
PARAM_VALUE 1 sk->sk_timer.lockdep_map->name 0-255
PARAM_VALUE 1 sk->sk_use_task_frag 1
PARAM_VALUE 1 sk->sk_wmem_alloc.refs.counter 1
PARAM_VALUE 1 sk->sk_wq 0,4096-ptr_max
PARAM_VALUE 1 sk->sk_wq_raw 0,4096-ptr_max
PARAM_VALUE 1 sk->sk_write_pending 0
PARAM_VALUE 1 sk->sk_write_queue.next 4096-ptr_max
PARAM_VALUE 1 sk->sk_write_queue.prev 4096-ptr_max
PARAM_VALUE 1 sk->sk_write_queue.qlen 0
PARAM_VALUE 1 sk->sk_write_space 892094836763238400
PARAM_VALUE 1 sk->sk_zckey.counter 0
PARAM_VALUE 1 sk->ssap 0-63,255
PARAM_VALUE 1 sk->tx_pending_queue.qlen 0
PARAM_VALUE 1 sk->tx_queue.qlen 0
DATA_SOURCE 1 sk r nfc_llcp_sock_alloc
RX_PATH
NOCHECK_CALL
LOCK2 &sock->sk
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct nfc_llcp_sock)->sk

net/nfc/llcp_sock.c llcp_raw_sock_bind() -> nfc_llcp_sock_link()

Type Parameter Key Value
PARAM_VALUE 0 l 4096-ptr_max
PARAM_VALUE 1 sk 4096-ptr_max
PARAM_VALUE 1 sk->__sk_common.skc_state 3
PARAM_VALUE 1 sk->dev 4096-ptr_max
PARAM_VALUE 1 sk->local 4096-ptr_max
PARAM_VALUE 1 sk->local->dev 4096-ptr_max
PARAM_VALUE 1 sk->nfc_protocol 0
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
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sk unit_byte
LOCK2 1 sk
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 global &o2nm_cluster_group.cs_subsys.su_mutex

net/nfc/llcp_sock.c llcp_sock_bind() -> nfc_llcp_sock_link()

Type Parameter Key Value
PARAM_VALUE 0 l 4096-ptr_max
PARAM_VALUE 1 sk 4096-ptr_max
PARAM_VALUE 1 sk->__sk_common.skc_state 3
PARAM_VALUE 1 sk->dev 4096-ptr_max
PARAM_VALUE 1 sk->local 4096-ptr_max
PARAM_VALUE 1 sk->local->dev 4096-ptr_max
PARAM_VALUE 1 sk->nfc_protocol 0
PARAM_VALUE 1 sk->reserved_ssap 1-15
PARAM_VALUE 1 sk->service_name 1-u64max
PARAM_VALUE 1 sk->service_name_len 0
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
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sk unit_byte
LOCK2 1 sk
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 global &o2nm_cluster_group.cs_subsys.su_mutex

net/nfc/llcp_sock.c llcp_sock_connect() -> nfc_llcp_sock_link()

Type Parameter Key Value
PARAM_VALUE 0 l 4096-ptr_max
PARAM_VALUE 1 sk 4096-ptr_max
PARAM_VALUE 1 sk->__sk_common.skc_state 0,3-255
PARAM_VALUE 1 sk->dev 4096-ptr_max
PARAM_VALUE 1 sk->dev->dep_link_up 1
PARAM_VALUE 1 sk->dsap 1-255
PARAM_VALUE 1 sk->local 4096-ptr_max
PARAM_VALUE 1 sk->local->dev 4096-ptr_max
PARAM_VALUE 1 sk->reserved_ssap 32-63
PARAM_VALUE 1 sk->service_name 1-u64max
PARAM_VALUE 1 sk->service_name_len 0-63
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
PARAM_VALUE 1 sk->ssap 32-63
FUZZY_MAX 1 sk->dsap 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sk unit_byte
LOCK2 1 sk