Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/infiniband/sw/siw/siw_cm.c getname_local() -> (struct proto_ops)->getname()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 1 uaddr 8407224263614533640
PARAM_VALUE 2 peer 0
DATA_SOURCE 0 sock $0
DATA_SOURCE 1 uaddr $1
CONTAINER 0 -56-32+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &qp->state_lock
HALF_LOCKED2 &sk->sk_callback_lock

drivers/infiniband/sw/siw/siw_cm.c getname_peer() -> (struct proto_ops)->getname()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 0 sock->ops->getname 4096-ptr_max
PARAM_VALUE 1 uaddr 8407224263614533768
PARAM_VALUE 2 peer 1
DATA_SOURCE 0 sock $0
DATA_SOURCE 1 uaddr $1
CONTAINER 0 -56-32+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &qp->state_lock
HALF_LOCKED2 &sk->sk_callback_lock

drivers/infiniband/hw/erdma/erdma_cm.c getname_local() -> (struct proto_ops)->getname()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 1 uaddr 9146347914739220488
PARAM_VALUE 2 peer 0
DATA_SOURCE 0 sock $0
DATA_SOURCE 1 uaddr $1
CONTAINER 0 -56-32+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &qp->state_lock

drivers/infiniband/hw/erdma/erdma_cm.c getname_peer() -> (struct proto_ops)->getname()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 0 sock->ops->getname 4096-ptr_max
PARAM_VALUE 1 uaddr 9146347914739220616
PARAM_VALUE 2 peer 1
DATA_SOURCE 0 sock $0
DATA_SOURCE 1 uaddr $1
CONTAINER 0 -56-32+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &qp->state_lock

drivers/infiniband/hw/erdma/erdma_qp.c getname_local() -> (struct proto_ops)->getname()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 1 uaddr 1492973051702198272
PARAM_VALUE 2 peer 0
DATA_SOURCE 0 sock $0
DATA_SOURCE 1 uaddr $1
CONTAINER 0 -56-32+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &qp->state_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct erdma_qp)->state_lock

drivers/infiniband/hw/erdma/erdma_qp.c getname_peer() -> (struct proto_ops)->getname()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 0 sock->ops->getname 4096-ptr_max
PARAM_VALUE 1 uaddr 3599044066324901888
PARAM_VALUE 2 peer 1
DATA_SOURCE 0 sock $0
DATA_SOURCE 1 uaddr $1
CONTAINER 0 -56-32+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &qp->state_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct erdma_qp)->state_lock

drivers/target/iscsi/iscsi_target_login.c iscsit_accept_np() -> (struct proto_ops)->getname()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 1 uaddr 8316540551955910656
PARAM_VALUE 2 peer 1
BUF_SIZE 1 uaddr 28
CONTAINER 0 *(-56-32+0) $(-1)
MEM_ZERO 1 uaddr

drivers/target/iscsi/iscsi_target_login.c iscsit_accept_np() -> (struct proto_ops)->getname()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 1 uaddr 8316540551955910656
PARAM_VALUE 2 peer 0
BUF_SIZE 1 uaddr 28
CONTAINER 0 *(-56-32+0) $(-1)
MEM_ZERO 1 uaddr

drivers/target/iscsi/iscsi_target_login.c iscsit_accept_np() -> (struct proto_ops)->getname()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 1 uaddr 2209489237293596672
PARAM_VALUE 2 peer 1
CONTAINER 0 *(-56-32+0) $(-1)
MEM_ZERO 1 uaddr

drivers/target/iscsi/iscsi_target_login.c iscsit_accept_np() -> (struct proto_ops)->getname()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 1 uaddr 2209489237293596672
PARAM_VALUE 2 peer 0
CONTAINER 0 *(-56-32+0) $(-1)
MEM_ZERO 1 uaddr

