Documented in 2 files:

Defined in 2 files as a function:

Referenced in 6 files:

Smatch caller information:

kernel/events/core.c perf_event_groups_insert() -> rb_add()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 1 tree 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &cpuctx->ctx.lock

arch/x86/events/intel/uncore_discovery.c add_uncore_discovery_type() -> rb_add()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 1 tree 5952941395042082816
PREEMPT_ADD
NOCHECK_CALL

arch/x86/events/intel/uncore_discovery.c uncore_find_add_unit() -> rb_add()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 1 tree 4096-ptr_max
BUF_SIZE 1 tree (-1),8
BUF_SIZE 1 tree (-1),8
DATA_SOURCE 1 tree $1
NOCHECK_CALL

kernel/sched/core.c sched_core_enqueue() -> rb_add()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 1 tree 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/btrfs/send.c record_check_dir_ref_in_tree() -> rb_add()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 1 tree 4096-ptr_max
PARAM_VALUE 1 tree->rb_node 0,4096-ptr_max
DATA_SOURCE 1 tree $0
NOCHECK_CALL

fs/btrfs/send.c record_ref_in_tree() -> rb_add()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 1 tree 4096-ptr_max
DATA_SOURCE 1 tree $0
NOCHECK_CALL