Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
lib/lru_cache.c lc_get() -> __lc_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | flags | 1 |
| DATA_SOURCE | 0 | lc | $0 |
| DATA_SOURCE | 1 | enr | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | enr | 0-65537[c] |
| USER_DATA | 1 | enr | 0-65537[c] |
| LOCK2 | &device->al_lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct drbd_device)->al_lock |
lib/lru_cache.c lc_get_cumulative() -> __lc_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | enr | 0-4294967294 |
| PARAM_VALUE | 2 | flags | 3 |
| CAPPED_DATA | 1 | enr | 1 |
| DATA_SOURCE | 0 | lc | $0 |
| DATA_SOURCE | 1 | enr | $1 |
| PREEMPT_ADD | |||
| LOCK2 | &device->al_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct drbd_device)->al_lock |
lib/lru_cache.c lc_try_get() -> __lc_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | flags | 0 |
| DATA_SOURCE | 0 | lc | $0 |
| DATA_SOURCE | 1 | enr | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | enr | 0-u32max[c] |
| USER_DATA | 1 | enr | 0-u32max[c] |
| LOCK2 | &device->al_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct drbd_device)->al_lock |