Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/nand/raw/nand_bbt.c create_bbt() -> bbt_mark_entry()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->bbt 16,4096-ptr_max
PARAM_VALUE 1 block s32min-2147483646
PARAM_VALUE 2 mark 3
BUF_SIZE 0 chip->bbt_md (-1)-0,72
BUF_SIZE 0 chip->bbt_md->pattern (-1),9
BUF_SIZE 0 chip->bbt_td (-1)-0,72
BUF_SIZE 0 chip->bbt_td->pattern (-1),9
CAPPED_DATA 0 chip 1
CAPPED_DATA 1 block 1
DATA_SOURCE 0 chip $0
STR_LEN 0 chip->bbt_md->pattern (-1),8
STR_LEN 0 chip->bbt_td->pattern (-1),8
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 *chip->oob_poi 0-255

drivers/mtd/nand/raw/nand_bbt.c mark_bbt_block_bad() -> bbt_mark_entry()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 block 0-s32max
PARAM_VALUE 2 mark 1
BUF_SIZE 0 chip->bbt_md (-1)-0,72
BUF_SIZE 0 chip->bbt_md->pattern (-1),9
BUF_SIZE 0 chip->bbt_td (-1)-0,72
BUF_SIZE 0 chip->bbt_td->pattern (-1),9
CAPPED_DATA 0 chip 1
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 block $3
STR_LEN 0 chip->bbt_md->pattern (-1),8
STR_LEN 0 chip->bbt_td->pattern (-1),8
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 chip->cur_cs 1-s32max[c]
HOST_DATA 0 *chip->oob_poi 0-255
USER_DATA 0 *chip->oob_poi 0-255
NO_OVERFLOW_SIMPLE 0 chip->nr_secure_regions

drivers/mtd/nand/raw/nand_bbt.c mark_bbt_region() -> bbt_mark_entry()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->bbt 4096-ptr_max
PARAM_VALUE 2 mark 2
BUF_SIZE 0 chip->bbt_md (-1)-0,72
BUF_SIZE 0 chip->bbt_md->pattern (-1),9
BUF_SIZE 0 chip->bbt_td (-1)-0,72
BUF_SIZE 0 chip->bbt_td->pattern (-1),9
CAPPED_DATA 0 chip 1
DATA_SOURCE 0 chip $0
STR_LEN 0 chip->bbt_md->pattern (-1),8
STR_LEN 0 chip->bbt_td->pattern (-1),8
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 chip->priv->curr_column s32min-s32max[c]
HOST_DATA 0 chip->priv->curr_page_addr 1-s32max[c]
HOST_DATA 0 chip->priv->offset 0-s32max[c]
HOST_DATA 0 *chip->oob_poi 0-255
HOST_DATA 0 *chip->priv->data_buf 0-255
HOST_DATA 0 *chip->priv->data_buffer_dma 0-255
HOST_DATA 0 *chip->priv->raw_buffer 0-255

drivers/mtd/nand/raw/nand_bbt.c mark_bbt_region() -> bbt_mark_entry()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->bbt 4096-ptr_max
PARAM_VALUE 2 mark 2
BUF_SIZE 0 chip->bbt_md (-1)-0,72
BUF_SIZE 0 chip->bbt_md->pattern (-1),9
BUF_SIZE 0 chip->bbt_td (-1)-0,72
BUF_SIZE 0 chip->bbt_td->pattern (-1),9
CAPPED_DATA 0 chip 1
DATA_SOURCE 0 chip $0
STR_LEN 0 chip->bbt_md->pattern (-1),8
STR_LEN 0 chip->bbt_td->pattern (-1),8
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 chip->priv->curr_column s32min-s32max[c]
HOST_DATA 0 chip->priv->curr_page_addr 1-s32max[c]
HOST_DATA 0 chip->priv->offset 0-s32max[c]
HOST_DATA 0 *chip->oob_poi 0-255
HOST_DATA 0 *chip->priv->data_buf 0-255
HOST_DATA 0 *chip->priv->data_buffer_dma 0-255
HOST_DATA 0 *chip->priv->raw_buffer 0-255

drivers/mtd/nand/raw/nand_bbt.c nand_markbad_bbt() -> bbt_mark_entry()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->bbt 1-u64max
PARAM_VALUE 2 mark 1
CAPPED_DATA 0 chip 1
DATA_SOURCE 0 chip $0
NOCHECK_CALL
HOST_DATA 0 chip->cur_cs 1-s32max[c]
HOST_DATA 0 *chip->oob_poi 0-255

drivers/mtd/nand/raw/nand_bbt.c read_bbt() -> bbt_mark_entry()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->bbt 16,4096-ptr_max
PARAM_VALUE 2 mark 2
BUF_SIZE 0 chip->bbt_md (-1)-0,72
BUF_SIZE 0 chip->bbt_md->pattern (-1),9
BUF_SIZE 0 chip->bbt_td (-1)-0,72
BUF_SIZE 0 chip->bbt_td->pattern (-1),9
CAPPED_DATA 0 chip 1
DATA_SOURCE 0 chip $0
STR_LEN 0 chip->bbt_md->pattern (-1),8
STR_LEN 0 chip->bbt_td->pattern (-1),8
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 *chip->oob_poi 0-255
NO_OVERFLOW_SIMPLE 0 chip->nr_secure_regions

drivers/mtd/nand/raw/nand_bbt.c read_bbt() -> bbt_mark_entry()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->bbt 16,4096-ptr_max
PARAM_VALUE 2 mark 3
BUF_SIZE 0 chip->bbt_md (-1)-0,72
BUF_SIZE 0 chip->bbt_md->pattern (-1),9
BUF_SIZE 0 chip->bbt_td (-1)-0,72
BUF_SIZE 0 chip->bbt_td->pattern (-1),9
CAPPED_DATA 0 chip 1
DATA_SOURCE 0 chip $0
STR_LEN 0 chip->bbt_md->pattern (-1),8
STR_LEN 0 chip->bbt_td->pattern (-1),8
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 *chip->oob_poi 0-255
NO_OVERFLOW_SIMPLE 0 chip->nr_secure_regions

drivers/mtd/nand/raw/nand_bbt.c read_bbt() -> bbt_mark_entry()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->bbt 16,4096-ptr_max
PARAM_VALUE 2 mark 1
BUF_SIZE 0 chip->bbt_md (-1)-0,72
BUF_SIZE 0 chip->bbt_md->pattern (-1),9
BUF_SIZE 0 chip->bbt_td (-1)-0,72
BUF_SIZE 0 chip->bbt_td->pattern (-1),9
CAPPED_DATA 0 chip 1
DATA_SOURCE 0 chip $0
STR_LEN 0 chip->bbt_md->pattern (-1),8
STR_LEN 0 chip->bbt_td->pattern (-1),8
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 *chip->oob_poi 0-255
NO_OVERFLOW_SIMPLE 0 chip->nr_secure_regions