Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/block/rnbd/rnbd-clt.c exists_devpath() -> __exists_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pathname | 274734627813761024 |
| PARAM_VALUE | 1 | sessname | 355965168702828544 |
| BUF_SIZE | 0 | pathname | 255 |
| BUF_SIZE | 0 | pathname | 255 |
| BUF_SIZE | 1 | sessname | 255 |
| BUF_SIZE | 1 | sessname | 255 |
| DATA_SOURCE | 0 | pathname | $0 |
| DATA_SOURCE | 1 | sessname | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &sess_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/block/rnbd/rnbd-clt.c insert_dev_if_not_exists_devpath() -> __exists_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pathname | 4096-ptr_max |
| BUF_SIZE | 1 | sessname | 255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &sess_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |