Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/mtdchar.c mtdchar_ioctl() -> otp_select_filemode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mfi | 4096-ptr_max |
| PARAM_VALUE | 0 | mfi->mode | 0 |
| PARAM_VALUE | 0 | mfi->mtd | 4096-ptr_max |
| BUF_SIZE | 0 | mfi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | mfi | s32min-(-2),1-s32max |
| USER_DATA | 1 | mode | s32min-s32max |
| LOCK2 | &master->master.chrdev_lock | ||
| TYPE_LOCK | (struct mtd_master)->chrdev_lock |
drivers/mtd/mtdchar.c mtdchar_ioctl() -> otp_select_filemode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mfi | 4096-ptr_max |
| PARAM_VALUE | 0 | mfi->mode | 0 |
| PARAM_VALUE | 0 | mfi->mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 1-2 |
| BUF_SIZE | 0 | mfi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | mfi | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | mode | $2 |
| USER_DATA | 1 | mode | 1-2 |
| LOCK2 | &master->master.chrdev_lock | ||
| TYPE_LOCK | (struct mtd_master)->chrdev_lock |