Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/md/bcache/btree.c bch_btree_insert_node() -> bch_btree_node_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 0 | b->c | 4096-ptr_max |
| PARAM_VALUE | 0 | b->c->cache | 4096-ptr_max |
| PARAM_VALUE | 0 | b->io_mutex.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | b->keys.expensive_debug_checks | 4096-ptr_max |
| PARAM_VALUE | 0 | b->keys.ops | 4096-ptr_max |
| PARAM_VALUE | 0 | b->keys.ops->insert_fixup | 3359186278354853888,8738410596996493312 |
| PARAM_VALUE | 0 | b->keys.ops->key_bad | 2053114610689146880,2965826758702149632 |
| PARAM_VALUE | 0 | b->keys.ops->key_dump | 5824308303565893632 |
| PARAM_VALUE | 0 | b->keys.ops->key_invalid | 5042869928339255296,8931906019736064000 |
| PARAM_VALUE | 0 | b->keys.ops->key_merge | 0,8943847820907044864 |
| PARAM_VALUE | 0 | b->keys.ops->key_to_text | 6644520337947410432 |
| PARAM_VALUE | 0 | b->keys.ops->sort_cmp | 127698777507876864,850943255651803136 |
| PARAM_VALUE | 0 | b->keys.ops->sort_fixup | 0,8945762327650275328 |
| PARAM_VALUE | 0 | b->keys.page_order | 0-63,255 |
| PARAM_VALUE | 0 | b->keys.set | 4096-u64max |
| PARAM_VALUE | 0 | b->level | 1-255 |
| PARAM_VALUE | 0 | b->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | b->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | b->write_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->write_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | b->write_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | b->write_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | parent | 8932705337623248896 |
| PARAM_VALUE | 1 | parent->all.next | 0 |
| PARAM_VALUE | 1 | parent->all.prev | 0 |
| PARAM_VALUE | 1 | parent->fn | 0 |
| PARAM_VALUE | 1 | parent->ip | 0 |
| PARAM_VALUE | 1 | parent->magic | 3226751436 |
| PARAM_VALUE | 1 | parent->parent | 0 |
| PARAM_VALUE | 1 | parent->remaining.counter | 1073741825 |
| PARAM_VALUE | 1 | parent->s | 0 |
| PARAM_VALUE | 1 | parent->wq | 0 |
| CAPPED_DATA | 0 | b->keys.page_order | 1 |
| CAPPED_DATA | 0 | &b->write_lock | 1 |
| DATA_SOURCE | 0 | b | $0 |
| MEM_ZERO | 1 | parent | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | b->c->bio_meta.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | b->c->bio_split.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | b->c->bio_split.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | b->c->fill_iter.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | b->c->nr_uuids | |
| NO_OVERFLOW_SIMPLE | 0 | b->c->search.min_nr | |
| LOCK2 | 0 | &b->write_lock | |
| HALF_LOCKED2 | &n->io_mutex | ||
| HALF_LOCKED2 | 0 | b | |
| HALF_LOCKED2 | 0 | &b->io_mutex | |
| TYPE_LOCK | (struct btree)->write_lock |
drivers/md/bcache/btree.c bch_btree_leaf_dirty() -> bch_btree_node_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 0 | b->c | 4096-ptr_max |
| PARAM_VALUE | 0 | b->c->cache | 4096-ptr_max |
| PARAM_VALUE | 0 | b->io.s->done | 0-1 |
| PARAM_VALUE | 0 | b->io_mutex.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | b->keys.expensive_debug_checks | 4096-ptr_max |
| PARAM_VALUE | 0 | b->keys.ops | 4096-ptr_max |
| PARAM_VALUE | 0 | b->keys.ops->insert_fixup | 3359186278354853888,8738410596996493312 |
| PARAM_VALUE | 0 | b->keys.ops->key_bad | 2053114610689146880,2965826758702149632 |
| PARAM_VALUE | 0 | b->keys.ops->key_dump | 5824308303565893632 |
| PARAM_VALUE | 0 | b->keys.ops->key_invalid | 5042869928339255296,8931906019736064000 |
| PARAM_VALUE | 0 | b->keys.ops->key_merge | 0,8943847820907044864 |
| PARAM_VALUE | 0 | b->keys.ops->key_to_text | 6644520337947410432 |
| PARAM_VALUE | 0 | b->keys.ops->sort_cmp | 127698777507876864,850943255651803136 |
| PARAM_VALUE | 0 | b->keys.ops->sort_fixup | 0,8945762327650275328 |
| PARAM_VALUE | 0 | b->keys.page_order | 0-63,255 |
| PARAM_VALUE | 0 | b->keys.set | 4096-u64max |
| PARAM_VALUE | 0 | b->level | 0 |
| PARAM_VALUE | 0 | b->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | b->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | b->write_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->write_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | b->write_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | b->write_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | b->written | 1-u16max |
| PARAM_VALUE | 1 | parent | 0 |
| CAPPED_DATA | 0 | b->keys.page_order | 1 |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | b->c->bio_meta.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | b->c->bio_split.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | b->c->bio_split.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | b->c->fill_iter.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | b->c->nr_uuids | |
| NO_OVERFLOW_SIMPLE | 0 | b->c->search.min_nr | |
| LOCK2 | 0 | &b->write_lock | |
| HALF_LOCKED2 | &n1->io_mutex | ||
| HALF_LOCKED2 | 0 | b | |
| HALF_LOCKED2 | 0 | &b->io_mutex | |
| TYPE_LOCK | (struct btree)->write_lock |
drivers/md/bcache/btree.c bch_btree_node_write_sync() -> bch_btree_node_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 0 | b->keys.set->data->keys | 0-4294967295 |
| PARAM_VALUE | 0 | b->keys.set->size | 0 |
| PARAM_VALUE | 0 | b->write_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->write_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | b->write_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | b->write_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->write_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | b->write_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | b->write_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | b->write_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | b->write_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | parent | 8305845582910631936 |
| PARAM_VALUE | 1 | parent->all.next | 0 |
| PARAM_VALUE | 1 | parent->all.prev | 0 |
| PARAM_VALUE | 1 | parent->fn | 0 |
| PARAM_VALUE | 1 | parent->ip | 0 |
| PARAM_VALUE | 1 | parent->magic | 3226751436 |
| PARAM_VALUE | 1 | parent->parent | 0 |
| PARAM_VALUE | 1 | parent->remaining.counter | 1073741825 |
| PARAM_VALUE | 1 | parent->s | 0 |
| PARAM_VALUE | 1 | parent->wq | 0 |
| CAPPED_DATA | 0 | &b->write_lock | 1 |
| DATA_SOURCE | 0 | b | $0 |
| MEM_ZERO | 1 | parent | |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &b->write_lock | |
| HALF_LOCKED2 | b | ||
| TYPE_LOCK | (struct btree)->write_lock |
drivers/md/bcache/btree.c btree_gc_coalesce() -> bch_btree_node_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 1 | parent | 1065904848438050816 |
| PARAM_VALUE | 1 | parent->all.next | 0 |
| PARAM_VALUE | 1 | parent->all.prev | 0 |
| PARAM_VALUE | 1 | parent->fn | 0 |
| PARAM_VALUE | 1 | parent->ip | 0 |
| PARAM_VALUE | 1 | parent->magic | 3226751436 |
| PARAM_VALUE | 1 | parent->parent | 0 |
| PARAM_VALUE | 1 | parent->remaining.counter | 1073741825 |
| PARAM_VALUE | 1 | parent->s | 0 |
| PARAM_VALUE | 1 | parent->wq | 0 |
| MEM_ZERO | 1 | parent | |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &b->io_mutex | ||
| HALF_LOCKED2 | &last->b->io_mutex | ||
| HALF_LOCKED2 | b |
drivers/md/bcache/btree.c btree_gc_recurse() -> bch_btree_node_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 0 | b->c | 4096-ptr_max |
| PARAM_VALUE | 0 | b->io_mutex.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | b->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | b->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | b->write_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->write_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | b->write_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | b->write_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | parent | 4366263248925515776 |
| PARAM_VALUE | 1 | parent->all.next | 0 |
| PARAM_VALUE | 1 | parent->all.prev | 0 |
| PARAM_VALUE | 1 | parent->fn | 0 |
| PARAM_VALUE | 1 | parent->ip | 0 |
| PARAM_VALUE | 1 | parent->magic | 3226751436 |
| PARAM_VALUE | 1 | parent->parent | 0 |
| PARAM_VALUE | 1 | parent->remaining.counter | 1073741825 |
| PARAM_VALUE | 1 | parent->s | 0 |
| PARAM_VALUE | 1 | parent->wq | 0 |
| CAPPED_DATA | 0 | &b->write_lock | 1 |
| DATA_SOURCE | 1 | parent | $2 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &b->write_lock | |
| HALF_LOCKED2 | b | ||
| HALF_LOCKED2 | 0 | &b->io_mutex | |
| TYPE_LOCK | (struct btree)->write_lock |
drivers/md/bcache/btree.c btree_gc_recurse() -> bch_btree_node_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 0 | b->io_mutex.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | b->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | b->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | b->write_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->write_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | b->write_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | b->write_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | parent | 4366263248925515776 |
| PARAM_VALUE | 1 | parent->all.next | 0 |
| PARAM_VALUE | 1 | parent->all.prev | 0 |
| PARAM_VALUE | 1 | parent->fn | 0 |
| PARAM_VALUE | 1 | parent->ip | 0 |
| PARAM_VALUE | 1 | parent->magic | 3226751436 |
| PARAM_VALUE | 1 | parent->parent | 0 |
| PARAM_VALUE | 1 | parent->remaining.counter | 1073741825 |
| PARAM_VALUE | 1 | parent->s | 0 |
| PARAM_VALUE | 1 | parent->wq | 0 |
| CAPPED_DATA | 0 | &b->write_lock | 1 |
| DATA_SOURCE | 1 | parent | $2 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &b->write_lock | |
| HALF_LOCKED2 | &last->b->io_mutex | ||
| HALF_LOCKED2 | &n->io_mutex | ||
| HALF_LOCKED2 | b | ||
| HALF_LOCKED2 | 0 | &b->io_mutex | |
| TYPE_LOCK | (struct btree)->write_lock |
drivers/md/bcache/btree.c btree_split() -> bch_btree_node_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 0 | b->write_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->write_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | b->write_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | b->write_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | parent | 3818274395306029056 |
| PARAM_VALUE | 1 | parent->all.next | 0 |
| PARAM_VALUE | 1 | parent->all.prev | 0 |
| PARAM_VALUE | 1 | parent->fn | 0 |
| PARAM_VALUE | 1 | parent->ip | 0 |
| PARAM_VALUE | 1 | parent->magic | 3226751436 |
| PARAM_VALUE | 1 | parent->parent | 0 |
| PARAM_VALUE | 1 | parent->remaining.counter | 1073741825 |
| PARAM_VALUE | 1 | parent->s | 0 |
| PARAM_VALUE | 1 | parent->wq | 0 |
| BUF_SIZE | 0 | b | (-1),1120 |
| BUF_SIZE | 0 | b | (-1),1120 |
| CAPPED_DATA | 0 | &b->write_lock | 1 |
| DATA_SOURCE | 0 | b | r bch_btree_node_alloc |
| MEM_ZERO | 1 | parent | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &n1->write_lock | ||
| LOCK2 | 0 | &b->write_lock | |
| HALF_LOCKED2 | &b->io_mutex | ||
| HALF_LOCKED2 | &n->io_mutex | ||
| HALF_LOCKED2 | &n1->io_mutex | ||
| HALF_LOCKED2 | b | ||
| TYPE_LOCK | (struct btree)->write_lock |
drivers/md/bcache/btree.c btree_split() -> bch_btree_node_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 0 | b->c | 4096-ptr_max |
| PARAM_VALUE | 0 | b->c->cache | 4096-ptr_max |
| PARAM_VALUE | 0 | b->keys.expensive_debug_checks | 4096-ptr_max |
| PARAM_VALUE | 0 | b->keys.set->data->keys | 0-4294967295 |
| PARAM_VALUE | 0 | b->write_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->write_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | b->write_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | b->write_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->write_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | b->write_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | b->write_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | b->write_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | b->write_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | parent | 3818274395306029056 |
| PARAM_VALUE | 1 | parent->all.next | 0 |
| PARAM_VALUE | 1 | parent->all.prev | 0 |
| PARAM_VALUE | 1 | parent->fn | 0 |
| PARAM_VALUE | 1 | parent->ip | 0 |
| PARAM_VALUE | 1 | parent->magic | 3226751436 |
| PARAM_VALUE | 1 | parent->parent | 0 |
| PARAM_VALUE | 1 | parent->remaining.counter | 1073741825 |
| PARAM_VALUE | 1 | parent->s | 0 |
| PARAM_VALUE | 1 | parent->wq | 0 |
| CAPPED_DATA | 0 | &b->write_lock | 1 |
| DATA_SOURCE | 0 | b | r btree_node_alloc_replacement |
| MEM_ZERO | 1 | parent | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &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 | b |
drivers/md/bcache/btree.c btree_split() -> bch_btree_node_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 0 | b->keys.expensive_debug_checks | 4096-ptr_max |
| PARAM_VALUE | 0 | b->write_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->write_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | b->write_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | b->write_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | parent | 3818274395306029056 |
| PARAM_VALUE | 1 | parent->all.next | 0 |
| PARAM_VALUE | 1 | parent->all.prev | 0 |
| PARAM_VALUE | 1 | parent->fn | 0 |
| PARAM_VALUE | 1 | parent->ip | 0 |
| PARAM_VALUE | 1 | parent->magic | 3226751436 |
| PARAM_VALUE | 1 | parent->parent | 0 |
| PARAM_VALUE | 1 | parent->remaining.counter | 1073741825 |
| PARAM_VALUE | 1 | parent->s | 0 |
| PARAM_VALUE | 1 | parent->wq | 0 |
| BUF_SIZE | 0 | b | (-1),1120 |
| BUF_SIZE | 0 | b | (-1),1120 |
| CAPPED_DATA | 0 | &b->write_lock | 1 |
| DATA_SOURCE | 0 | b | r bch_btree_node_alloc |
| MEM_ZERO | 1 | parent | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &n1->io_mutex | ||
| LOCK2 | &n2->io_mutex | ||
| LOCK2 | 0 | &b->write_lock | |
| HALF_LOCKED2 | &b->io_mutex | ||
| HALF_LOCKED2 | &n->io_mutex | ||
| HALF_LOCKED2 | &n1->io_mutex | ||
| HALF_LOCKED2 | b | ||
| TYPE_LOCK | (struct btree)->io_mutex | ||
| TYPE_LOCK | (struct btree)->write_lock |
drivers/md/bcache/super.c run_cache_set() -> bch_btree_node_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 0 | b->c | 4096-ptr_max |
| PARAM_VALUE | 0 | b->c->cache | 4096-ptr_max |
| PARAM_VALUE | 0 | b->flags | 0 |
| PARAM_VALUE | 0 | b->hash.next->pprev | 1-u64max |
| PARAM_VALUE | 0 | b->hash.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | b->io_mutex.count | 1 |
| PARAM_VALUE | 0 | b->io_mutex.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | b->keys.expensive_debug_checks | 4096-ptr_max |
| PARAM_VALUE | 0 | b->keys.last_set_unwritten | 1 |
| PARAM_VALUE | 0 | b->keys.ops | 4889910169258827776,7358500608655163392 |
| PARAM_VALUE | 0 | b->keys.ops->insert_fixup | 3359186278354853888,8738410596996493312 |
| PARAM_VALUE | 0 | b->keys.ops->key_bad | 2053114610689146880,2965826758702149632 |
| PARAM_VALUE | 0 | b->keys.ops->key_dump | 5824308303565893632 |
| PARAM_VALUE | 0 | b->keys.ops->key_invalid | 5042869928339255296,8931906019736064000 |
| PARAM_VALUE | 0 | b->keys.ops->key_merge | 0,8943847820907044864 |
| PARAM_VALUE | 0 | b->keys.ops->key_to_text | 6644520337947410432 |
| PARAM_VALUE | 0 | b->keys.ops->sort_cmp | 127698777507876864,850943255651803136 |
| PARAM_VALUE | 0 | b->keys.ops->sort_fixup | 0,8945762327650275328 |
| PARAM_VALUE | 0 | b->keys.set | 4096-ptr_max |
| PARAM_VALUE | 0 | b->keys.set->data->keys | 0 |
| PARAM_VALUE | 0 | b->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | b->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | b->lock.dep_map.cpu | 0 |
| PARAM_VALUE | 0 | b->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | b->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | b->parent | 0 |
| PARAM_VALUE | 0 | b->parent->keys.page_order | 0-63,255 |
| PARAM_VALUE | 0 | b->write_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->write_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | b->write_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | b->write_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | b->write_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | b->write_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | b->written | 0 |
| PARAM_VALUE | 1 | parent | 13263024402882560 |
| PARAM_VALUE | 1 | parent->all.next | 0 |
| PARAM_VALUE | 1 | parent->all.prev | 0 |
| PARAM_VALUE | 1 | parent->fn | 0 |
| PARAM_VALUE | 1 | parent->ip | 0 |
| PARAM_VALUE | 1 | parent->magic | 3226751436 |
| PARAM_VALUE | 1 | parent->parent | 0 |
| PARAM_VALUE | 1 | parent->remaining.counter | 1073741825 |
| PARAM_VALUE | 1 | parent->s | 0 |
| PARAM_VALUE | 1 | parent->wq | 0 |
| BUF_SIZE | 0 | b | (-1),1120 |
| BUF_SIZE | 0 | b | (-1),1120 |
| CAPPED_DATA | 0 | b->keys.set | 1 |
| CAPPED_DATA | 0 | b->keys.set->data | 1 |
| CAPPED_DATA | 0 | &b->write_lock | 1 |
| DATA_SOURCE | 0 | b | r __bch_btree_node_alloc |
| MEM_ZERO | 1 | parent | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | b->c->bio_meta.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | b->c->bio_split.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | b->c->bio_split.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | b->c->fill_iter.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | b->c->nr_uuids | |
| NO_OVERFLOW_SIMPLE | 0 | b->c->search.min_nr | |
| LOCK2 | global &bch_register_lock | ||
| LOCK2 | 0 | &b->write_lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct btree)->write_lock |