Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/mtdchar.c mtdchar_compat_ioctl() -> mtdchar_ioctl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 0-4712,4714-1074041864,1074041866-1076647975,1076647980-1076647992,1076647994-3222031618,3222031621-u32max |
| PARAM_VALUE | 2 | arg | 0-u32max |
| DATA_SOURCE | 0 | file | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| DATA_SOURCE | 2 | arg | $2 |
| USER_DATA | 1 | cmd | 0-4712,4714-1074030081,1074030083-1074041864,1074041866-1076647 |
| LOCK2 | &master->master.chrdev_lock | ||
| TYPE_LOCK | (struct mtd_master)->chrdev_lock |
drivers/mtd/mtdchar.c mtdchar_unlocked_ioctl() -> mtdchar_ioctl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->private_data | 4096-ptr_max |
| DATA_SOURCE | 0 | file | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| DATA_SOURCE | 2 | arg | $2 |
| USER_DATA | 1 | cmd | 0-u32max |
| USER_DATA | 2 | arg | 0-u64max |
| LOCK2 | &master->master.chrdev_lock | ||
| TYPE_LOCK | (struct mtd_master)->chrdev_lock |