Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/md/md.c set_in_sync() -> percpu_ref_switch_to_atomic_sync()

Type Parameter Key Value
PARAM_VALUE 0 ref 4096-ptr_max
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &mddev->reconfig_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

block/blk-pm.c blk_pre_runtime_suspend() -> percpu_ref_switch_to_atomic_sync()

Type Parameter Key Value
PARAM_VALUE 0 ref 4096-ptr_max
PARAM_VALUE 0 ref->data 0,4096-ptr_max
PARAM_VALUE 0 ref->percpu_count_ptr 1-u64max
NOCHECK_CALL