fs/ocfs2/cluster/tcp.c o2net_accept_one() -> (struct proto_ops)->getname()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 0 sock->sk 4096-ptr_max
PARAM_VALUE 0 sock->sk->__sk_common.skc_net.net->mctp.bind_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sock->sk->listener->__sk_common.skc_net.net->notrefcnt_tracker.dead 1
PARAM_VALUE 0 sock->sk->listener->__sk_common.skc_net.net->refcnt_tracker.dead 1
PARAM_VALUE 0 sock->sk->listener->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 sock->sk->listener->ns_tracker->dead 0-1
PARAM_VALUE 0 sock->sk->listener->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 sock->sk->listener->sk_bpf_storage->owner_refcnt.refs.counter s32min-s32max
PARAM_VALUE 0 sock->sk->listener->sk_callback_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 sock->sk->listener->sk_callback_lock.raw_lock.wlocked 0
PARAM_VALUE 0 sock->sk->listener->sk_lock.owned 1
PARAM_VALUE 0 sock->sk->listener->sk_reuseport_cb 0
PARAM_VALUE 0 sock->sk->listener->sk_user_data 0
PARAM_VALUE 0 sock->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 sock->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 sock->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 sock->sk->sk_backlog.head->cb->cfm_prim 0
PARAM_VALUE 0 sock->sk->sk_backlog.head->cb->ind_prim 0
PARAM_VALUE 0 sock->sk->sk_backlog.head->cb->reason 0
PARAM_VALUE 0 sock->sk->sk_backlog.head->dev->priv->arfs->filter_count s32min-s32max
PARAM_VALUE 0 sock->sk->sk_backlog.head->dev->priv->arfs->mode 0-4
PARAM_VALUE 0 sock->sk->sk_backlog.head->dev->priv->last_filter_id s32min-s32max
PARAM_VALUE 0 sock->sk->sk_backlog.head->dev->priv->ntp_fltr_count s32min-s32max
PARAM_VALUE 0 sock->sk->sk_backlog.head->dev->priv->sp_task.cpu s32min-s32max
PARAM_VALUE 0 sock->sk->sk_backlog.head->dev->priv->sp_task.timer.flags 0-4294967295
PARAM_VALUE 0 sock->sk->sk_backlog.head->dev->priv->sp_task.timer.is_hard 0-1
PARAM_VALUE 0 sock->sk->sk_backlog.head->dev->priv->sp_task.timer.is_lazy 0-1
PARAM_VALUE 0 sock->sk->sk_backlog.head->dev->priv->sp_task.timer.is_queued 0-1
PARAM_VALUE 0 sock->sk->sk_backlog.head->dev->priv->sp_task.timer.is_soft 0-1
PARAM_VALUE 0 sock->sk->sk_cgrp_data.cgroup->bpf.refcnt.percpu_count_ptr 1-u64max
PARAM_VALUE 0 sock->sk->sk_dst_cache->ops->pcpuc_entries.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 sock->sk->sk_lock.dep_map->name 0-255
PARAM_VALUE 0 sock->sk->sk_lock.owned 0
PARAM_VALUE 0 sock->sk->sk_lock.slock.rlock.dep_map->name 0-255
PARAM_VALUE 0 sock->sk->sk_lock.wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 sock->sk->sk_lock.wq.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 sock->sk->sk_memcg->high_work.node.node.next 0
PARAM_VALUE 0 sock->sk->sk_memcg->high_work.node.node.prev 0
PARAM_VALUE 0 sock->sk->sk_owner->refcnt.counter 0-s32max
PARAM_VALUE 0 sock->sk->sk_reuseport_cb->rcu.func 1-u64max
PARAM_VALUE 0 sock->sk->sk_reuseport_cb->rcu.next 0
PARAM_VALUE 0 sock->sk->sk_user_data->cp_reconnect_jiffies 0
PARAM_VALUE 0 sock->sk->sk_user_data->private->o_sparse_read.sr_count 0
PARAM_VALUE 0 sock->sk->sk_user_data->private->o_sparse_read.sr_datalen 0
PARAM_VALUE 0 sock->sk->sk_user_data->private->o_sparse_read.sr_ext_len 0
PARAM_VALUE 0 sock->sk->sk_user_data->private->o_sparse_read.sr_index 0
PARAM_VALUE 0 sock->sk->sk_user_data->private->o_sparse_read.sr_pos 0
PARAM_VALUE 0 sock->sk->sk_user_data->private->o_sparse_read.sr_req_len 0
PARAM_VALUE 0 sock->sk->sk_user_data->private->o_sparse_read.sr_req_off 0
PARAM_VALUE 0 sock->sk->sk_user_data->private->o_sparse_read.sr_state 0
PARAM_VALUE 0 sock->sk->sk_user_data->private->s_auth.authorizer->buf 0
PARAM_VALUE 0 sock->sk->sk_user_data->private->s_auth.authorizer->session_key.key 0
PARAM_VALUE 0 sock->sk->sk_user_data->private->s_delegated_inos.xa_head 0
PARAM_VALUE 0 sock->sk->sk_user_data->sc_sock->file 0
PARAM_VALUE 0 sock->sk->tcp_retransmit_timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 *sock->sk->sk_backlog.head->dev->name 0-255
PARAM_VALUE 0 *sock->sk->sk_user_data->door_bell.wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *sock->sk->sk_user_data->private->o_auth.authorizer->session_key.krb5_tfms 0
PARAM_VALUE 0 *sock->sk->sk_user_data->private->s_auth.authorizer->session_key.krb5_tfms 0
PARAM_VALUE 1 uaddr 3108300525233008640
PARAM_VALUE 2 peer 1
CAPPED_DATA 0 sock->sk 1
CONTAINER 0 -56-32+0 $(-1)
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_prot_creator->twsk_prot->twsk_slab->sheaf_capacity
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_receive_queue.prev->data_len
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_receive_queue.prev->next->data_len
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_write_queue.next->data_len
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_write_queue.next->prev->data_len
HALF_LOCKED2 &pool->lock

net/smc/af_smc.c smc_getname() -> (struct proto_ops)->getname()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
BUF_SIZE 1 uaddr (-1),12,28,128
BUF_SIZE 1 uaddr (-1),12,28,128
DATA_SOURCE 1 uaddr $1
DATA_SOURCE 2 peer $2
CONTAINER 0 *(-56-32+0) $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &qp->state_lock

net/core/sock.c sk_getsockopt() -> (struct proto_ops)->getname()

Type Parameter Key Value
PARAM_VALUE 1 uaddr 6968538910154612736
PARAM_VALUE 2 peer 2
BUF_SIZE 1 uaddr 128
RX_PATH
TASK_NOT_RUNNING

fs/dlm/lowcomms.c accept_from_sock() -> (struct proto_ops)->getname()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 1 uaddr 7487098557177253888
PARAM_VALUE 2 peer 2
BUF_SIZE 1 uaddr 128
CONTAINER 0 -56-32+0 $(-1)
MEM_ZERO 1 uaddr
HALF_LOCKED2 &pool->lock

net/socket.c do_accept() -> (struct proto_ops)->getname()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->file 4096-ptr_max
PARAM_VALUE 0 sock->file->__f_path.dentry 4096-ptr_max
PARAM_VALUE 0 sock->file->__f_path.mnt 0
PARAM_VALUE 0 sock->file->f_cred 0,4096-ptr_max
PARAM_VALUE 0 sock->file->f_ep 0
PARAM_VALUE 0 sock->file->f_flags 0-18433,32770
PARAM_VALUE 0 sock->file->f_inode 4096-ptr_max
PARAM_VALUE 0 sock->file->f_iocb_flags 0,2,16,18,131072,131074,131088,131090
PARAM_VALUE 0 sock->file->f_mapping 4096-ptr_max
PARAM_VALUE 0 sock->file->f_mode 167772160,168296448-705560583
PARAM_VALUE 0 sock->file->f_op 4096-ptr_max
PARAM_VALUE 0 sock->file->f_owner 0
PARAM_VALUE 0 sock->file->f_pos 0
PARAM_VALUE 0 sock->file->f_pos_lock.first_waiter 0
PARAM_VALUE 0 sock->file->f_pos_lock.magic 4096-ptr_max
PARAM_VALUE 0 sock->file->f_pos_lock.osq.tail.counter 0
PARAM_VALUE 0 sock->file->f_pos_lock.owner.counter 0
PARAM_VALUE 0 sock->file->f_ra.async_size 0
PARAM_VALUE 0 sock->file->f_ra.mmap_miss 0
PARAM_VALUE 0 sock->file->f_ra.order 0
PARAM_VALUE 0 sock->file->f_ra.prev_pos 0
PARAM_VALUE 0 sock->file->f_ra.ra_pages 0
PARAM_VALUE 0 sock->file->f_ra.size 0
PARAM_VALUE 0 sock->file->f_ra.start 0
PARAM_VALUE 0 sock->file->f_ref.refcnt.counter 0
PARAM_VALUE 0 sock->file->f_sb_err 0
PARAM_VALUE 0 sock->file->f_wb_err 0
PARAM_VALUE 0 sock->file->private_data 0
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 1 uaddr 323644661675274240
PARAM_VALUE 2 peer 2
BUF_SIZE 0 sock 192
BUF_SIZE 1 uaddr 128
DATA_SOURCE 0 sock r sock_alloc
RX_PATH
TASK_NOT_RUNNING

