Defined in 3 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/md/dm-cache-target.c get_bio_block() -> block_size_is_power_of_two()

Type Parameter Key Value
BUF_SIZE 0 cache (-1),16,40-s32max
BUF_SIZE 0 cache (-1),16,40-s32max
DATA_SOURCE 0 cache $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &md->io_barrier

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

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
BUF_SIZE 0 cache (-1),16,40-s32max
BUF_SIZE 0 cache (-1),16,40-s32max
DATA_SOURCE 0 cache $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 irq
HALF_LOCKED2 0 &cache->lock

drivers/md/dm-cache-target.c remap_to_cache() -> block_size_is_power_of_two()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
BUF_SIZE 0 cache (-1),16,40-s32max
BUF_SIZE 0 cache (-1),16,40-s32max
DATA_SOURCE 0 cache $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 cache->bs.bio_slab->object_size

drivers/md/dm-era-target.c get_block() -> block_size_is_power_of_two()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
BUF_SIZE 0 cache (-1),16,40-s32max
BUF_SIZE 0 cache (-1),16,40-s32max
DATA_SOURCE 0 cache $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 cache->md->bitset_info.array_info.btree_info.tm->real->bm->bufio->block_size
NO_OVERFLOW_SIMPLE 0 cache->md->bm->bufio->slab_buffer->object_size
HALF_LOCKED2 &md->io_barrier

drivers/md/dm-thin.c block_to_sectors() -> block_size_is_power_of_two()

Type Parameter Key Value
DATA_SOURCE 0 cache $0
HALF_LOCKED2 &pool->lock

drivers/md/dm-thin.c get_bio_block() -> block_size_is_power_of_two()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &md->io_barrier
HALF_LOCKED2 &pool->lock

drivers/md/dm-thin.c get_bio_block_range() -> block_size_is_power_of_two()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
LOCK2 &pool->lock

drivers/md/dm-thin.c remap() -> block_size_is_power_of_two()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &md->io_barrier