Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

net/core/net-sysfs.c addr_assign_type_show() -> netdev_show()

Type Parameter Key Value
PARAM_VALUE 1 v 7886974281182670848
PARAM_VALUE 1 v->attr 3465677313313456128
PARAM_VALUE 1 v->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 format 297031304906858496
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 seq $0
DATA_SOURCE 1 v $1
DATA_SOURCE 2 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

net/core/net-sysfs.c addr_len_show() -> netdev_show()

Type Parameter Key Value
PARAM_VALUE 1 v 2857912564737409024
PARAM_VALUE 1 v->attr 298238467709460480
PARAM_VALUE 1 v->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 format 5154079460890615808
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 seq $0
DATA_SOURCE 1 v $1
DATA_SOURCE 2 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

net/core/net-sysfs.c dev_id_show() -> netdev_show()

Type Parameter Key Value
PARAM_VALUE 1 v 4662186745819471872
PARAM_VALUE 1 v->attr 2744485604664631296
PARAM_VALUE 1 v->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 format 6860486661365678080
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 seq $0
DATA_SOURCE 1 v $1
DATA_SOURCE 2 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

net/core/net-sysfs.c dev_port_show() -> netdev_show()

Type Parameter Key Value
PARAM_VALUE 1 v 1807842150461947904
PARAM_VALUE 1 v->attr 1365843278449852416
PARAM_VALUE 1 v->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 format 7557445622916165632
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 seq $0
DATA_SOURCE 1 v $1
DATA_SOURCE 2 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

net/core/net-sysfs.c flags_show() -> netdev_show()

Type Parameter Key Value
PARAM_VALUE 1 v 6677291923667447808
PARAM_VALUE 1 v->attr 5494874919080833024
PARAM_VALUE 1 v->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 format 3107201007160266752
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 seq $0
DATA_SOURCE 1 v $1
DATA_SOURCE 2 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

net/core/net-sysfs.c gro_flush_timeout_show() -> netdev_show()

Type Parameter Key Value
PARAM_VALUE 1 v 6085477508459569152
PARAM_VALUE 1 v->attr 8209294611094953984
PARAM_VALUE 1 v->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 format 9094286610844344320
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 seq $0
DATA_SOURCE 1 v $1
DATA_SOURCE 2 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

net/core/net-sysfs.c group_show() -> netdev_show()

Type Parameter Key Value
PARAM_VALUE 1 v 3538117481299468288
PARAM_VALUE 1 v->attr 9049966198608633856
PARAM_VALUE 1 v->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 format 3921320058351865856
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 seq $0
DATA_SOURCE 1 v $1
DATA_SOURCE 2 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

net/core/net-sysfs.c ifindex_show() -> netdev_show()

Type Parameter Key Value
PARAM_VALUE 1 v 2003481815071076352
PARAM_VALUE 1 v->attr 8887194878772129792
PARAM_VALUE 1 v->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 format 7121066499961475072
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 seq $0
DATA_SOURCE 1 v $1
DATA_SOURCE 2 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

net/core/net-sysfs.c link_mode_show() -> netdev_show()

Type Parameter Key Value
PARAM_VALUE 1 v 8098866715179044864
PARAM_VALUE 1 v->attr 6563419823843749888
PARAM_VALUE 1 v->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 format 1778522320403619840
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 seq $0
DATA_SOURCE 1 v $1
DATA_SOURCE 2 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

net/core/net-sysfs.c mtu_show() -> netdev_show()

Type Parameter Key Value
PARAM_VALUE 1 v 2371781192792326144
PARAM_VALUE 1 v->attr 1294926603174891520
PARAM_VALUE 1 v->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 format 4732113504760471552
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 seq $0
DATA_SOURCE 1 v $1
DATA_SOURCE 2 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

net/core/net-sysfs.c name_assign_type_show() -> netdev_show()

Type Parameter Key Value
PARAM_VALUE 1 v 8406236403432456192
PARAM_VALUE 1 v->attr 4444880257301155840
PARAM_VALUE 1 v->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 format 7768616662097707008
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 seq $0
DATA_SOURCE 1 v $1
DATA_SOURCE 2 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

net/core/net-sysfs.c napi_defer_hard_irqs_show() -> netdev_show()

Type Parameter Key Value
PARAM_VALUE 1 v 4014475251314683904
PARAM_VALUE 1 v->attr 3076943584698949632
PARAM_VALUE 1 v->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 format 5710208992108314624
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 seq $0
DATA_SOURCE 1 v $1
DATA_SOURCE 2 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

net/core/net-sysfs.c proto_down_show() -> netdev_show()

Type Parameter Key Value
PARAM_VALUE 1 v 1173562007451168768
PARAM_VALUE 1 v->attr 2324257956928114688
PARAM_VALUE 1 v->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 format 1922123045523013632
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 seq $0
DATA_SOURCE 1 v $1
DATA_SOURCE 2 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

net/core/net-sysfs.c tx_queue_len_show() -> netdev_show()

Type Parameter Key Value
PARAM_VALUE 1 v 2299158523520466944
PARAM_VALUE 1 v->attr 1728077716683161600
PARAM_VALUE 1 v->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 format 7702287885994340352
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 seq $0
DATA_SOURCE 1 v $1
DATA_SOURCE 2 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

