Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
lib/debugobjects.c check_results() -> lookup_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 2283653978083467264 |
| PARAM_VALUE | 1 | b | 4096-ptr_max |
| BUF_SIZE | 0 | addr | 80 |
| BUF_SIZE | 0 | addr | 80 |
| DATA_SOURCE | 0 | addr | $0 |
| DATA_SOURCE | 1 | b | r get_bucket |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | flags | ||
| LOCK2 | flags | ||
| LOCK2 | irq | ||
| LOCK2 | 1 | &b->lock | |
| TYPE_LOCK | (struct debug_bucket)->lock |
lib/debugobjects.c debug_object_active_state() -> lookup_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | b | 4096-ptr_max |
| BUF_SIZE | 0 | addr | (-1),1-262144 |
| BUF_SIZE | 0 | addr | (-1),1-262144 |
| DATA_SOURCE | 0 | addr | $0 |
| DATA_SOURCE | 1 | b | r get_bucket |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | addr | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | 1 | &b->lock | |
| TYPE_LOCK | (struct debug_bucket)->lock |
lib/debugobjects.c debug_object_deactivate() -> lookup_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | b | 4096-ptr_max |
| BUF_SIZE | 0 | addr | (-1),1-s32max |
| BUF_SIZE | 0 | addr | (-1),1-s32max |
| DATA_SOURCE | 0 | addr | $0 |
| DATA_SOURCE | 1 | b | r get_bucket |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | addr | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | 1 | &b->lock | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct debug_bucket)->lock |
lib/debugobjects.c debug_object_destroy() -> lookup_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | b | 4096-ptr_max |
| BUF_SIZE | 0 | addr | (-1),1-s32max |
| BUF_SIZE | 0 | addr | (-1),1-s32max |
| DATA_SOURCE | 0 | addr | $0 |
| DATA_SOURCE | 1 | b | r get_bucket |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | addr | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | 1 | &b->lock | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct debug_bucket)->lock |
lib/debugobjects.c debug_object_free() -> lookup_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | b | 4096-ptr_max |
| BUF_SIZE | 0 | addr | (-1),1-s32max |
| BUF_SIZE | 0 | addr | (-1),1-s32max |
| DATA_SOURCE | 0 | addr | $0 |
| DATA_SOURCE | 1 | b | r get_bucket |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | addr | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | 1 | &b->lock | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct debug_bucket)->lock |
lib/debugobjects.c lookup_object_or_alloc() -> lookup_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | b | 4096-ptr_max |
| BUF_SIZE | 0 | addr | (-1),1-s32max |
| BUF_SIZE | 0 | addr | (-1),1-s32max |
| DATA_SOURCE | 0 | addr | $0 |
| DATA_SOURCE | 1 | b | $1 |
| STR_LEN | 0 | addr | (-1),4-7,9-12,14-16,18,22,24 |
| STR_LEN | 0 | addr | (-1),4-7,9-12,14-16,18,22,24 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | addr | unit_byte |
| LOCK2 | 1 | &b->lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct debug_bucket)->lock |
mm/kmemleak.c pointer_update_refs() -> lookup_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 1-u64max |
| PARAM_VALUE | 1 | b | 0 |
| PREEMPT_ADD | |||
| UNITS | 0 | addr | unit_byte |
| LOCK2 | global &kmemleak_lock | ||
| HALF_LOCKED2 | &scanned->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &scan_mutex |