Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/mtd/mtdchar.c mtdchar_ioctl() -> mtd_is_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| USER_DATA | 1 | ofs | 0-u32max |
| USER_DATA | 2 | len | 0-u32max |
| LOCK2 | &master->master.chrdev_lock | ||
| TYPE_LOCK | (struct mtd_master)->chrdev_lock |
drivers/mtd/mtdconcat.c concat_is_locked() -> mtd_is_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->size | 1-u64max |
| PARAM_VALUE | 1 | ofs | s64min-(-2),0-s64max |
| CAPPED_DATA | 1 | ofs | 1 |
| CAPPED_DATA | 1 | ofs | 1 |
| DATA_SOURCE | 1 | ofs | $1 |
| DATA_SOURCE | 2 | len | $2 |
| PARAM_COMPARE | 1 | ofs | < $0->size |
| PARAM_COMPARE | 1 | ofs | < $0->size |
| USER_DATA | 1 | ofs | 0-s64max[c] |
| USER_DATA | 2 | len | 0-18446744065119617025[c] |
| UNITS | 1 | ofs | unit_byte |
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &master->master.chrdev_lock |