Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/infiniband/core/sysfs.c hw_stat_device_store() -> (struct hw_stats_device_attribute)->store()

Type Parameter Key Value
PARAM_VALUE 0 ibdev 4096-ptr_max
PARAM_VALUE 0 ibdev->hw_stats_data 4096-ptr_max
PARAM_VALUE 3 port_num 0
PARAM_VALUE 4 buf 4096-ptr_max
PARAM_VALUE 5 count 1-1000000000
CAPPED_DATA 5 count 1
CAPPED_DATA 5 count 1
DATA_SOURCE 4 buf $2
DATA_SOURCE 5 count $3
NOSPEC 5 count
RX_PATH
TASK_NOT_RUNNING
ELEM_LAST 4 ==buf5 8052
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/infiniband/core/sysfs.c hw_stat_port_store() -> (struct hw_stats_port_attribute)->store()

Type Parameter Key Value
PARAM_VALUE 0 ibdev 4096-ptr_max
PARAM_VALUE 0 ibdev->port_data 4096-ptr_max
PARAM_VALUE 4 buf 4096-ptr_max
PARAM_VALUE 5 count 1-1000000000
CAPPED_DATA 5 count 1
CAPPED_DATA 5 count 1
DATA_SOURCE 0 ibdev $0
DATA_SOURCE 4 buf $3
DATA_SOURCE 5 count $4
NOSPEC 5 count
RX_PATH
TASK_NOT_RUNNING
ELEM_LAST 4 ==buf5 8052
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex