Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/dm-cache-target.c cache_create() -> block_div()

Type Parameter Key Value
PARAM_VALUE 0 b 1-u64max
PARAM_VALUE 1 n 64-2097152
UNITS 1 n unit_byte
HALF_LOCKED2 &md->type_lock

drivers/md/dm-cache-target.c cache_create() -> block_div()

Type Parameter Key Value
PARAM_VALUE 0 b 64-u64max
PARAM_VALUE 1 n 64-2097152
UNITS 0 b unit_byte
UNITS 1 n unit_byte
HALF_LOCKED2 &md->type_lock

drivers/md/dm-cache-target.c calc_discard_block_range() -> block_div()

Type Parameter Key Value
CAPPED_DATA 1 n 1
UNITS 0 b unit_byte
UNITS 1 n unit_byte
HALF_LOCKED2 &pool->lock

drivers/md/dm-cache-target.c oblock_to_dblock() -> block_div()

Type Parameter Key Value
NOSPEC 0 b
NOSPEC 0 b
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 b 0-18446744073709551614
USER_DATA 0 b 0-18446744073709551614
HALF_LOCKED2 &cache->lock
HALF_LOCKED2 irq

drivers/md/dm-cache-target.c oblocks_per_dblock() -> block_div()

Type Parameter Key Value
PARAM_VALUE 0 b 0-u32max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 b unit_byte
UNITS 1 n unit_byte
HALF_LOCKED2 &cache->lock
HALF_LOCKED2 irq