Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 1 from 4096-ptr_max
PARAM_VALUE 1 from->end 4096-ptr_max
PARAM_VALUE 1 from->reversed 1
BUF_SIZE 1 from 256
DATA_SOURCE 0 p $2
DATA_SOURCE 1 from $1

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

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 1 from 4096-ptr_max
BUF_SIZE 0 p (-1),256
BUF_SIZE 0 p (-1),256
DATA_SOURCE 0 p $3
PARAM_COMPARE 0 p != $1
PARAM_COMPARE 1 from != $0

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

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 1 from 4096-ptr_max
PARAM_VALUE 1 from->end 4096-ptr_max
PARAM_VALUE 1 from->reversed 0
BUF_SIZE 1 from (-1),256
BUF_SIZE 1 from (-1),256
DATA_SOURCE 1 from $3
PARAM_COMPARE 0 p != $1
PARAM_COMPARE 1 from != $0

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

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

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

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
DATA_SOURCE 1 from $2

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

Type Parameter Key Value
PARAM_VALUE 1 from 4096-ptr_max
DATA_SOURCE 0 p $1
DATA_SOURCE 1 from $2