Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/qgroup.c add_relation_rb() -> __add_relation_rb()

Type Parameter Key Value
PARAM_VALUE 1 member 0,4096-ptr_max
PARAM_VALUE 2 parent 0,4096-ptr_max
BUF_SIZE 0 prealloc (-1),48
BUF_SIZE 0 prealloc (-1),48
DATA_SOURCE 0 prealloc $1
DATA_SOURCE 1 member r find_qgroup_rb
DATA_SOURCE 2 parent r find_qgroup_rb
PREEMPT_ADD
HALF_LOCKED2 &fs_info->qgroup_lock

fs/btrfs/qgroup.c btrfs_add_qgroup_relation() -> __add_relation_rb()

Type Parameter Key Value
PARAM_VALUE 0 prealloc 4096-ptr_max
PARAM_VALUE 1 member 4096-ptr_max
PARAM_VALUE 2 parent 4096-ptr_max
BUF_SIZE 0 prealloc 48
CAPPED_DATA 1 &member->groups 1
DATA_SOURCE 0 prealloc $3
DATA_SOURCE 1 member r find_qgroup_rb
DATA_SOURCE 2 parent r find_qgroup_rb
CAPABLE 0 21
PREEMPT_ADD <- disables preempt
LOCK2 &fs_info->qgroup_ioctl_lock
LOCK2 &fs_info->qgroup_lock
TYPE_LOCK (struct btrfs_fs_info)->qgroup_ioctl_lock
TYPE_LOCK (struct btrfs_fs_info)->qgroup_lock