Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/mtd/ubi/kapi.c ubi_get_device_info() -> ubi_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi_num | 0-31 |
| DATA_SOURCE | 0 | ubi_num | $0 |
| HARD_MAX | 0 | ubi_num | 31 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
drivers/mtd/ubi/kapi.c ubi_open_volume() -> ubi_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi_num | 0-31 |
| DATA_SOURCE | 0 | ubi_num | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ubi_num | 0-31 |
| HALF_LOCKED2 | &dev->dev_mutex | ||
| HALF_LOCKED2 | &disk->open_mutex | ||
| HALF_LOCKED2 | global &devices_mutex |
drivers/mtd/ubi/kapi.c ubi_open_volume_nm() -> ubi_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi_num | 0-31 |
| DATA_SOURCE | 0 | ubi_num | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ubi_num | 0-31 |
drivers/mtd/ubi/kapi.c ubi_sync() -> ubi_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ubi_num | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
drivers/mtd/ubi/debug.c dfs_file_read() -> ubi_get_device()
| Type | Parameter | Key | Value |
|---|
drivers/mtd/ubi/debug.c dfs_file_write() -> ubi_get_device()
| Type | Parameter | Key | Value |
|---|
drivers/mtd/ubi/debug.c eraseblk_count_open() -> ubi_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ubi_num | unit_array_size |
drivers/mtd/ubi/build.c ubi_detach_mtd_dev() -> ubi_get_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi_num | 0-31 |
| DATA_SOURCE | 0 | ubi_num | $0 |
| HARD_MAX | 0 | ubi_num | 31 |
| USER_DATA | 0 | ubi_num | 0-31 |
| LOCK2 | global &ubi_devices_mutex |