Documented in 1 files:
Defined in 1 files as a function:
Referenced in 7 files:
- arch/arm64/kvm/hypercalls.c, line 169
- drivers/gpu/drm/nouveau/nouveau_uvmm.c, line 1996
- fs/btrfs/lru_cache.c
- lib/maple_tree.c, line 6201
- lib/region_alloc_benchmark.c, line 154
- lib/test_maple_tree.c
- tools/testing/radix-tree/maple.c, line 35648
Smatch caller information:
lib/maple_tree.c mas_dup_build() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &(&mas)->tree->ma_lock | ||
| HALF_LOCKED2 | &(&new_mas)->tree->ma_lock |
fs/btrfs/lru_cache.c btrfs_lru_cache_clear() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_root | 1-u64max |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->fs_info->commit_root_sem |
fs/btrfs/lru_cache.c btrfs_lru_cache_remove() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| TASK_NOT_RUNNING |
lib/test_maple_tree.c check_gap_combining() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | mt | $0 |
lib/test_maple_tree.c check_gap_combining() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_root | 1-u64max |
| DATA_SOURCE | 0 | mt | $0 |
lib/test_maple_tree.c check_lower_bound_split() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | mt | $0 |
lib/test_maple_tree.c check_lower_bound_split() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_root | 1-u64max |
| DATA_SOURCE | 0 | mt | $0 |
lib/test_maple_tree.c check_next_entry() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | mt | $0 |
lib/test_maple_tree.c check_next_entry() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_root | 1-u64max |
| DATA_SOURCE | 0 | mt | $0 |
lib/test_maple_tree.c check_prev_entry() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | mt | $0 |
lib/test_maple_tree.c check_prev_entry() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_root | 1-u64max |
| DATA_SOURCE | 0 | mt | $0 |
lib/test_maple_tree.c check_ranges() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 697437168751288320 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
| DATA_SOURCE | 0 | mt | $0 |
lib/test_maple_tree.c check_ranges() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 697437168751288320 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
| DATA_SOURCE | 0 | mt | $0 |
lib/test_maple_tree.c check_rev_seq() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | mt | $0 |
lib/test_maple_tree.c check_rev_seq() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_root | 1-u64max |
| DATA_SOURCE | 0 | mt | $0 |
lib/test_maple_tree.c check_seq() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| CAPPED_DATA | 0 | mt->ma_root | 1 |
| DATA_SOURCE | 0 | mt | $0 |
lib/test_maple_tree.c check_seq() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_root | 1-u64max |
| CAPPED_DATA | 0 | mt->ma_root | 1 |
| DATA_SOURCE | 0 | mt | $0 |
lib/test_maple_tree.c check_store_null() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 697437168751288320 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
| DATA_SOURCE | 0 | mt | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &(&mas)->tree->ma_lock |
lib/test_maple_tree.c check_store_null() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 697437168751288320 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
| DATA_SOURCE | 0 | mt | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &(&mas)->tree->ma_lock |
lib/test_maple_tree.c check_store_null() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 697437168751288320 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
| DATA_SOURCE | 0 | mt | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &(&mas)->tree->ma_lock |
lib/test_maple_tree.c check_store_null() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 697437168751288320 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
| DATA_SOURCE | 0 | mt | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &(&mas)->tree->ma_lock |
lib/test_maple_tree.c check_store_null() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 697437168751288320 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
| DATA_SOURCE | 0 | mt | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &(&mas)->tree->ma_lock |
lib/test_maple_tree.c check_store_null() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 697437168751288320 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
| DATA_SOURCE | 0 | mt | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &(&mas)->tree->ma_lock |
lib/test_maple_tree.c check_store_null() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 697437168751288320 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
| DATA_SOURCE | 0 | mt | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &(&mas)->tree->ma_lock |
lib/test_maple_tree.c check_store_null() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 697437168751288320 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
| DATA_SOURCE | 0 | mt | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &(&mas)->tree->ma_lock |
lib/test_maple_tree.c check_store_null() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 697437168751288320 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
| DATA_SOURCE | 0 | mt | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &(&mas)->tree->ma_lock |
lib/test_maple_tree.c check_store_null() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 697437168751288320 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
| DATA_SOURCE | 0 | mt | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &(&mas)->tree->ma_lock |
lib/test_maple_tree.c check_store_null() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 697437168751288320 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
| DATA_SOURCE | 0 | mt | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &(&mas)->tree->ma_lock |
lib/test_maple_tree.c check_store_null() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 697437168751288320 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
| DATA_SOURCE | 0 | mt | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &(&mas)->tree->ma_lock |
lib/test_maple_tree.c check_upper_bound_split() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | mt | $0 |
lib/test_maple_tree.c check_upper_bound_split() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_root | 1-u64max |
| DATA_SOURCE | 0 | mt | $0 |
lib/region_alloc_benchmark.c benchmark_maple_tree() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 2073650329620516864 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
drivers/gpu/drm/nouveau/nouveau_uvmm.c nouveau_uvmm_fini() -> mtree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &uvmm->mutex | ||
| HALF_LOCKED2 | &drm->clients_lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct nouveau_uvmm)->mutex |