Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/tap.c tap_open() -> sock_init_data_uid()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 1914849869241667584
PARAM_VALUE 0 sock->state 3
PARAM_VALUE 0 sock->type 3
PARAM_VALUE 0 sock->wq.wait.head.next 4096-ptr_max
PARAM_VALUE 0 sock->wq.wait.head.prev 4096-ptr_max
PARAM_VALUE 1 sk 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &rtnl_mutex

net/core/sock.c sock_init_data() -> sock_init_data_uid()

Type Parameter Key Value
PARAM_VALUE 1 sk 4096-ptr_max
PARAM_VALUE 1 sk->__sk_common.skc_net.net 4096-ptr_max
PARAM_VALUE 1 sk->__sk_common.skc_prot 4096-ptr_max
PARAM_VALUE 1 sk->__sk_common.skc_tx_queue_mapping u16max
PARAM_VALUE 1 sk->ns_tracker 0,4096-ptr_max
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_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_owner 0
PARAM_VALUE 1 sk->sk_prot_creator 4096-ptr_max
PARAM_VALUE 1 sk->sk_prot_creator->owner 0,4096-ptr_max
PARAM_VALUE 1 sk->sk_prot_creator->slab 0,4096-ptr_max
PARAM_VALUE 1 sk->sk_wmem_alloc.refs.counter 1
BUF_SIZE 0 sock (-1),192
BUF_SIZE 0 sock (-1),192
BUF_SIZE 0 sock->ops (-1),240
BUF_SIZE 1 sk->__sk_common.skc_net.net (-1),1-s32max
BUF_SIZE 1 sk->sk_prot_creator (-1),448
CAPPED_DATA 1 sk->__sk_common.skc_net.net 1
DATA_SOURCE 0 sock $0
DATA_SOURCE 1 sk $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &proto_tab_lock
HALF_LOCKED2 sk

drivers/net/tun.c tun_chr_open() -> sock_init_data_uid()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 5839038565388341248
PARAM_VALUE 0 sock->wq.wait.head.next 4096-ptr_max
PARAM_VALUE 0 sock->wq.wait.head.prev 4096-ptr_max
PARAM_VALUE 1 sk 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL