Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

kernel/time/clockevents.c unbind_device_store() -> sysfs_get_uname()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 dst 4449330282569863168
PARAM_VALUE 2 cnt 1-1000000000
BUF_SIZE 1 dst 32
CAPPED_DATA 2 cnt 1
CAPPED_DATA 2 cnt 1
DATA_SOURCE 0 buf $2
DATA_SOURCE 2 cnt $3
NOSPEC 2 cnt
RX_PATH
TASK_NOT_RUNNING
ELEM_LAST 0 ==buf2 8052
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

kernel/time/clocksource.c current_clocksource_store() -> sysfs_get_uname()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 dst 3476206606304468992
PARAM_VALUE 2 cnt 1-1000000000
BUF_SIZE 1 dst 32
CAPPED_DATA 2 cnt 1
CAPPED_DATA 2 cnt 1
DATA_SOURCE 0 buf $2
DATA_SOURCE 2 cnt $3
NOSPEC 2 cnt
RX_PATH
TASK_NOT_RUNNING
ELEM_LAST 0 ==buf2 8052
LOCK2 &of->mutex
LOCK2 global &clocksource_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

kernel/time/clocksource.c unbind_clocksource_store() -> sysfs_get_uname()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 dst 6948636925333098496
PARAM_VALUE 2 cnt 1-1000000000
BUF_SIZE 1 dst 32
CAPPED_DATA 2 cnt 1
CAPPED_DATA 2 cnt 1
DATA_SOURCE 0 buf $2
DATA_SOURCE 2 cnt $3
NOSPEC 2 cnt
RX_PATH
TASK_NOT_RUNNING
ELEM_LAST 0 ==buf2 8052
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex