Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/bcache/bset.c bch_bset_fix_invalidated_key() -> tree_to_bkey()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->data | 4096-ptr_max |
| PARAM_VALUE | 0 | t->size | 2-u32max |
| PARAM_VALUE | 1 | j | 1-4294967294 |
| BUF_SIZE | 0 | t | (-1),192 |
| BUF_SIZE | 0 | t | (-1),192 |
| CAPPED_DATA | 0 | t | 1 |
| CAPPED_DATA | 1 | j | 1 |
| DATA_SOURCE | 1 | j | r inorder_to_tree |
| PARAM_COMPARE | 1 | j | < $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 bset_search_tree() -> tree_to_bkey()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->data | 4096-ptr_max |
| PARAM_VALUE | 0 | t->size | 1-u32max |
| PARAM_VALUE | 0 | t->tree | 4096-ptr_max |
| PARAM_VALUE | 1 | j | 1-3 |
| BUF_SIZE | 0 | t | (-1),192 |
| BUF_SIZE | 0 | t | (-1),192 |
| CAPPED_DATA | 0 | t | 1 |
| CAPPED_DATA | 0 | t->size | 1 |
| CAPPED_DATA | 1 | j | 1 |
| DATA_SOURCE | 0 | t | $0 |
| PARAM_COMPARE | 1 | j | <= $0->size |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &b->write_lock | ||
| HALF_LOCKED2 | b |
drivers/md/bcache/bset.c make_bfloat() -> tree_to_bkey()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->data | 4096-ptr_max |
| PARAM_VALUE | 0 | t->size | 1-u32max |
| PARAM_VALUE | 0 | t->tree | 4096-ptr_max |
| PARAM_VALUE | 1 | j | 0-4294967294 |
| BUF_SIZE | 0 | t | (-1),192 |
| BUF_SIZE | 0 | t | (-1),192 |
| CAPPED_DATA | 0 | t | 1 |
| CAPPED_DATA | 0 | t->size | 1 |
| CAPPED_DATA | 1 | j | 1 |
| DATA_SOURCE | 0 | t | $0 |
| DATA_SOURCE | 1 | j | $1 |
| FUZZY_MAX | 1 | j | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &b->io_mutex | ||
| HALF_LOCKED2 | &b->write_lock |
drivers/md/bcache/bset.c make_bfloat() -> tree_to_bkey()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->data | 4096-ptr_max |
| PARAM_VALUE | 0 | t->size | 1-u32max |
| PARAM_VALUE | 0 | t->tree | 4096-ptr_max |
| BUF_SIZE | 0 | t | (-1),192 |
| BUF_SIZE | 0 | t | (-1),192 |
| CAPPED_DATA | 0 | t | 1 |
| CAPPED_DATA | 0 | t->size | 1 |
| DATA_SOURCE | 0 | t | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &b->io_mutex | ||
| HALF_LOCKED2 | &b->write_lock |
drivers/md/bcache/bset.c tree_to_prev_bkey() -> tree_to_bkey()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->data | 4096-ptr_max |
| PARAM_VALUE | 0 | t->size | 1-u32max |
| BUF_SIZE | 0 | t | (-1),192 |
| BUF_SIZE | 0 | t | (-1),192 |
| CAPPED_DATA | 0 | t | 1 |
| CAPPED_DATA | 0 | t->size | 1 |
| DATA_SOURCE | 0 | t | $0 |
| DATA_SOURCE | 1 | j | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &b->write_lock |