Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/bcache/bset.c bch_bset_build_unwritten_tree() -> bkey_to_cacheline_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->data | 4096-ptr_max |
| PARAM_VALUE | 1 | cacheline | 0 |
| DATA_SOURCE | 0 | t | r bset_tree_last |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &c->bucket_lock |
drivers/md/bcache/bset.c bch_bset_build_written_tree() -> bkey_to_cacheline_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->data | 4096-ptr_max |
| PARAM_VALUE | 1 | cacheline | 1-u32max |
| CAPPED_DATA | 0 | t->size | 1 |
| DATA_SOURCE | 0 | t | r bset_tree_last |
| BIT_INFO | 0 | t->extra | 0x0,0xfffffffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &b->io_mutex |
drivers/md/bcache/bset.c bch_bset_fix_lookup_table() -> bkey_to_cacheline_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->data | 4096-ptr_max |
| PARAM_VALUE | 1 | cacheline | 0-4294967294 |
| CAPPED_DATA | 0 | t->size | 1 |
| CAPPED_DATA | 1 | cacheline | 1 |
| DATA_SOURCE | 0 | t | $1 |
| DATA_SOURCE | 2 | k | $2 [m] |
| PARAM_COMPARE | 1 | cacheline | < $0->size |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &b->write_lock | ||
| HALF_LOCKED2 | &b->io_mutex | ||
| HALF_LOCKED2 | &n->io_mutex | ||
| HALF_LOCKED2 | &n1->io_mutex | ||
| HALF_LOCKED2 | &n2->io_mutex | ||
| HALF_LOCKED2 | &n2->write_lock | ||
| HALF_LOCKED2 | b | ||
| TYPE_LOCK | (struct btree)->write_lock |
drivers/md/bcache/bset.c bch_bset_fix_lookup_table() -> bkey_to_cacheline_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->data | 4096-ptr_max |
| PARAM_VALUE | 1 | cacheline | 1-u32max |
| CAPPED_DATA | 0 | t->size | 1 |
| CAPPED_DATA | 1 | cacheline | 1 |
| DATA_SOURCE | 0 | t | $1 |
| DATA_SOURCE | 2 | k | $2 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &b->write_lock | ||
| HALF_LOCKED2 | &b->io_mutex | ||
| HALF_LOCKED2 | &n->io_mutex | ||
| HALF_LOCKED2 | &n1->io_mutex | ||
| HALF_LOCKED2 | &n2->io_mutex | ||
| HALF_LOCKED2 | &n2->write_lock | ||
| HALF_LOCKED2 | b | ||
| TYPE_LOCK | (struct btree)->write_lock |