net/core/net-sysfs.c type_show() -> netdev_show()

Type Parameter Key Value
PARAM_VALUE 1 v 1667807203012739072
PARAM_VALUE 1 v->attr 6570699494095450112
PARAM_VALUE 1 v->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 format 5831707386313277440
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 seq $0
DATA_SOURCE 1 v $1
DATA_SOURCE 2 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

kernel/bpf/bpf_iter.c bpf_seq_read() -> (struct seq_operations)->show()

Type Parameter Key Value
PARAM_VALUE 0 seq 4096-ptr_max
PARAM_VALUE 0 seq->buf 1-u64max
PARAM_VALUE 0 seq->count 0
PARAM_VALUE 0 seq->from 0
PARAM_VALUE 0 seq->lock.dep_map->name 0-255
PARAM_VALUE 0 seq->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 seq->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 seq->lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 seq->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 seq->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 seq->lock.wait_lock.owner (-1)
PARAM_VALUE 0 seq->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 seq->op 4096-ptr_max
PARAM_VALUE 1 v 1-ptr_max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq->buf 32768,u64max
CAPPED_DATA 0 &seq->lock 1
CONTAINER 0 -24-208+0 $(-1)
LOCK2 0 &seq->lock
TYPE_LOCK (struct seq_file)->lock

kernel/bpf/bpf_iter.c bpf_seq_read() -> (struct seq_operations)->show()

Type Parameter Key Value
PARAM_VALUE 0 seq 4096-ptr_max
PARAM_VALUE 0 seq->buf 1-u64max
PARAM_VALUE 0 seq->count 0
PARAM_VALUE 0 seq->from 0
PARAM_VALUE 0 seq->lock.dep_map->name 0-255
PARAM_VALUE 0 seq->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 seq->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 seq->lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 seq->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 seq->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 seq->lock.wait_lock.owner (-1)
PARAM_VALUE 0 seq->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 seq->op 4096-ptr_max
PARAM_VALUE 1 v 1-ptr_max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq->buf 32768,u64max
CAPPED_DATA 0 &seq->lock 1
CONTAINER 0 -24-208+0 $(-1)
PARAM_COMPARE 0 seq->count <= $0->size
LOCK2 0 &seq->lock
TYPE_LOCK (struct seq_file)->lock

fs/seq_file.c seq_read_iter() -> (struct seq_operations)->show()

Type Parameter Key Value
PARAM_VALUE 0 seq 4096-ptr_max
PARAM_VALUE 0 seq->buf 1-u64max
PARAM_VALUE 0 seq->count 0
PARAM_VALUE 0 seq->from 0
PARAM_VALUE 0 seq->lock.dep_map->name 0-255
PARAM_VALUE 0 seq->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 seq->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 seq->lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 seq->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 seq->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 seq->lock.wait_lock.owner (-1)
PARAM_VALUE 0 seq->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 seq->op 4096-ptr_max
PARAM_VALUE 1 v 1-ptr_max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq->buf (-1)-2147479552
CAPPED_DATA 0 &seq->lock 1
CONTAINER 0 -24-208+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 seq->read_pos 0-13442450941[c]
LOCK2 0 &seq->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct seq_file)->lock

fs/seq_file.c seq_read_iter() -> (struct seq_operations)->show()

Type Parameter Key Value
PARAM_VALUE 0 seq 4096-ptr_max
PARAM_VALUE 0 seq->buf 1-u64max
PARAM_VALUE 0 seq->count 0-999999999
PARAM_VALUE 0 seq->from 0
PARAM_VALUE 0 seq->lock.dep_map->name 0-255
PARAM_VALUE 0 seq->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 seq->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 seq->lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 seq->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 seq->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 seq->lock.wait_lock.owner (-1)
PARAM_VALUE 0 seq->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 seq->op 4096-ptr_max
PARAM_VALUE 1 v 1-ptr_max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq->buf (-1)-2147479552
CAPPED_DATA 0 seq->count 1
CAPPED_DATA 0 &seq->lock 1
CONTAINER 0 -24-208+0 $(-1)
PARAM_COMPARE 0 seq->count != $0->size
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 seq->read_pos 0-13442450941[c]
LOCK2 0 &seq->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct seq_file)->lock

fs/seq_file.c traverse() -> (struct seq_operations)->show()

Type Parameter Key Value
PARAM_VALUE 0 seq 4096-ptr_max
PARAM_VALUE 0 seq->buf 1-u64max
PARAM_VALUE 0 seq->count 0
PARAM_VALUE 0 seq->from 0
PARAM_VALUE 0 seq->index 0
PARAM_VALUE 0 seq->lock.dep_map->name 0-255
PARAM_VALUE 0 seq->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 seq->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 seq->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 seq->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 seq->lock.wait_lock.owner (-1)
PARAM_VALUE 0 seq->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 seq->op 4096-ptr_max
PARAM_VALUE 1 v 1-ptr_max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq s32min-(-2),1-s32max
BUF_SIZE 0 seq->buf (-1)-2147479552
DATA_SOURCE 0 seq $0
CONTAINER 0 -24-208+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &seq->lock
TYPE_LOCK (struct seq_file)->lock