net/socket.c do_getsockname() -> (struct proto_ops)->getname()

Type Parameter Key Value
PARAM_VALUE 1 uaddr 1952953178822852608
PARAM_VALUE 2 peer 0-1
BUF_SIZE 0 sock s32min-(-2),1-s32max
BUF_SIZE 0 sock s32min-(-2),1-s32max
BUF_SIZE 1 uaddr 128
DATA_SOURCE 0 sock $0
DATA_SOURCE 2 peer $1
RX_PATH
TASK_NOT_RUNNING

net/socket.c kernel_getpeername() -> (struct proto_ops)->getname()

Type Parameter Key Value
PARAM_VALUE 0 sock 1-u64max
PARAM_VALUE 1 uaddr 4096-ptr_max
PARAM_VALUE 2 peer 1
BUF_SIZE 1 uaddr 28,128
BUF_SIZE 1 uaddr 28,128
DATA_SOURCE 0 sock $0
DATA_SOURCE 1 uaddr $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &tcp_sw_conn->sock_lock

net/socket.c kernel_getsockname() -> (struct proto_ops)->getname()

Type Parameter Key Value
PARAM_VALUE 2 peer 0
BUF_SIZE 0 sock s32min-(-1),1-s32max
BUF_SIZE 0 sock s32min-(-1),1-s32max
BUF_SIZE 1 uaddr (-1),12,28,128
BUF_SIZE 1 uaddr (-1),12,28,128
DATA_SOURCE 0 sock $0
DATA_SOURCE 1 uaddr $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_prot_creator->twsk_prot->twsk_slab->sheaf_capacity
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_receive_queue.prev->data_len
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_receive_queue.prev->next->data_len
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_write_queue.next->data_len
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_write_queue.next->prev->data_len
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &queue->queue_lock
HALF_LOCKED2 &sock->recv_mutex
HALF_LOCKED2 &tcp_sw_conn->sock_lock
HALF_LOCKED2 global &nfsd_mutex

security/apparmor/af_inet.c map_sock_addr() -> (struct proto_ops)->getname()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 0 sock->sk 4096-ptr_max
PARAM_VALUE 1 uaddr 976249120417468416,1429330999989207040,3667685118311354368,5558246599895183360,5764797608778117120,6368938073942097920,7231725250024161280,8221726435819053056
PARAM_VALUE 2 peer 0-1
BUF_SIZE 0 sock s32min-(-1),1-s32max
BUF_SIZE 0 sock s32min-(-1),1-s32max
DATA_SOURCE 0 sock $0
FUZZY_MAX 2 peer 1
CONTAINER 0 -56-32+0 $(-1)
HARD_MAX 2 peer 1

security/tomoyo/network.c tomoyo_socket_listen_permission() -> (struct proto_ops)->getname()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 0 sock->sk->__sk_common.skc_family 1-2,10
PARAM_VALUE 0 sock->type 1,5
PARAM_VALUE 1 uaddr 1854798664442691584
PARAM_VALUE 2 peer 0
BUF_SIZE 1 uaddr 128
DATA_SOURCE 0 sock $0
CONTAINER 0 -56-32+0 $(-1)

drivers/infiniband/hw/usnic/usnic_transport.c usnic_transport_sock_get_addr() -> (struct proto_ops)->getname()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 1 uaddr 3231087647395078144
PARAM_VALUE 2 peer 0
BUF_SIZE 0 sock s32min-(-1),1-s32max
BUF_SIZE 0 sock s32min-(-1),1-s32max
DATA_SOURCE 0 sock $0
CONTAINER 0 -56-32+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &us_ibdev->usdev_lock
HALF_LOCKED2 &vf->lock