Defined in 1 files as a function:
Referenced in 3 files:
- drivers/md/bcache/btree.c, line 2218
- drivers/md/bcache/extents.c
- drivers/md/bcache/request.c, line 572
Smatch caller information:
drivers/md/bcache/request.c cache_lookup_fn() -> bch_cut_back()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | where | 4096-ptr_max |
| PARAM_VALUE | 1 | k | 4096-ptr_max |
| BUF_SIZE | 1 | k | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | b |
drivers/md/bcache/extents.c bch_extent_insert_fixup() -> bch_cut_back()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | where | 4096-ptr_max |
| PARAM_VALUE | 1 | k | 4096-ptr_max |
| CAPPED_DATA | 1 | k | 1 |
| DATA_SOURCE | 1 | k | r bch_btree_iter_next |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &b->write_lock | ||
| HALF_LOCKED2 | &b->io_mutex | ||
| HALF_LOCKED2 | &n->io_mutex | ||
| HALF_LOCKED2 | &n2->io_mutex | ||
| HALF_LOCKED2 | &n2->write_lock | ||
| HALF_LOCKED2 | b | ||
| TYPE_LOCK | (struct btree)->write_lock |
drivers/md/bcache/extents.c bch_extent_sort_fixup() -> bch_cut_back()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | where | 4096-ptr_max |
| DATA_SOURCE | 1 | k | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &b->io_mutex |
drivers/md/bcache/extents.c bch_extent_sort_fixup() -> bch_cut_back()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | where | 4096-ptr_max |
| PARAM_VALUE | 1 | k | 4096-ptr_max |
| CAPPED_DATA | 1 | k | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &b->io_mutex |
drivers/md/bcache/btree.c bch_btree_insert_keys() -> bch_cut_back()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | where | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &b->write_lock | ||
| HALF_LOCKED2 | &n->io_mutex | ||
| HALF_LOCKED2 | &n1->io_mutex | ||
| HALF_LOCKED2 | &n2->io_mutex | ||
| HALF_LOCKED2 | &n2->write_lock | ||
| TYPE_LOCK | (struct btree)->write_lock |