Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/bridge/br_sysfs_if.c show_designated_bridge() -> br_show_bridge_id()

Type Parameter Key Value
PARAM_VALUE 0 buf 1-u64max
PARAM_VALUE 1 id 4096-ptr_max
CAPPED_DATA 0 buf 1
DATA_SOURCE 0 buf $1
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/bridge/br_sysfs_if.c show_designated_root() -> br_show_bridge_id()

Type Parameter Key Value
PARAM_VALUE 0 buf 1-u64max
PARAM_VALUE 1 id 4096-ptr_max
CAPPED_DATA 0 buf 1
DATA_SOURCE 0 buf $1
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/bridge/br_sysfs_br.c bridge_id_show() -> br_show_bridge_id()

Type Parameter Key Value
PARAM_VALUE 0 buf 1-u64max
PARAM_VALUE 1 id 4096-ptr_max
CAPPED_DATA 0 buf 1
DATA_SOURCE 0 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/bridge/br_sysfs_br.c root_id_show() -> br_show_bridge_id()

Type Parameter Key Value
PARAM_VALUE 0 buf 1-u64max
PARAM_VALUE 1 id 4096-ptr_max
CAPPED_DATA 0 buf 1
DATA_SOURCE 0 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