Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

crypto/lskcipher.c crypto_init_lskcipher_ops_sg() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
PARAM_VALUE 0 alg->cra_flags 0,64-u32max
PARAM_VALUE 0 alg->cra_module 0,4096-ptr_max
PARAM_VALUE 0 alg->cra_module->refcnt.counter 0-s32max
PARAM_VALUE 0 alg->cra_module->state 0-1,3-u32max
PARAM_VALUE 0 alg->cra_type 0-3624563834875822079,3624563834875822081-u64max
BUF_SIZE 0 alg (-1),392
BUF_SIZE 0 alg (-1),392
CAPPED_DATA 0 alg 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 alg->cra_flags 0,64-u32max[c]

crypto/scompress.c crypto_init_scomp_ops_async() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
PARAM_VALUE 0 alg->cra_flags 0,64-u32max
PARAM_VALUE 0 alg->cra_module 0,4096-ptr_max
PARAM_VALUE 0 alg->cra_module->refcnt.counter 0-s32max
PARAM_VALUE 0 alg->cra_module->state 0-1,3-u32max
PARAM_VALUE 0 alg->cra_type 0-987722113699033087,987722113699033089-u64max
BUF_SIZE 0 alg (-1),392
BUF_SIZE 0 alg (-1),392
CAPPED_DATA 0 alg 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 alg->cra_flags 0,64-u32max[c]

crypto/essiv.c essiv_create() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
PARAM_VALUE 0 alg->cra_module->refcnt.counter 0-s32max
PARAM_VALUE 0 alg->cra_type->destroy 0,4096-ptr_max
BUF_SIZE 0 alg (-1),392
BUF_SIZE 0 alg (-1),392
DATA_SOURCE 0 alg r crypto_alg_mod_lookup
NOCHECK_CALL

crypto/essiv.c essiv_create() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
PARAM_VALUE 0 alg->cra_module->refcnt.counter 0-s32max
PARAM_VALUE 0 alg->cra_type->destroy 0,4096-ptr_max
BUF_SIZE 0 alg (-1),392
BUF_SIZE 0 alg (-1),392
DATA_SOURCE 0 alg r crypto_alg_mod_lookup
NOCHECK_CALL

crypto/essiv.c essiv_supported_algorithms() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
PARAM_VALUE 0 alg->cra_module->refcnt.counter 0-s32max
PARAM_VALUE 0 alg->cra_type->destroy 0,4096-ptr_max
BUF_SIZE 0 alg (-1),392
BUF_SIZE 0 alg (-1),392
CAPPED_DATA 0 alg->cra_u.cipher.cia_min_keysize 1
DATA_SOURCE 0 alg r crypto_alg_mod_lookup
NOCHECK_CALL

crypto/crypto_user.c crypto_add_alg() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
PARAM_VALUE 0 alg->cra_module 0,4096-ptr_max
DATA_SOURCE 0 alg r crypto_alg_match
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

crypto/crypto_user.c crypto_add_alg() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
PARAM_VALUE 0 alg->cra_module->refcnt.counter 0-s32max
PARAM_VALUE 0 alg->cra_type->destroy 0,4096-ptr_max
BUF_SIZE 0 alg (-1),392
BUF_SIZE 0 alg (-1),392
DATA_SOURCE 0 alg r crypto_alg_mod_lookup
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 alg->cra_flags 0,16-u32max[c]
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

crypto/crypto_user.c crypto_del_alg() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
PARAM_VALUE 0 alg->alg.adult->cra_module->refcnt.counter 0-s32max
PARAM_VALUE 0 alg->alg.adult->cra_refcnt.refs.counter s32min-s32max
PARAM_VALUE 0 alg->alg.cra_flags 0,32-u32max
PARAM_VALUE 0 alg->alg.cra_list.next 4096-ptr_max
PARAM_VALUE 0 alg->alg.cra_list.next->next 4096-ptr_max
PARAM_VALUE 0 alg->alg.cra_list.next->prev 4096-ptr_max
PARAM_VALUE 0 alg->alg.cra_list.prev 4096-ptr_max
PARAM_VALUE 0 alg->alg.cra_list.prev->next 4096-ptr_max
PARAM_VALUE 0 alg->alg.cra_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 alg->alg.cra_users.next 4096-ptr_max
PARAM_VALUE 0 alg->alg.cra_users.prev 5567341622973227008
PARAM_VALUE 0 alg->cra_module 0,4096-ptr_max
PARAM_VALUE 0 alg->list->pprev 4096-ptr_max
PARAM_VALUE 0 alg->list.pprev 4096-ptr_max
DATA_SOURCE 0 alg r crypto_alg_match
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

crypto/crypto_user.c crypto_report() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
PARAM_VALUE 0 alg->cra_module 0,4096-ptr_max
PARAM_VALUE 0 alg->cra_type->report 0,4096-ptr_max
DATA_SOURCE 0 alg r crypto_alg_match
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

crypto/crypto_user.c crypto_update_alg() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
PARAM_VALUE 0 alg->cra_module 0,4096-ptr_max
PARAM_VALUE 0 alg->cra_users.next 4096-ptr_max
PARAM_VALUE 0 alg->cra_users.prev 5567341622973227008
DATA_SOURCE 0 alg r crypto_alg_match
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

crypto/algapi.c crypto_drop_spawn() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 1-u64max
NOCHECK_CALL

crypto/algapi.c crypto_grab_spawn() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
BUF_SIZE 0 alg (-1),392
BUF_SIZE 0 alg (-1),392
DATA_SOURCE 0 alg r crypto_find_alg
NOCHECK_CALL

crypto/algapi.c crypto_register_instance() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
NOCHECK_CALL
LOCK2 global &crypto_alg_sem

crypto/algapi.c crypto_spawn_tfm() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
PARAM_VALUE 0 alg->cra_module 0,4096-ptr_max
PARAM_VALUE 0 alg->cra_module->refcnt.counter 0-s32max
PARAM_VALUE 0 alg->cra_module->state 0-1,3-u32max
DATA_SOURCE 0 alg r crypto_spawn_alg
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

crypto/algapi.c crypto_spawn_tfm2() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
PARAM_VALUE 0 alg->cra_flags 0,64-u32max
PARAM_VALUE 0 alg->cra_module 0,4096-ptr_max
PARAM_VALUE 0 alg->cra_module->refcnt.counter 0-s32max
PARAM_VALUE 0 alg->cra_module->state 0-1,3-u32max
PARAM_VALUE 0 alg->cra_type 4352402870653919232
CAPPED_DATA 0 alg 1
DATA_SOURCE 0 alg r crypto_spawn_alg
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

crypto/algapi.c crypto_type_has_alg() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
BUF_SIZE 0 alg (-1),392
BUF_SIZE 0 alg (-1),392
DATA_SOURCE 0 alg r crypto_find_alg
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

crypto/ahash.c crypto_init_ahash_using_shash() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
PARAM_VALUE 0 alg->cra_flags 0,64-u32max
PARAM_VALUE 0 alg->cra_module 0,4096-ptr_max
PARAM_VALUE 0 alg->cra_module->refcnt.counter 0-s32max
PARAM_VALUE 0 alg->cra_module->state 0-1,3-u32max
PARAM_VALUE 0 alg->cra_type 4352402870653919232
BUF_SIZE 0 alg (-1),392
BUF_SIZE 0 alg (-1),392
CAPPED_DATA 0 alg 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 alg->cra_flags 0,64-u32max[c]

crypto/api.c __crypto_alg_lookup() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
PARAM_VALUE 0 alg->cra_module 0,4096-ptr_max
PARAM_VALUE 0 alg->cra_module->refcnt.counter 0-s32max
PARAM_VALUE 0 alg->cra_priority (-1)-s32max
FUZZY_MAX 0 alg->cra_priority (-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &crypto_alg_sem

crypto/api.c crypto_alg_lookup() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
PARAM_VALUE 0 alg->cra_module 0,4096-ptr_max
PARAM_VALUE 0 alg->cra_module->refcnt.counter 0-s32max
DATA_SOURCE 0 alg r __crypto_alg_lookup
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &crypto_alg_sem

crypto/api.c crypto_alg_lookup() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
PARAM_VALUE 0 alg->cra_module 0,4096-ptr_max
PARAM_VALUE 0 alg->cra_module->refcnt.counter 0-s32max
DATA_SOURCE 0 alg r __crypto_alg_lookup
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &crypto_alg_sem

crypto/api.c crypto_alg_mod_lookup() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
PARAM_VALUE 0 alg->adult->cra_module->refcnt.counter 0-s32max
PARAM_VALUE 0 alg->adult->cra_refcnt.refs.counter s32min-s32max
PARAM_VALUE 0 alg->cra_module->refcnt.counter 0-s32max
PARAM_VALUE 0 alg->cra_type->destroy 0,4096-ptr_max
BUF_SIZE 0 alg (-1),392
BUF_SIZE 0 alg (-1),392
DATA_SOURCE 0 alg r crypto_larval_lookup
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 alg->cra_flags 0,16-u32max[c]

crypto/api.c crypto_alloc_base() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
PARAM_VALUE 0 alg->cra_flags 0,64-u32max
PARAM_VALUE 0 alg->cra_init 1-u64max
PARAM_VALUE 0 alg->cra_module->refcnt.counter 0-s32max
PARAM_VALUE 0 alg->cra_type 0,4096-ptr_max
PARAM_VALUE 0 alg->cra_type->destroy 0,4096-ptr_max
BUF_SIZE 0 alg (-1),392
BUF_SIZE 0 alg (-1),392
DATA_SOURCE 0 alg r crypto_alg_mod_lookup
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

crypto/api.c crypto_alloc_tfm_node() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
BUF_SIZE 0 alg (-1),392
BUF_SIZE 0 alg (-1),392
CAPPED_DATA 0 alg 1
DATA_SOURCE 0 alg r crypto_find_alg
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 alg->cra_flags 0,16-u32max[c]

crypto/api.c crypto_destroy_tfm() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
NOCHECK_CALL

crypto/api.c crypto_has_alg() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 4096-ptr_max
PARAM_VALUE 0 alg->cra_module->refcnt.counter 0-s32max
PARAM_VALUE 0 alg->cra_type->destroy 0,4096-ptr_max
BUF_SIZE 0 alg (-1),392
BUF_SIZE 0 alg (-1),392
DATA_SOURCE 0 alg r crypto_alg_mod_lookup
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &rtnl_mutex

crypto/api.c crypto_larval_destroy() -> crypto_mod_put()

Type Parameter Key Value
PARAM_VALUE 0 alg 1-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

crypto/api.c crypto_larval_wait() -> crypto_mod_put()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL