Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/mtdchar.c mtdchar_write_ioctl() -> adjust_oob_length()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 2 ops 1830130719394844672
PARAM_VALUE 2 ops->len 0-u32max,18446744069414584321-u64max
PARAM_VALUE 2 ops->mode 0-255
PARAM_VALUE 2 ops->ooblen 0-u32max
DATA_SOURCE 0 mtd $0
NOCHECK_CALL
USER_DATA 1 start 0-u64max
USER_DATA 2 ops->len 0-4294967294[c]
USER_DATA 2 ops->mode 0-255
USER_DATA 2 ops->ooblen 0-4294967294[c]
UNITS 1 start unit_byte
USER_PTR 2 ops->datbuf
USER_PTR 2 ops->oobbuf
LOCK2 &master->master.chrdev_lock
TYPE_LOCK (struct mtd_master)->chrdev_lock