Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

net/ipv4/af_inet.c __inet_accept() -> mem_cgroup_sk_alloc()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.owned 1
PARAM_VALUE 0 sk->sk_lock.slock.rlock.dep_map->name 0-255
PARAM_VALUE 0 sk->sk_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.wq.head.prev->next->next 4096-ptr_max
CAPPED_DATA 0 sk 1
DATA_SOURCE 0 sk $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 sk->sk_backlog.len
UNITS 0 sk unit_byte
LOCK2 0 sk
HALF_LOCKED2 sk

net/core/sock.c sk_alloc() -> mem_cgroup_sk_alloc()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_net.net 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_prot 4096-ptr_max
PARAM_VALUE 0 sk->ns_tracker 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.dep_map->name 0-255
PARAM_VALUE 0 sk->sk_lock.owned 0
PARAM_VALUE 0 sk->sk_lock.wq.head.next 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.wq.head.next->next 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.wq.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 sk->sk_owner 0
PARAM_VALUE 0 sk->sk_prot_creator 4096-ptr_max
PARAM_VALUE 0 sk->sk_prot_creator->owner 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_prot_creator->slab 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_security 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_wmem_alloc.refs.counter 1
BUF_SIZE 0 sk->sk_prot_creator (-1),448
DATA_SOURCE 0 sk r sk_prot_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &proto_tab_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 sk