Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-snap.c __find_snapshots_sharing_cow() -> __lookup_origin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | global &_origins_lock | ||
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/dm-snap.c do_origin() -> __lookup_origin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &_origins_lock | ||
| HALF_LOCKED2 | &md->io_barrier |
drivers/md/dm-snap.c get_origin_minimum_chunksize() -> __lookup_origin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | origin | $0 |
| LOCK2 | &md->suspend_lock | ||
| LOCK2 | global &_origins_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-snap.c origin_write_extent() -> __lookup_origin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | origin | 4096-ptr_max |
| LOCK2 | global &_origins_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-snap.c register_snapshot() -> __lookup_origin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | origin | 4096-ptr_max |
| LOCK2 | global &_origins_lock | ||
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-snap.c reregister_snapshot() -> __lookup_origin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | origin | 4096-ptr_max |
| LOCK2 | &md->suspend_lock | ||
| LOCK2 | global &_origins_lock |
drivers/md/dm-snap.c unregister_snapshot() -> __lookup_origin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | origin | 1 |
| LOCK2 | global &_origins_lock |