Documented in 1 files:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
block/blk-map.c bio_map_kern() -> bio_add_max_vecs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kaddr | 1-u64max |
| PARAM_VALUE | 1 | len | 1-4294966784 |
| BUF_SIZE | 0 | kaddr | (-1)-s32max |
| BUF_SIZE | 0 | kaddr | (-1)-s32max |
| CAPPED_DATA | 0 | kaddr | 1 |
| CAPPED_DATA | 1 | len | 1 |
| DATA_SOURCE | 0 | kaddr | $1 |
| DATA_SOURCE | 1 | len | $2 |
| PARAM_COMPARE | 0 | kaddr | == $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | len | 1-s32max[c] |
| UNITS | 1 | len | unit_byte |
| BYTE_COUNT | 0 | ==kaddr1 | 8050 |
| USER_PTR | 0 | kaddr | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &vblk->vdev_mutex |
drivers/md/dm-pcache/backing_dev.c kmem_type_req_alloc() -> bio_add_max_vecs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kaddr | 4096-ptr_max |
| RX_PATH | |||
| UNITS | 0 | kaddr | unit_byte |
| UNITS | 1 | len | unit_byte |
| LOCK2 | &cache->writeback_lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct pcache_cache)->writeback_lock |
fs/xfs/xfs_buf.c xfs_buf_submit_bio() -> bio_add_max_vecs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | len | 0,512-4294966784 |
| BUF_SIZE | 0 | kaddr | s32min-(-2),1-s32max |
| BIT_INFO | 1 | len | 0x0,0xfffffe00 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bp->b_sema |