Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/mtdcore.c mtd_lock_user_prot_reg() -> (struct mtd_info)->_lock_user_prot_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->_lock_user_prot_reg | 1-u64max |
| PARAM_VALUE | 0 | mtd->parent | 0 |
| PARAM_VALUE | 0 | mtd->parent->parent | 0 |
| PARAM_VALUE | 2 | len | 1-u64max |
| DATA_SOURCE | 0 | mtd | r mtd_get_master |
| DATA_SOURCE | 1 | from | $1 |
| DATA_SOURCE | 2 | len | $2 |
| CONTAINER | 0 | -216+0 | $(-1) |
| USER_DATA | 1 | from | 0-4294967295 |
| USER_DATA | 2 | len | 1-u32max |
| LOCK2 | &master->master.chrdev_lock | ||
| TYPE_LOCK | (struct mtd_master)->chrdev_lock |