Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/md/bcache/bset.c __bch_cut_back() -> bkey_copy_key()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
BUF_SIZE 0 dest (-1),16
BUF_SIZE 0 dest (-1),16
CAPPED_DATA 0 dest 1
DATA_SOURCE 0 dest $1
DATA_SOURCE 1 src $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &b->write_lock

drivers/md/bcache/bset.c __bch_cut_front() -> bkey_copy_key()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
BUF_SIZE 0 dest (-1),16
BUF_SIZE 0 dest (-1),16
CAPPED_DATA 0 dest 1
CAPPED_DATA 1 src 1
DATA_SOURCE 0 dest $1
DATA_SOURCE 1 src $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &b->write_lock

drivers/md/bcache/alloc.c bch_alloc_sectors() -> bkey_copy_key()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
DATA_SOURCE 1 src $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &c->data_bucket_lock
HALF_LOCKED2 &b->io_mutex
HALF_LOCKED2 &dc->in_flight
TYPE_LOCK (struct cache_set)->data_bucket_lock

drivers/md/bcache/btree.c bch_btree_gc_root() -> bkey_copy_key()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 b

drivers/md/bcache/btree.c btree_gc_coalesce() -> bkey_copy_key()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
BUF_SIZE 1 src (-1),16
BUF_SIZE 1 src (-1),16
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() -> bkey_copy_key()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &last->b->io_mutex
HALF_LOCKED2 b

drivers/md/bcache/btree.c btree_node_alloc_replacement() -> bkey_copy_key()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &n->write_lock
HALF_LOCKED2 b
TYPE_LOCK (struct btree)->write_lock

drivers/md/bcache/btree.c btree_split() -> bkey_copy_key()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &n1->write_lock
LOCK2 &n2->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() -> bkey_copy_key()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &n1->write_lock
LOCK2 &n2->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() -> bkey_copy_key()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &n1->io_mutex
LOCK2 &n2->io_mutex
LOCK2 &n3->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/btree.c make_btree_freeing_key() -> bkey_copy_key()

Type Parameter Key Value
PARAM_VALUE 1 src 4096-ptr_max
DATA_SOURCE 0 dest $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &b->c->bucket_lock
HALF_LOCKED2 &n->io_mutex
TYPE_LOCK (struct cache_set)->bucket_lock

drivers/md/bcache/super.c run_cache_set() -> bkey_copy_key()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &c->root->write_lock
LOCK2 global &bch_register_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct btree)->write_lock