Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-cache-target.c cache_create() -> passthrough_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->features.io_mode | 0-2 |
| BUF_SIZE | 0 | cache | 2416 |
| BUF_SIZE | 0 | cache->cmd | (-1),1920 |
| CAPPED_DATA | 0 | cache->cache_size | 1 |
| CAPPED_DATA | 0 | cache->sectors_per_block | 1 |
| CAPPED_DATA | 0 | cache->ti->begin | 1 |
| DATA_SOURCE | 0 | cache | r _kzalloc_noprof |
| STR_LEN | 0 | cache->ti->error | 13 |
| TERMINATED | 0 | cache->ti->error | 1 |
| USER_DATA | 0 | cache->migration_threshold | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | cache->origin_sectors | |
| NO_OVERFLOW_SIMPLE | 0 | cache->ti->begin | |
| NO_OVERFLOW_SIMPLE | 0 | cache->ti->len | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-cache-target.c cache_status() -> passthrough_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| BUF_SIZE | 0 | cache | 16,40-s32max |
| BUF_SIZE | 0 | cache | 16,40-s32max |
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-cache-target.c can_resume() -> passthrough_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| BUF_SIZE | 0 | cache | 16,40-s32max |
| BUF_SIZE | 0 | cache | 16,40-s32max |
| DATA_SOURCE | 0 | cache | $0 |
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-cache-target.c emit_flags() -> passthrough_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->features.io_mode | 0,2-u32max |
| BUF_SIZE | 0 | cache | 16,40-s32max |
| BUF_SIZE | 0 | cache | 16,40-s32max |
| DATA_SOURCE | 0 | cache | $0 |
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-cache-target.c load_mapping() -> passthrough_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| BUF_SIZE | 0 | cache | 16,40-s32max |
| BUF_SIZE | 0 | cache | 16,40-s32max |
| DATA_SOURCE | 0 | cache | $0 |
| LOCK2 | &cmd->root_lock | ||
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct dm_cache_metadata)->root_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-cache-target.c map_bio() -> passthrough_mode()
| 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 | |||
| HALF_LOCKED2 | &md->io_barrier |
drivers/md/dm-cache-target.c process_invalidate_cblocks_message() -> passthrough_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| BUF_SIZE | 0 | cache | 16,40-s32max |
| BUF_SIZE | 0 | cache | 16,40-s32max |
| DATA_SOURCE | 0 | cache | $0 |
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-cache-target.c wake_migration_worker() -> passthrough_mode()
| 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 |