Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/mtd/mtdchar.c mtdchar_blkpg_ioctl() -> mtd_add_partition()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->parent | 0 |
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| BUF_SIZE | 1 | name | 64 |
| DATA_SOURCE | 0 | parent | $0 |
| CAPABLE | 0 | 21 | |
| TERMINATED | 1 | name | 1 |
| USER_DATA | 1 | *name | 0-255 |
| USER_DATA | 2 | offset | s64min-s64max |
| USER_DATA | 3 | length | s64min-s64max |
| USER_PTR | 1 | name | |
| LOCK2 | &master->master.chrdev_lock | ||
| TYPE_LOCK | (struct mtd_master)->chrdev_lock |