Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

net/packet/af_packet.c packet_sendmsg_spkt() -> sock_wmalloc()

Type Parameter Key Value
PARAM_VALUE 1 size 16-4295163902
PARAM_VALUE 2 force 0
PARAM_VALUE 3 priority 3264
CAPPED_DATA 0 sk->__sk_common.skc_net.net 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 size 0-4295032829[c]
NO_OVERFLOW_SIMPLE 0 sk->sk_backlog.len
UNITS 0 sk unit_byte
UNITS 1 size unit_byte
HALF_LOCKED2 sk

net/l2tp/l2tp_ip.c l2tp_ip_sendmsg() -> sock_wmalloc()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_prot 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_state 1
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
PARAM_VALUE 2 force 0
PARAM_VALUE 3 priority 3264
CAPPED_DATA 0 sk 1
DATA_SOURCE 0 sk $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sk->sk_backlog.len
UNITS 0 sk unit_byte
UNITS 1 size unit_byte
LOCK2 0 sk
HALF_LOCKED2 &vq->mutex

net/unix/af_unix.c unix_stream_connect() -> sock_wmalloc()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_family 1
PARAM_VALUE 0 sk->__sk_common.skc_hash 0-255
PARAM_VALUE 0 sk->__sk_common.skc_incoming_cpu (-1)
PARAM_VALUE 0 sk->__sk_common.skc_net.net 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_node->pprev 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_node.pprev 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_prot 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_rcv_wnd u32max
PARAM_VALUE 0 sk->__sk_common.skc_rx_queue_mapping u16max
PARAM_VALUE 0 sk->__sk_common.skc_state 7
PARAM_VALUE 0 sk->__sk_common.skc_tw_rcv_nxt u32max
PARAM_VALUE 0 sk->__sk_common.skc_tx_queue_mapping u16max
PARAM_VALUE 0 sk->__sk_common.skc_u16hashes 0-255
PARAM_VALUE 0 sk->ns_tracker 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_allocation 4197568
PARAM_VALUE 0 sk->sk_callback_lock.magic 3736018669
PARAM_VALUE 0 sk->sk_callback_lock.owner (-1)
PARAM_VALUE 0 sk->sk_callback_lock.owner_cpu u32max
PARAM_VALUE 0 sk->sk_cgrp_data.cgroup 4096-ptr_max
PARAM_VALUE 0 sk->sk_cgrp_data.cgroup->self.refcnt.percpu_count_ptr 1-u64max
PARAM_VALUE 0 sk->sk_data_ready 528724923562565632
PARAM_VALUE 0 sk->sk_destruct 2749886422862671872
PARAM_VALUE 0 sk->sk_drop_counters 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_drop_counters->drops0.counter 0
PARAM_VALUE 0 sk->sk_drop_counters->drops1.counter 0
PARAM_VALUE 0 sk->sk_drops.counter 0
PARAM_VALUE 0 sk->sk_error_queue.next 4096-ptr_max
PARAM_VALUE 0 sk->sk_error_queue.prev 4096-ptr_max
PARAM_VALUE 0 sk->sk_error_queue.qlen 0
PARAM_VALUE 0 sk->sk_error_report 6702601906265018368
PARAM_VALUE 0 sk->sk_frag.offset 0
PARAM_VALUE 0 sk->sk_frag.page 0
PARAM_VALUE 0 sk->sk_kern_sock 0
PARAM_VALUE 0 sk->sk_ll_usec 0
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_max_pacing_rate u64max
PARAM_VALUE 0 sk->sk_napi_id 0
PARAM_VALUE 0 sk->sk_owner 0
PARAM_VALUE 0 sk->sk_pacing_rate u64max
PARAM_VALUE 0 sk->sk_pacing_shift 10
PARAM_VALUE 0 sk->sk_peek_off (-1)
PARAM_VALUE 0 sk->sk_peer_pid 0
PARAM_VALUE 0 sk->sk_prot_creator 5685900286491869184,8773621801401122816
PARAM_VALUE 0 sk->sk_prot_creator->owner 0
PARAM_VALUE 0 sk->sk_prot_creator->slab 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_rcvbuf 212992
PARAM_VALUE 0 sk->sk_rcvlowat 1
PARAM_VALUE 0 sk->sk_rcvtimeo s64max
PARAM_VALUE 0 sk->sk_receive_queue.next 4096-ptr_max
PARAM_VALUE 0 sk->sk_receive_queue.prev 4096-ptr_max
PARAM_VALUE 0 sk->sk_receive_queue.qlen 0
PARAM_VALUE 0 sk->sk_scm_rights 1
PARAM_VALUE 0 sk->sk_send_head 0
PARAM_VALUE 0 sk->sk_sndbuf 212992
PARAM_VALUE 0 sk->sk_sndtimeo s64max
PARAM_VALUE 0 sk->sk_socket 0
PARAM_VALUE 0 sk->sk_stamp (-1000000000)
PARAM_VALUE 0 sk->sk_state_change 8403502521175646208
PARAM_VALUE 0 sk->sk_timer.entry.pprev 0
PARAM_VALUE 0 sk->sk_timer.flags 0-4194302
PARAM_VALUE 0 sk->sk_timer.lockdep_map->name 0-255
PARAM_VALUE 0 sk->sk_use_task_frag 1
PARAM_VALUE 0 sk->sk_wmem_alloc.refs.counter 1
PARAM_VALUE 0 sk->sk_wq 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_wq_raw 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_write_pending 0
PARAM_VALUE 0 sk->sk_write_queue.next 4096-ptr_max
PARAM_VALUE 0 sk->sk_write_queue.prev 4096-ptr_max
PARAM_VALUE 0 sk->sk_write_queue.qlen 0
PARAM_VALUE 0 sk->sk_write_space 4738720010938695680
PARAM_VALUE 0 sk->sk_zckey.counter 0
PARAM_VALUE 1 size 1
PARAM_VALUE 2 force 0
PARAM_VALUE 3 priority 3264
CAPPED_DATA 0 sk->__sk_common.skc_net.net 1
DATA_SOURCE 0 sk r unix_create1
BIT_INFO 0 sk->sk_prot_creator 0x48c0200b30230000,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING

drivers/net/ppp/pppoe.c pppoe_sendmsg() -> sock_wmalloc()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_state 1-255
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
PARAM_VALUE 2 force 0
PARAM_VALUE 3 priority 3264
BIT_INFO 0 sk->__sk_common.skc_state 0x1,0xff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 size 22-2147680260[c]
NO_OVERFLOW_SIMPLE 0 sk->sk_backlog.len
UNITS 0 sk unit_byte
UNITS 1 size unit_byte
LOCK2 0 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk

net/l2tp/l2tp_ppp.c pppol2tp_sendmsg() -> sock_wmalloc()

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_state 1-255
PARAM_VALUE 2 force 0
PARAM_VALUE 3 priority 3264
CAPPED_DATA 0 sk->sk_user_data 1
BIT_INFO 0 sk->__sk_common.skc_state 0x1,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sk->sk_backlog.len
UNITS 0 sk unit_byte
UNITS 1 size unit_byte
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk