Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/dm-crypt.c crypt_endio() -> crypt_dec_pending()

Type Parameter Key Value
PARAM_VALUE 0 io 4096-ptr_max
BUF_SIZE 0 io (-1)-s32max
BUF_SIZE 0 io (-1)-s32max
STR_LEN 0 io (-1),8,11-12,14,17,19-20,23,26-27,29,31-32
STR_LEN 0 io (-1),8,11-12,14,17,19-20,23,26-27,29,31-32
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/md/dm-crypt.c kcryptd_crypt_read_continue() -> crypt_dec_pending()

Type Parameter Key Value
PARAM_VALUE 0 io 4096-ptr_max
PARAM_VALUE 0 io->cc 4096-ptr_max
PARAM_VALUE 0 io->ctx.iter_in.bi_bvec_done 0-4294967294
PARAM_VALUE 0 io->ctx.iter_out.bi_bvec_done 0-4294967294
PARAM_VALUE 0 io->ctx.r.req 0
PARAM_VALUE 0 io->ctx.r.req->base.complete 4857371515173564416
PARAM_VALUE 0 io->ctx.r.req->base.flags 1024
PARAM_VALUE 0 io->ctx.r.req->base.tfm 4096-ptr_max
PARAM_VALUE 0 io->ctx.r.req->cryptlen 0-u16max
PARAM_VALUE 0 io->ctx.r.req->dst 4096-ptr_max
PARAM_VALUE 0 io->ctx.r.req->src 4096-ptr_max
PARAM_VALUE 0 io->ctx.r.req_aead->assoclen 8-u32max
PARAM_VALUE 0 io->ctx.r.req_aead->base.complete 4857371515173564416
PARAM_VALUE 0 io->ctx.r.req_aead->base.flags 1024
PARAM_VALUE 0 io->ctx.r.req_aead->base.tfm 4096-ptr_max
PARAM_VALUE 0 io->ctx.r.req_aead->dst 4096-ptr_max
PARAM_VALUE 0 io->ctx.r.req_aead->src 4096-ptr_max
PARAM_VALUE 0 io->ctx.restart.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 io->ctx.restart.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 io->ctx.restart.wait.task_list.prev->next->next 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/md/dm-crypt.c kcryptd_crypt_read_convert() -> crypt_dec_pending()

Type Parameter Key Value
PARAM_VALUE 0 io 4096-ptr_max
PARAM_VALUE 0 io->base_bio 4096-ptr_max
PARAM_VALUE 0 io->cc 4096-ptr_max
PARAM_VALUE 0 io->ctx.bio_in 4096-ptr_max
PARAM_VALUE 0 io->ctx.bio_out 4096-ptr_max
PARAM_VALUE 0 io->ctx.iter_in.bi_bvec_done 0-4294967294
PARAM_VALUE 0 io->ctx.iter_out.bi_bvec_done 0-4294967294
PARAM_VALUE 0 io->ctx.r.req 0
PARAM_VALUE 0 io->ctx.r.req->base.complete 4857371515173564416
PARAM_VALUE 0 io->ctx.r.req->base.flags 1024
PARAM_VALUE 0 io->ctx.r.req->base.tfm 4096-ptr_max
PARAM_VALUE 0 io->ctx.r.req->cryptlen 0-u16max
PARAM_VALUE 0 io->ctx.r.req->dst 4096-ptr_max
PARAM_VALUE 0 io->ctx.r.req->src 4096-ptr_max
PARAM_VALUE 0 io->ctx.r.req_aead 1-u64max
PARAM_VALUE 0 io->ctx.r.req_aead->assoclen 8-u32max
PARAM_VALUE 0 io->ctx.r.req_aead->base.complete 4857371515173564416
PARAM_VALUE 0 io->ctx.r.req_aead->base.flags 1024
PARAM_VALUE 0 io->ctx.r.req_aead->base.tfm 4096-ptr_max
PARAM_VALUE 0 io->ctx.r.req_aead->dst 4096-ptr_max
PARAM_VALUE 0 io->ctx.r.req_aead->src 4096-ptr_max
PARAM_VALUE 0 io->ctx.restart.done 0
PARAM_VALUE 0 io->ctx.restart.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 io->ctx.restart.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 io->ctx.restart.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 io->ctx.restart.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 io->ctx.restart.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 io->ctx.restart.wait.task_list.prev->prev 4096-ptr_max
DATA_SOURCE 0 io $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/md/dm-crypt.c kcryptd_crypt_read_done() -> crypt_dec_pending()

Type Parameter Key Value
PARAM_VALUE 0 io 4096-ptr_max
PARAM_VALUE 0 io->cc 4096-ptr_max
PARAM_VALUE 0 io->cc->iv_gen_ops->post 0,3747490470402674688,7811331986521178112,8300063158344646656
PARAM_VALUE 0 io->ctx.r.req 0,4096-u64max
DATA_SOURCE 0 io $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/md/dm-crypt.c kcryptd_crypt_write_continue() -> crypt_dec_pending()

Type Parameter Key Value
PARAM_VALUE 0 io 4096-ptr_max
PARAM_VALUE 0 io->cc 4096-ptr_max
PARAM_VALUE 0 io->ctx.iter_in.bi_bvec_done 0-4294967294
PARAM_VALUE 0 io->ctx.iter_out.bi_bvec_done 0-4294967294
PARAM_VALUE 0 io->ctx.r.req 0
PARAM_VALUE 0 io->ctx.r.req->base.complete 4857371515173564416
PARAM_VALUE 0 io->ctx.r.req->base.flags 1024
PARAM_VALUE 0 io->ctx.r.req->base.tfm 4096-ptr_max
PARAM_VALUE 0 io->ctx.r.req->cryptlen 0-u16max
PARAM_VALUE 0 io->ctx.r.req->dst 4096-ptr_max
PARAM_VALUE 0 io->ctx.r.req->src 4096-ptr_max
PARAM_VALUE 0 io->ctx.r.req_aead->assoclen 8-u32max
PARAM_VALUE 0 io->ctx.r.req_aead->base.complete 4857371515173564416
PARAM_VALUE 0 io->ctx.r.req_aead->base.flags 1024
PARAM_VALUE 0 io->ctx.r.req_aead->base.tfm 4096-ptr_max
PARAM_VALUE 0 io->ctx.r.req_aead->dst 4096-ptr_max
PARAM_VALUE 0 io->ctx.r.req_aead->src 4096-ptr_max
PARAM_VALUE 0 io->ctx.restart.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 io->ctx.restart.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 io->ctx.restart.wait.task_list.prev->next->next 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/md/dm-crypt.c kcryptd_crypt_write_convert() -> crypt_dec_pending()

Type Parameter Key Value
PARAM_VALUE 0 io 4096-ptr_max
PARAM_VALUE 0 io->base_bio 4096-ptr_max
PARAM_VALUE 0 io->cc 4096-ptr_max
PARAM_VALUE 0 io->cc->bio_alloc_lock.dep_map->name 0-255
PARAM_VALUE 0 io->cc->bio_alloc_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 io->cc->bio_alloc_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 io->cc->bio_alloc_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 io->cc->bio_alloc_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 io->cc->bio_alloc_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 io->cc->bio_alloc_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 io->cc->bio_alloc_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 io->cc->bio_alloc_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 io->cc->dev 4096-ptr_max
PARAM_VALUE 0 io->ctx.bio_out 0,4096-ptr_max
PARAM_VALUE 0 io->ctx.bio_out->bi_end_io 1100162144628105216
PARAM_VALUE 0 io->ctx.bio_out->bi_iter.bi_idx 0
PARAM_VALUE 0 io->ctx.bio_out->bi_max_vecs 0-4,16,64,128,256
PARAM_VALUE 0 io->ctx.bio_out->bi_pool 4096-ptr_max
PARAM_VALUE 0 io->ctx.bio_out->bi_private 4096-ptr_max
PARAM_VALUE 0 io->ctx.iter_in.bi_bvec_done 0-4294967294
PARAM_VALUE 0 io->ctx.iter_out.bi_bvec_done 0-4294967294
PARAM_VALUE 0 io->ctx.r.req 0
PARAM_VALUE 0 io->ctx.r.req->base.complete 4857371515173564416
PARAM_VALUE 0 io->ctx.r.req->base.flags 1024
PARAM_VALUE 0 io->ctx.r.req->base.tfm 4096-ptr_max
PARAM_VALUE 0 io->ctx.r.req->cryptlen 0-u16max
PARAM_VALUE 0 io->ctx.r.req->dst 4096-ptr_max
PARAM_VALUE 0 io->ctx.r.req->src 4096-ptr_max
PARAM_VALUE 0 io->ctx.r.req_aead 1-u64max
PARAM_VALUE 0 io->ctx.r.req_aead->assoclen 8-u32max
PARAM_VALUE 0 io->ctx.r.req_aead->base.complete 4857371515173564416
PARAM_VALUE 0 io->ctx.r.req_aead->base.flags 1024
PARAM_VALUE 0 io->ctx.r.req_aead->base.tfm 4096-ptr_max
PARAM_VALUE 0 io->ctx.r.req_aead->dst 4096-ptr_max
PARAM_VALUE 0 io->ctx.r.req_aead->src 4096-ptr_max
PARAM_VALUE 0 io->ctx.restart.done 0-4294967293,u32max
PARAM_VALUE 0 io->ctx.restart.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 io->ctx.restart.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 io->ctx.restart.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 io->ctx.restart.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 io->ctx.restart.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 io->ctx.restart.wait.task_list.prev->prev 4096-ptr_max
CAPPED_DATA 0 io->ctx.bio_out 1
DATA_SOURCE 0 io $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/md/dm-crypt.c kcryptd_crypt_write_io_submit() -> crypt_dec_pending()

Type Parameter Key Value
PARAM_VALUE 0 io 4096-ptr_max
PARAM_VALUE 0 io->cc 4096-ptr_max
PARAM_VALUE 0 io->cc->iv_gen_ops->post 0,3747490470402674688,7811331986521178112,8300063158344646656
PARAM_VALUE 0 io->cc->n_allocated_pages.lock.dep_map->name 0-255
PARAM_VALUE 0 io->cc->n_allocated_pages.lock.owner (-1)
PARAM_VALUE 0 io->cc->n_allocated_pages.lock.owner_cpu u32max
PARAM_VALUE 0 io->ctx.bio_out 4096-ptr_max
PARAM_VALUE 0 io->ctx.r.req 0,4096-u64max
PARAM_VALUE 0 io->error 1-255
DATA_SOURCE 0 io $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/md/dm-crypt.c kcryptd_io_read() -> crypt_dec_pending()

Type Parameter Key Value
PARAM_VALUE 0 io 4096-ptr_max
PARAM_VALUE 0 io->base_bio 4096-ptr_max
PARAM_VALUE 0 io->cc 4096-ptr_max
PARAM_VALUE 0 io->cc->bio_alloc_lock.dep_map->name 0-255
PARAM_VALUE 0 io->cc->bio_alloc_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 io->cc->bio_alloc_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 io->cc->bio_alloc_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 io->cc->bio_alloc_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 io->cc->bio_alloc_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 io->cc->bio_alloc_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 io->cc->bio_alloc_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 io->cc->bio_alloc_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 io->cc->dev 4096-ptr_max
PARAM_VALUE 0 io->cc->tuple_size 1-u32max
PARAM_VALUE 0 io->ctx.aead_recheck 1
DATA_SOURCE 0 io $0
RX_PATH
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/md/dm-crypt.c kcryptd_io_read() -> crypt_dec_pending()

Type Parameter Key Value
PARAM_VALUE 0 io 4096-ptr_max
PARAM_VALUE 0 io->base_bio 4096-ptr_max
PARAM_VALUE 0 io->base_bio->bi_crypt_context 0-1,4096-ptr_max
PARAM_VALUE 0 io->cc 4096-ptr_max
PARAM_VALUE 0 io->cc->bs.rescue_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 io->cc->dev 4096-ptr_max
PARAM_VALUE 0 io->cc->tuple_size 1-u32max
PARAM_VALUE 0 io->ctx.aead_recheck 0
BUF_SIZE 0 io->integrity_metadata (-1)-4194304
DATA_SOURCE 0 io $0
NOSPEC 0 io->base_bio->bi_iter.bi_sector
NOSPEC 0 io->base_bio->bi_iter.bi_size
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 io->base_bio->bi_iter.bi_sector 0-u64max
HOST_DATA 0 io->base_bio->bi_iter.bi_size 0-u32max[c]
USER_DATA 0 io->base_bio->bi_ioprio 0-u16max
USER_DATA 0 io->base_bio->bi_iter.bi_sector 0-u64max
USER_DATA 0 io->base_bio->bi_iter.bi_size 0-u32max
HALF_LOCKED2 &md->io_barrier

drivers/md/dm-crypt.c kcryptd_io_read_work() -> crypt_dec_pending()

Type Parameter Key Value
PARAM_VALUE 0 io 4096-ptr_max
PARAM_VALUE 0 io->cc->bs.bio_slab 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock