Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/md/bcache/writeback.c bcache_dev_sectors_dirty_add() -> offset_to_stripe()

Type Parameter Key Value
PARAM_VALUE 0 d 1-u64max
DATA_SOURCE 1 offset $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &b->write_lock
HALF_LOCKED2 b

drivers/md/bcache/writeback.c refill_full_stripes() -> offset_to_stripe()

Type Parameter Key Value
PARAM_VALUE 0 d 4096-ptr_max
LOCK2 &dc->writeback_lock
TYPE_LOCK (struct cached_dev)->writeback_lock

drivers/md/bcache/request.c bcache_dev_stripe_dirty() -> offset_to_stripe()

Type Parameter Key Value
PARAM_VALUE 0 d 4096-ptr_max
PARAM_VALUE 0 d->c 4096-ptr_max
DATA_SOURCE 1 offset $1
UNITS 1 offset unit_byte