Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/mtd/ubi/gluebi.c gluebi_read() -> ubi_read()

Type Parameter Key Value
BUF_SIZE 2 buf (-1)-s32max
BUF_SIZE 2 buf (-1)-s32max
CAPPED_DATA 4 len 1
DATA_SOURCE 2 buf $4
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 lnum 0-s32max[c]
HOST_DATA 2 buf 4096-ptr_max[c]
HOST_DATA 3 offset 0-s32max[c]
HOST_DATA 4 len 3-s32max[c]
USER_DATA 1 lnum 0-s32max[c]
USER_DATA 2 buf 4096-ptr_max[c][u]
USER_DATA 2 *buf 0-255
USER_DATA 3 offset 0-s32max[c]
USER_DATA 4 len 3-s32max[c]
UNITS 3 offset unit_byte
UNITS 4 len unit_byte
USER_PTR 2 buf
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &master->master.chrdev_lock
HALF_LOCKED2 global &mtd_table_mutex

fs/ubifs/io.c ubifs_leb_read() -> ubi_read()

Type Parameter Key Value
BUF_SIZE 0 desc (-1),16
BUF_SIZE 0 desc (-1),16
DATA_SOURCE 1 lnum $1
DATA_SOURCE 2 buf $2
DATA_SOURCE 3 offset $3
DATA_SOURCE 4 len $4
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 lnum->free
NO_OVERFLOW_SIMPLE 3 offset
NO_OVERFLOW_SIMPLE 4 len
UNITS 1 lnum unit_byte
UNITS 2 buf unit_byte
UNITS 3 offset unit_byte
UNITS 4 len unit_byte
BYTE_COUNT 2 ==buf4 8050
HALF_LOCKED2 &c->commit_sem
HALF_LOCKED2 &c->lp_mutex
HALF_LOCKED2 &c->umount_mutex
HALF_LOCKED2 &ui->ui_mutex

drivers/mtd/ubi/nvmem.c ubi_nvmem_reg_read() -> ubi_read()

Type Parameter Key Value
PARAM_VALUE 0 desc 4096-ptr_max
PARAM_VALUE 0 desc->mode 1
PARAM_VALUE 0 desc->vol 4096-ptr_max
PARAM_VALUE 0 desc->vol->exclusive 0-1
PARAM_VALUE 0 desc->vol->is_dead 0
PARAM_VALUE 0 desc->vol->metaonly 0-1
PARAM_VALUE 0 desc->vol->ubi->fm_eba_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 desc->vol->ubi->fm_eba_sem.first_waiter->type 0-1
PARAM_VALUE 0 desc->vol->ubi->fm_protect.first_waiter->handoff_set 0-1
PARAM_VALUE 0 desc->vol->ubi->fm_protect.first_waiter->type 0-1
PARAM_VALUE 0 desc->vol->ubi->work_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 desc->vol->ubi->work_sem.first_waiter->type 0-1
BUF_SIZE 0 desc 16
BUF_SIZE 2 buf (-1)-s32max
CAPPED_DATA 3 offset 1
CAPPED_DATA 4 len 1
DATA_SOURCE 0 desc r ubi_open_volume
DATA_SOURCE 2 buf $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 lnum s32min-s32max
USER_DATA 2 *buf 0-255
USER_DATA 3 offset 0-s32max[c]
USER_DATA 4 len 2-s32max[c]
UNITS 3 offset unit_byte
UNITS 4 len unit_byte
USER_PTR 2 buf
HALF_LOCKED2 &of->mutex