Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/mtd/devices/docg3.c docg3_probe() -> bch_free()

Type Parameter Key Value
PARAM_VALUE 0 bch 0,4096-ptr_max
PARAM_VALUE 0 bch->a_log_tab 4096-ptr_max
PARAM_VALUE 0 bch->a_pow_tab 4096-ptr_max
PARAM_VALUE 0 bch->cache 4096-ptr_max
PARAM_VALUE 0 bch->ecc_buf 4096-ptr_max
PARAM_VALUE 0 bch->ecc_buf2 4096-ptr_max
PARAM_VALUE 0 bch->ecc_bytes 7
PARAM_VALUE 0 bch->elp 4096-ptr_max
PARAM_VALUE 0 bch->m 14
PARAM_VALUE 0 bch->mod8_tab 4096-ptr_max
PARAM_VALUE 0 bch->n 16383
PARAM_VALUE 0 bch->poly_2t 4096-ptr_max
PARAM_VALUE 0 bch->swap_bits 0
PARAM_VALUE 0 bch->syn 4096-ptr_max
PARAM_VALUE 0 bch->t 4
PARAM_VALUE 0 bch->xi_tab 4096-ptr_max
PARAM_VALUE 0 *bch->a_pow_tab 1
PARAM_VALUE 0 *bch->xi_tab 0-s32max
BUF_SIZE 0 bch 0,136
BUF_SIZE 0 bch 0,136
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bch->t

drivers/mtd/devices/docg3.c docg3_release() -> bch_free()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

lib/bch.c bch_init() -> bch_free()

Type Parameter Key Value
PARAM_VALUE 0 bch 0,4096-ptr_max
PARAM_VALUE 0 bch->a_log_tab 0,4096-ptr_max
PARAM_VALUE 0 bch->a_pow_tab 0,4096-ptr_max
PARAM_VALUE 0 bch->cache 0,4096-ptr_max
PARAM_VALUE 0 bch->ecc_buf 0,4096-ptr_max
PARAM_VALUE 0 bch->ecc_buf2 0,4096-ptr_max
PARAM_VALUE 0 bch->ecc_bytes 1-120
PARAM_VALUE 0 bch->elp 0,4096-ptr_max
PARAM_VALUE 0 bch->m 5-15
PARAM_VALUE 0 bch->mod8_tab 0,4096-ptr_max
PARAM_VALUE 0 bch->n 6-s32max
PARAM_VALUE 0 bch->poly_2t 4096-ptr_max
PARAM_VALUE 0 bch->syn 0,4096-ptr_max
PARAM_VALUE 0 bch->t 1-64
PARAM_VALUE 0 bch->xi_tab 0,4096-ptr_max
BUF_SIZE 0 bch 0,136
BUF_SIZE 0 bch 0,136
BUF_SIZE 0 bch->a_log_tab (-1),14-s32max
BUF_SIZE 0 bch->a_pow_tab (-1),14-s32max
BUF_SIZE 0 bch->cache (-1),8-512
BUF_SIZE 0 bch->ecc_buf (-1),4-120
BUF_SIZE 0 bch->ecc_buf2 (-1),4-120
BUF_SIZE 0 bch->elp (-1),24-780
BUF_SIZE 0 bch->mod8_tab (-1),4096-122880
BUF_SIZE 0 bch->syn (-1),8-512
BUF_SIZE 0 bch->xi_tab (-1),20-60
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bch->t

drivers/mtd/nand/raw/arasan-nand-controller.c anfc_detach_chip() -> bch_free()

Type Parameter Key Value
PARAM_VALUE 0 bch 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/mtd/nand/ecc-sw-bch.c nand_ecc_sw_bch_cleanup() -> bch_free()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL