Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/memstick/core/ms_block.c msb_cache_read() -> msb_cache_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msb | 4096-ptr_max |
| PARAM_VALUE | 0 | msb->lba_to_pba_table | 4096-ptr_max |
| PARAM_VALUE | 0 | msb->need_flush_cache | 0 |
| PARAM_VALUE | 0 | msb->q_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | msb->regs.param.cp | 0,32,64,128 |
| PARAM_VALUE | 0 | msb->req | 4096-ptr_max |
| PARAM_VALUE | 3 | add_to_cache_only | 1 |
| PARAM_VALUE | 5 | offset | 0-2147483646 |
| BUF_SIZE | 4 | sg | 1056 |
| BUF_SIZE | 4 | sg | 1056 |
| CAPPED_DATA | 5 | offset | 1 |
| DATA_SOURCE | 0 | msb | $0 |
| DATA_SOURCE | 1 | lba | $1 |
| DATA_SOURCE | 2 | page | $2 |
| DATA_SOURCE | 4 | sg | $3 |
| DATA_SOURCE | 5 | offset | $4 |
| NOCHECK_CALL | |||
| UNITS | 1 | lba | unit_byte |
| UNITS | 2 | page | unit_array_size |
| UNITS | 5 | offset | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/memstick/core/ms_block.c msb_do_write_request() -> msb_cache_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msb | 4096-ptr_max |
| PARAM_VALUE | 0 | msb->need_flush_cache | 0 |
| PARAM_VALUE | 0 | msb->q_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | msb->req | 4096-ptr_max |
| PARAM_VALUE | 3 | add_to_cache_only | 0 |
| BUF_SIZE | 4 | sg | 1056 |
| BUF_SIZE | 4 | sg | 1056 |
| CAPPED_DATA | 5 | offset | 1 |
| DATA_SOURCE | 0 | msb | $0 |
| DATA_SOURCE | 1 | lba | $1 [m] |
| DATA_SOURCE | 2 | page | $2 [m] |
| DATA_SOURCE | 4 | sg | $3 |
| UNITS | 1 | lba | unit_byte |
| UNITS | 2 | page | unit_array_size |
| HALF_LOCKED2 | &pool->lock |