Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-log-writes.c log_one_block() -> dev_to_bio_sectors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lc | 4096-ptr_max |
| PARAM_VALUE | 1 | sectors | 1 |
| BUF_SIZE | 0 | lc | 128 |
| BUF_SIZE | 0 | lc | 128 |
| CAPPED_DATA | 0 | lc->sectorsize | 1 |
| DATA_SOURCE | 0 | lc | $0 |
drivers/md/dm-log-writes.c log_writes_kthread() -> dev_to_bio_sectors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lc | 4096-ptr_max |
| BUF_SIZE | 0 | lc | 128 |
| BUF_SIZE | 0 | lc | 128 |
| CAPPED_DATA | 0 | &lc->logging_blocks | 1 |
| DATA_SOURCE | 0 | lc | $0 |
| PARAM_COMPARE | 0 | &lc->logging_blocks | != $0->logging_blocks.next |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &lc->blocks_lock | |
| TYPE_LOCK | (struct log_writes_c)->blocks_lock |
drivers/md/dm-log-writes.c log_writes_kthread() -> dev_to_bio_sectors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lc | 4096-ptr_max |
| PARAM_VALUE | 1 | sectors | 1 |
| BUF_SIZE | 0 | lc | 128 |
| BUF_SIZE | 0 | lc | 128 |
| CAPPED_DATA | 0 | &lc->logging_blocks | 1 |
| DATA_SOURCE | 0 | lc | $0 |
| PARAM_COMPARE | 0 | &lc->logging_blocks | != $0->logging_blocks.next |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &lc->blocks_lock | |
| TYPE_LOCK | (struct log_writes_c)->blocks_lock |