Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- block/blk-crypto.c, line 279
- drivers/md/dm-inlinecrypt.c, line 500
- include/linux/blk-crypto.h, line 211
Smatch caller information:
fs/crypto/block.c blk_crypto_submit_bio() -> __blk_crypto_submit_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 1 |
| PARAM_VALUE | 0 | bio->bi_end_io | 6931062850450075648 |
| PARAM_VALUE | 0 | bio->bi_private | 3563199459545354240 |
| BUF_SIZE | 0 | bio->bi_private | 104 |
| DATA_SOURCE | 0 | bio | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/f2fs/data.c blk_crypto_submit_bio() -> __blk_crypto_submit_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 1 |
| PARAM_VALUE | 0 | bio->bi_private | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_private->type | 0-4294967295 |
| DATA_SOURCE | 0 | bio | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | bio->bi_iter.bi_sector | 0,8-34359738352[c] |
| USER_DATA | 0 | bio->bi_next->bi_max_vecs | 0-256[c] |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bvec_pool.min_nr | |
| HALF_LOCKED2 | &io->io_rwsem.internal_rwsem |
fs/ext4/readpage.c blk_crypto_submit_bio() -> __blk_crypto_submit_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 1 |
| PARAM_VALUE | 0 | bio->bi_end_io | 3596931442040905728 |
| DATA_SOURCE | 0 | bio | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/f2fs/file.c blk_crypto_submit_bio() -> __blk_crypto_submit_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 1 |
| PARAM_VALUE | 0 | bio->bi_end_io | 3340205514380255232,6144032059269255168 |
| PARAM_VALUE | 0 | bio->bi_private | 4096-ptr_max |
| DATA_SOURCE | 0 | bio | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 0 | bio->bi_iter.bi_sector | 0-36028797018963967[c] |
| USER_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
fs/buffer.c blk_crypto_submit_bio() -> __blk_crypto_submit_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 1 |
| PARAM_VALUE | 0 | bio->bi_private | 4096-ptr_max |
| BUF_SIZE | 0 | bio->bi_private | (-1)-s32max |
| CAPPED_DATA | 0 | bio->bi_max_vecs | 1 |
| DATA_SOURCE | 0 | bio | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ext4/page-io.c blk_crypto_submit_bio() -> __blk_crypto_submit_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 1 |
| DATA_SOURCE | 0 | bio | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/md/dm-inlinecrypt.c inlinecrypt_map() -> __blk_crypto_submit_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_end_io | 3905977605003870208 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_size | 1-u32max |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| BUF_SIZE | 0 | bio | (-1),144 |
| BUF_SIZE | 0 | bio | (-1),144 |
| DATA_SOURCE | 0 | bio | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 0 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bvec_pool.min_nr | |
| LOCK2 | &md->io_barrier | ||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->swap_bios_semaphore | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
fs/iomap/direct-io.c blk_crypto_submit_bio() -> __blk_crypto_submit_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 1 |
| PARAM_VALUE | 0 | bio->bi_end_io | 6144032059269255168 |
| PARAM_VALUE | 0 | bio->bi_private | 4096-ptr_max |
| DATA_SOURCE | 0 | bio | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 0 | bio->bi_iter.bi_sector | 0-36028797018963967 |
| USER_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| HALF_LOCKED2 | &pool->lock |