Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/send.c apply_dir_move() -> fs_path_add_path()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->end 4096-ptr_max
PARAM_VALUE 1 p2 4096-ptr_max
PARAM_VALUE 1 p2->buf 1-u64max
PARAM_VALUE 1 p2->end 4096-ptr_max
PARAM_VALUE 1 p2->reversed 0
PARAM_VALUE 1 *p2->end 0
BUF_SIZE 0 p 256
BUF_SIZE 1 p2 256
CAPPED_DATA 0 p 1
DATA_SOURCE 0 p r fs_path_alloc
DATA_SOURCE 1 p2 r fs_path_alloc

fs/btrfs/send.c fs_path_copy() -> fs_path_add_path()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->end 4096-ptr_max
PARAM_VALUE 0 p->start 4096-ptr_max
PARAM_VALUE 0 *p->start 0
PARAM_VALUE 1 p2 4096-ptr_max
BUF_SIZE 0 p (-1),256
BUF_SIZE 0 p (-1),256
BUF_SIZE 1 p2 (-1),256
BUF_SIZE 1 p2 (-1),256
DATA_SOURCE 0 p $0
DATA_SOURCE 1 p2 $1

fs/btrfs/send.c get_cur_path() -> fs_path_add_path()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->reversed 1
PARAM_VALUE 1 p2 4096-ptr_max
PARAM_VALUE 1 p2->buf 1-u64max
PARAM_VALUE 1 p2->end 4096-ptr_max
PARAM_VALUE 1 p2->reversed 0
PARAM_VALUE 1 *p2->end 0
BUF_SIZE 0 p (-1),256
BUF_SIZE 0 p (-1),256
BUF_SIZE 1 p2 256
DATA_SOURCE 0 p $3
DATA_SOURCE 1 p2 r fs_path_alloc

fs/btrfs/send.c get_cur_path() -> fs_path_add_path()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->reversed 1
PARAM_VALUE 1 p2 4096-ptr_max
PARAM_VALUE 1 p2->buf 1-u64max
PARAM_VALUE 1 p2->end 4096-ptr_max
PARAM_VALUE 1 p2->reversed 0
PARAM_VALUE 1 *p2->end 0
BUF_SIZE 0 p (-1),256
BUF_SIZE 0 p (-1),256
BUF_SIZE 1 p2 256
DATA_SOURCE 0 p $3
DATA_SOURCE 1 p2 r fs_path_alloc

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

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->end 4096-ptr_max
PARAM_VALUE 1 p2 4096-ptr_max
PARAM_VALUE 1 p2->end 4096-ptr_max
PARAM_VALUE 1 p2->reversed 1
BUF_SIZE 0 p 256
BUF_SIZE 1 p2 256
CAPPED_DATA 0 p 1
DATA_SOURCE 0 p r fs_path_alloc
DATA_SOURCE 1 p2 $2