Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/nvdimm/badrange.c add_badrange() -> append_badrange_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | badrange | 4096-ptr_max |
| PARAM_VALUE | 0 | badrange->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | badrange->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | bre | 4096-ptr_max |
| BUF_SIZE | 1 | bre | 32 |
| CAPPED_DATA | 0 | &badrange->list | 1 |
| DATA_SOURCE | 0 | badrange | $0 |
| DATA_SOURCE | 1 | bre | r _kzalloc_noprof |
| DATA_SOURCE | 2 | addr | $1 |
| DATA_SOURCE | 3 | length | $2 |
| PARAM_COMPARE | 0 | &badrange->list | == $0->list.next |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &badrange->lock | |
| HALF_LOCKED2 | &acpi_desc->init_mutex | ||
| HALF_LOCKED2 | global &acpi_desc_lock | ||
| TYPE_LOCK | (struct badrange)->lock |
drivers/nvdimm/badrange.c add_badrange() -> append_badrange_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | badrange | 4096-ptr_max |
| PARAM_VALUE | 0 | badrange->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | bre | 4096-ptr_max |
| BUF_SIZE | 1 | bre | 32 |
| CAPPED_DATA | 0 | &badrange->list | 1 |
| DATA_SOURCE | 0 | badrange | $0 |
| DATA_SOURCE | 1 | bre | r _kzalloc_noprof |
| DATA_SOURCE | 2 | addr | $1 |
| DATA_SOURCE | 3 | length | $2 |
| PARAM_COMPARE | 0 | &badrange->list | != $0->list.next |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | addr | unit_byte |
| LOCK2 | 0 | &badrange->lock | |
| HALF_LOCKED2 | &acpi_desc->init_mutex | ||
| HALF_LOCKED2 | global &acpi_desc_lock | ||
| TYPE_LOCK | (struct badrange)->lock |
drivers/nvdimm/badrange.c alloc_and_append_badrange_entry() -> append_badrange_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | badrange | 4096-ptr_max |
| PARAM_VALUE | 0 | badrange->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | bre | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 1-u64max |
| BUF_SIZE | 1 | bre | 32 |
| CAPPED_DATA | 2 | addr | 1 |
| CAPPED_DATA | 2 | addr | 1 |
| DATA_SOURCE | 0 | badrange | $0 |
| DATA_SOURCE | 1 | bre | r _kzalloc_noprof |
| DATA_SOURCE | 2 | addr | $1 |
| DATA_SOURCE | 3 | length | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | addr | unit_byte |
| UNITS | 3 | length | unit_byte |
| LOCK2 | 0 | &badrange->lock | |
| TYPE_LOCK | (struct badrange)->lock |