Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-cache-target.c cache_create() -> writethrough_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 |
| 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 |
| 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() -> writethrough_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 emit_flags() -> writethrough_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 map_bio() -> writethrough_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->features.io_mode | 0-1,3-u32max |
| 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 |