Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/send.c __get_cur_name_and_parent() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->end 4096-ptr_max
BUF_SIZE 0 p 256
DATA_SOURCE 0 p $5

fs/btrfs/send.c __get_cur_name_and_parent() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->end 4096-ptr_max
BUF_SIZE 0 p 256
DATA_SOURCE 0 p $5

fs/btrfs/send.c __get_cur_name_and_parent() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->end 4096-ptr_max
BUF_SIZE 0 p 256
DATA_SOURCE 0 p $5

fs/btrfs/send.c did_overwrite_first_ref() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->end 4096-ptr_max
BUF_SIZE 0 p 256
DATA_SOURCE 0 p r fs_path_alloc

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

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p (-1),256
BUF_SIZE 0 p (-1),256
DATA_SOURCE 0 p $1

fs/btrfs/send.c fs_path_ensure_buf() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p (-1),256
BUF_SIZE 0 p (-1),256
CAPPED_DATA 0 p->buf_len 1
DATA_SOURCE 0 p $0
STR_LEN 0 p (-1),63
STR_LEN 0 p (-1),63

fs/btrfs/send.c fs_path_prepare_for_add() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p (-1),256
BUF_SIZE 0 p (-1),256
CAPPED_DATA 0 p 1
DATA_SOURCE 0 p $0
STR_LEN 0 p (-1),63
STR_LEN 0 p (-1),63

fs/btrfs/send.c fs_path_unreverse() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p (-1),256
BUF_SIZE 0 p (-1),256
DATA_SOURCE 0 p $0

fs/btrfs/send.c get_cur_inode_path() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max

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

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max

fs/btrfs/send.c is_first_ref() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->end 4096-ptr_max
BUF_SIZE 0 p 256
DATA_SOURCE 0 p r fs_path_alloc

fs/btrfs/send.c send_chmod() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p (-1),256
BUF_SIZE 0 p (-1),256
CAPPED_DATA 0 p 1
DATA_SOURCE 0 p r get_path_for_command

fs/btrfs/send.c send_chown() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p (-1),256
BUF_SIZE 0 p (-1),256
CAPPED_DATA 0 p 1
DATA_SOURCE 0 p r get_path_for_command

fs/btrfs/send.c send_clone() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 256
DATA_SOURCE 0 p r get_cur_inode_path

fs/btrfs/send.c send_clone() -> fs_path_len()

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

fs/btrfs/send.c send_create_inode() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->end 4096-ptr_max
BUF_SIZE 0 p 256
DATA_SOURCE 0 p r fs_path_alloc

fs/btrfs/send.c send_create_inode() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->end 4096-ptr_max
BUF_SIZE 0 p 256
DATA_SOURCE 0 p r fs_path_alloc

fs/btrfs/send.c send_encoded_extent() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 256
DATA_SOURCE 0 p r get_cur_inode_path

fs/btrfs/send.c send_encoded_inline_extent() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 256
DATA_SOURCE 0 p r get_cur_inode_path

fs/btrfs/send.c send_fallocate() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 256
DATA_SOURCE 0 p r get_cur_inode_path

fs/btrfs/send.c send_fileattr() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p (-1),256
BUF_SIZE 0 p (-1),256
CAPPED_DATA 0 p 1
DATA_SOURCE 0 p r get_path_for_command

fs/btrfs/send.c send_hole() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 256
DATA_SOURCE 0 p r get_cur_inode_path

fs/btrfs/send.c send_link() -> fs_path_len()

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

fs/btrfs/send.c send_link() -> fs_path_len()

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

fs/btrfs/send.c send_remove_xattr() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 256
DATA_SOURCE 0 p $1

fs/btrfs/send.c send_rename() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p (-1),256
BUF_SIZE 0 p (-1),256
DATA_SOURCE 0 p $1

fs/btrfs/send.c send_rename() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p (-1),256
BUF_SIZE 0 p (-1),256
DATA_SOURCE 0 p $2

fs/btrfs/send.c send_rmdir() -> fs_path_len()

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

fs/btrfs/send.c send_set_xattr() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 256
DATA_SOURCE 0 p r get_cur_inode_path

fs/btrfs/send.c send_truncate() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p (-1),256
BUF_SIZE 0 p (-1),256
CAPPED_DATA 0 p 1
DATA_SOURCE 0 p r get_path_for_command

fs/btrfs/send.c send_unlink() -> fs_path_len()

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

fs/btrfs/send.c send_update_extent() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 256
DATA_SOURCE 0 p r get_cur_inode_path

fs/btrfs/send.c send_utimes() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p (-1),256
BUF_SIZE 0 p (-1),256
CAPPED_DATA 0 p 1
DATA_SOURCE 0 p r get_path_for_command

fs/btrfs/send.c send_verity() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 256
DATA_SOURCE 0 p $1

fs/btrfs/send.c send_write() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
BUF_SIZE 0 p 256
DATA_SOURCE 0 p r get_cur_inode_path

fs/btrfs/send.c wait_for_parent_move() -> fs_path_len()

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

fs/btrfs/send.c wait_for_parent_move() -> fs_path_len()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->end 4096-ptr_max
BUF_SIZE 0 p 256
DATA_SOURCE 0 p r fs_path_alloc