Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/md/persistent-data/dm-bitset.c dm_bitset_new() -> dm_array_new()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 1 root 4096-ptr_max
PARAM_VALUE 3 fn 2041524812101251072
PARAM_VALUE 4 context 963203652401127424
BUF_SIZE 4 context 24
CAPPED_DATA 2 size 1
DATA_SOURCE 1 root $1
LOCK2 &cache->background_work_lock
LOCK2 &cmd->root_lock
HALF_LOCKED2 &md->io_barrier
HALF_LOCKED2 &md->suspend_lock
TYPE_LOCK (struct cache)->background_work_lock
TYPE_LOCK (struct dm_cache_metadata)->root_lock
TYPE_LOCK (struct mapped_device)->suspend_lock

drivers/md/dm-cache-metadata.c write_hints() -> dm_array_new()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 1 root 4096-ptr_max
PARAM_VALUE 3 fn 581147086568374272
PARAM_VALUE 4 context 4096-ptr_max
DATA_SOURCE 4 context $1
LOCK2 &cache->background_work_lock
LOCK2 &cmd->root_lock
HALF_LOCKED2 &md->io_barrier
HALF_LOCKED2 &md->suspend_lock
TYPE_LOCK (struct cache)->background_work_lock
TYPE_LOCK (struct dm_cache_metadata)->root_lock
TYPE_LOCK (struct mapped_device)->suspend_lock