Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/md/bcache/btree.c
- drivers/md/bcache/io.c, line 173
- drivers/md/bcache/journal.c
- drivers/md/bcache/request.c
- drivers/md/bcache/super.c
- drivers/md/bcache/writeback.c, line 400
- lib/closure.c
Smatch caller information:
drivers/md/bcache/writeback.c dirty_endio() -> closure_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/bcache/request.c backing_request_endio() -> closure_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | cl | (-1)-s32max |
| BUF_SIZE | 0 | cl | (-1)-s32max |
| STR_LEN | 0 | cl | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | cl | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/bcache/request.c cached_dev_cache_miss_done() -> closure_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/bcache/request.c request_endio() -> closure_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | cl | (-1)-s32max |
| BUF_SIZE | 0 | cl | (-1)-s32max |
| STR_LEN | 0 | cl | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | cl | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/bcache/io.c bch_bbio_endio() -> closure_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | cl | (-1)-s32max |
| BUF_SIZE | 0 | cl | (-1)-s32max |
| STR_LEN | 0 | cl | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | cl | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock |
drivers/md/bcache/journal.c journal_read_endio() -> closure_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | cl | (-1)-s32max |
| BUF_SIZE | 0 | cl | (-1)-s32max |
| STR_LEN | 0 | cl | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | cl | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/bcache/journal.c journal_write_endio() -> closure_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/closure.c closure_put_after_sub() -> closure_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &c->journal.lock | ||
| HALF_LOCKED2 | global &bch_register_lock |
lib/closure.c closure_return_sync() -> closure_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 1-u64max |
| NOCHECK_CALL |
drivers/md/bcache/btree.c btree_node_read_endio() -> closure_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | cl | (-1)-s32max |
| BUF_SIZE | 0 | cl | (-1)-s32max |
| STR_LEN | 0 | cl | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | cl | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/bcache/btree.c btree_node_write_endio() -> closure_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | cl | (-1)-s32max |
| BUF_SIZE | 0 | cl | (-1)-s32max |
| STR_LEN | 0 | cl | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | cl | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/bcache/super.c bcache_device_detach() -> closure_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | global &bch_register_lock |
drivers/md/bcache/super.c bch_cache_set_alloc() -> closure_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->all.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->all.prev | 5007304420852699136 |
| PARAM_VALUE | 0 | cl->closure_get_happened | 1 |
| PARAM_VALUE | 0 | cl->fn | 2426769529332166656 |
| PARAM_VALUE | 0 | cl->magic | 3226771742 |
| PARAM_VALUE | 0 | cl->parent | 0 |
| PARAM_VALUE | 0 | cl->wq | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &bch_register_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/md/bcache/super.c cached_dev_detach_finish() -> closure_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/md/bcache/super.c prio_endio() -> closure_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/bcache/super.c release_dev() -> closure_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &disk->open_mutex | ||
| TYPE_LOCK | (struct gendisk)->open_mutex |
drivers/md/bcache/super.c uuid_endio() -> closure_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | cl | (-1)-s32max |
| BUF_SIZE | 0 | cl | (-1)-s32max |
| STR_LEN | 0 | cl | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | cl | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/bcache/super.c write_bdev_super_endio() -> closure_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/bcache/super.c write_super_endio() -> closure_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |