Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/bcache/journal.c bch_journal_read() -> journal_read_bucket()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ca | 4096-ptr_max |
| PARAM_VALUE | 0 | ca->sb.njournal_buckets | 1-u16max |
| PARAM_VALUE | 0 | ca->set | 4096-ptr_max |
| PARAM_VALUE | 1 | list | 5619539636772356096 |
| PARAM_VALUE | 1 | list->next | 5619539636772356096 |
| PARAM_VALUE | 1 | list->prev | 5619539636772356096 |
| PARAM_VALUE | 2 | bucket_index | 0-65534 |
| CAPPED_DATA | 2 | bucket_index | 1 |
| DATA_SOURCE | 1 | list | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ca | unit_byte |
| LOCK2 | global &bch_register_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/md/bcache/journal.c bch_journal_read() -> journal_read_bucket()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ca | 4096-ptr_max |
| PARAM_VALUE | 0 | ca->sb.njournal_buckets | 1-u16max |
| PARAM_VALUE | 0 | ca->set | 4096-ptr_max |
| PARAM_VALUE | 1 | list | 5619539636772356096 |
| PARAM_VALUE | 1 | list->next | 5619539636772356096 |
| PARAM_VALUE | 1 | list->prev | 5619539636772356096 |
| PARAM_VALUE | 2 | bucket_index | 0-64 |
| CAPPED_DATA | 0 | ca->sb.njournal_buckets | 1 |
| CAPPED_DATA | 2 | bucket_index | 1 |
| DATA_SOURCE | 1 | list | $1 |
| DATA_SOURCE | 2 | bucket_index | r find_next_zero_bit |
| PARAM_COMPARE | 0 | ca->sb.njournal_buckets | > $2 |
| PARAM_COMPARE | 2 | bucket_index | < $0->sb.njournal_buckets |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ca | unit_byte |
| LOCK2 | global &bch_register_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/md/bcache/journal.c bch_journal_read() -> journal_read_bucket()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ca | 4096-ptr_max |
| PARAM_VALUE | 0 | ca->set | 4096-ptr_max |
| PARAM_VALUE | 1 | list | 5619539636772356096 |
| PARAM_VALUE | 1 | list->next | 5619539636772356096 |
| PARAM_VALUE | 1 | list->prev | 5619539636772356096 |
| PARAM_VALUE | 2 | bucket_index | 1-49166 |
| CAPPED_DATA | 0 | ca->sb.njournal_buckets | 1 |
| CAPPED_DATA | 2 | bucket_index | 1 |
| DATA_SOURCE | 1 | list | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ca | unit_byte |
| LOCK2 | global &bch_register_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/md/bcache/journal.c bch_journal_read() -> journal_read_bucket()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ca | 4096-ptr_max |
| PARAM_VALUE | 0 | ca->set | 4096-ptr_max |
| PARAM_VALUE | 1 | list | 5619539636772356096 |
| PARAM_VALUE | 1 | list->next | 5619539636772356096 |
| PARAM_VALUE | 1 | list->prev | 5619539636772356096 |
| PARAM_VALUE | 2 | bucket_index | 0-65534,u32max |
| CAPPED_DATA | 0 | ca->sb.njournal_buckets | 1 |
| DATA_SOURCE | 1 | list | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ca | unit_byte |
| LOCK2 | global &bch_register_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |