Defined in 1 files as a variable:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/md/dm-bufio.c __check_watermark() -> cache_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bc | 4096-ptr_max |
| PARAM_VALUE | 1 | list_mode | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dm_bufio_clients_lock |
drivers/md/dm-bufio.c __check_watermark() -> cache_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bc | 4096-ptr_max |
| PARAM_VALUE | 1 | list_mode | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dm_bufio_clients_lock |
drivers/md/dm-bufio.c cache_total() -> cache_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bc | 4096-ptr_max |
| PARAM_VALUE | 1 | list_mode | 0 |
| DATA_SOURCE | 0 | bc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/md/dm-bufio.c cache_total() -> cache_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bc | 4096-ptr_max |
| PARAM_VALUE | 1 | list_mode | 1 |
| DATA_SOURCE | 0 | bc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/md/dm-bufio.c dm_bufio_client_destroy() -> cache_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bc | 4096-ptr_max |
| PARAM_VALUE | 1 | list_mode | 0-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/md/dm-bufio.c dm_bufio_client_destroy() -> cache_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bc | 4096-ptr_max |
| PARAM_VALUE | 1 | list_mode | 0-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/md/dm-bufio.c dm_bufio_client_destroy() -> cache_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bc | 4096-ptr_max |
| PARAM_VALUE | 1 | list_mode | 0-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/md/dm-bufio.c dm_bufio_write_dirty_buffers() -> cache_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bc | 4096-ptr_max |
| PARAM_VALUE | 1 | list_mode | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/md/dm-bufio.c drop_buffers() -> cache_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bc | 4096-ptr_max |
| PARAM_VALUE | 1 | list_mode | 0-1 |
| FUZZY_MAX | 1 | list_mode | 1 |
| HARD_MAX | 1 | list_mode | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |