Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/dm-ima.c dm_ima_alloc_context() -> dm_ima_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 560
DATA_SOURCE 1 noio $1
UNITS 0 len unit_byte

drivers/md/dm-ima.c dm_ima_measure_on_device_remove() -> dm_ima_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 2048
PARAM_VALUE 1 noio 1

drivers/md/dm-ima.c dm_ima_measure_on_device_rename() -> dm_ima_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 2048
PARAM_VALUE 1 noio 1

drivers/md/dm-ima.c dm_ima_measure_on_device_resume() -> dm_ima_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 1024
PARAM_VALUE 1 noio 1

drivers/md/dm-ima.c dm_ima_measure_on_table_clear() -> dm_ima_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 1024
PARAM_VALUE 1 noio 1

drivers/md/dm-ima.c dm_ima_measure_on_table_load() -> dm_ima_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 4096
PARAM_VALUE 1 noio 0
LOCK2 &md->io_barrier
TYPE_LOCK (struct mapped_device)->io_barrier

drivers/md/dm-ima.c dm_ima_measure_on_table_load() -> dm_ima_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 128
PARAM_VALUE 1 noio 0
LOCK2 &md->io_barrier
TYPE_LOCK (struct mapped_device)->io_barrier

drivers/md/dm-ima.c dm_ima_measure_on_table_load() -> dm_ima_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 2048
PARAM_VALUE 1 noio 0
LOCK2 &md->io_barrier
TYPE_LOCK (struct mapped_device)->io_barrier

drivers/md/dm-ima.c dm_ima_measure_on_table_load() -> dm_ima_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 1024
PARAM_VALUE 1 noio 0
LOCK2 &md->io_barrier
TYPE_LOCK (struct mapped_device)->io_barrier