Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- arch/s390/kvm/gmap.c, line 1048
- drivers/md/raid5-cache.c
- drivers/sh/intc/virq.c, line 255
- kernel/irq/irqdomain.c, line 1738
- lib/radix-tree.c, line 924
Smatch caller information:
fs/f2fs/checkpoint.c __clear_ino_bitmap() -> radix_tree_replace_slot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | slot | 4096-ptr_max |
| PARAM_VALUE | 2 | item | 3-u64max |
| CAPPED_DATA | 1 | *slot | 1 |
| DATA_SOURCE | 1 | slot | r radix_tree_lookup_slot |
| DATA_SOURCE | 2 | item | r xa_mk_value |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &im->ino_lock | ||
| TYPE_LOCK | (struct inode_management)->ino_lock |
fs/f2fs/checkpoint.c __set_ino_bitmap() -> radix_tree_replace_slot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | slot | 4096-ptr_max |
| PARAM_VALUE | 2 | item | 1,3-u64max |
| CAPPED_DATA | 1 | *slot | 1 |
| DATA_SOURCE | 1 | slot | r radix_tree_lookup_slot |
| DATA_SOURCE | 2 | item | r xa_mk_value |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &im->ino_lock | ||
| TYPE_LOCK | (struct inode_management)->ino_lock |
kernel/irq/irqdomain.c irq_domain_fix_revmap() -> radix_tree_replace_slot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | slot | 4096-ptr_max |
| PARAM_VALUE | 2 | item | 4096-ptr_max |
| BUF_SIZE | 2 | item | 56 |
| DATA_SOURCE | 1 | slot | r radix_tree_lookup_slot |
| DATA_SOURCE | 2 | item | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &domain->root->mutex | ||
| TYPE_LOCK | (struct irq_domain)->mutex |
drivers/md/raid5-cache.c r5c_finish_stripe_write_out() -> radix_tree_replace_slot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | slot | 4096-ptr_max |
| PARAM_VALUE | 2 | item | 0,4-18446744073709551608,(-4) |
| CAPPED_DATA | 1 | *slot | 1 |
| DATA_SOURCE | 1 | slot | r radix_tree_lookup_slot |
| PREEMPT_ADD | <- disables preempt | ||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &log->tree_lock | ||
| TYPE_LOCK | (struct r5l_log)->tree_lock |
drivers/md/raid5-cache.c r5c_try_caching_write() -> radix_tree_replace_slot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | slot | 4096-ptr_max |
| CAPPED_DATA | 1 | *slot | 1 |
| DATA_SOURCE | 1 | slot | r radix_tree_lookup_slot |
| PREEMPT_ADD | <- disables preempt | ||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &log->tree_lock | ||
| TYPE_LOCK | (struct r5l_log)->tree_lock |