Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
lib/lru_cache.c __lc_get() -> __lc_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lc | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->nr_elements | 1-u32max |
| PARAM_VALUE | 2 | include_changing | 1 |
| 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 | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct drbd_device)->al_lock |
lib/lru_cache.c lc_find() -> __lc_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | include_changing | 0 |
| 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 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct drbd_device)->al_lock |
lib/lru_cache.c lc_is_used() -> __lc_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | include_changing | 1 |
| DATA_SOURCE | 0 | lc | $0 |
| DATA_SOURCE | 1 | enr | $1 |
| PREEMPT_ADD | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &device->al_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct drbd_device)->al_lock |