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_reset()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->buf 1-u64max
PARAM_VALUE 0 p->end 4096-ptr_max
PARAM_VALUE 0 p->reversed 0
BUF_SIZE 0 p 256
DATA_SOURCE 0 p $5
NOCHECK_CALL

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

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

fs/btrfs/send.c changed_inode() -> fs_path_reset()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
NOCHECK_CALL

fs/btrfs/send.c check_ino_in_path() -> fs_path_reset()

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

fs/btrfs/send.c fs_path_alloc_reversed() -> fs_path_reset()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->buf_len 224
PARAM_VALUE 0 p->end 4096-ptr_max
PARAM_VALUE 0 p->reversed 1
PARAM_VALUE 0 p->start 4096-ptr_max
BUF_SIZE 0 p 256
DATA_SOURCE 0 p r fs_path_alloc
PREEMPT_ADD
NOCHECK_CALL

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

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
NOCHECK_CALL

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

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

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

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

fs/btrfs/send.c get_inode_path() -> fs_path_reset()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->buf_len 224
PARAM_VALUE 0 p->end 4096-ptr_max
PARAM_VALUE 0 p->reversed 0
PARAM_VALUE 0 p->start 4096-ptr_max
BUF_SIZE 0 p 256
DATA_SOURCE 0 p $2
NOCHECK_CALL

fs/btrfs/send.c init_path() -> fs_path_reset()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->buf_len 224
PARAM_VALUE 0 p->reversed 0
BUF_SIZE 0 p 256
BUF_SIZE 0 p->buf 224
DATA_SOURCE 0 p $0
NOCHECK_CALL

fs/btrfs/send.c iterate_inode_ref() -> fs_path_reset()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->end 4096-ptr_max
PARAM_VALUE 0 p->reversed 1
BUF_SIZE 0 p 256
DATA_SOURCE 0 p r fs_path_alloc_reversed
NOCHECK_CALL

fs/btrfs/send.c path_loop() -> fs_path_reset()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->buf 1-u64max
PARAM_VALUE 0 p->end 4096-ptr_max
PARAM_VALUE 0 p->reversed 0
BUF_SIZE 0 p 256
DATA_SOURCE 0 p $1
NOCHECK_CALL

fs/btrfs/send.c refresh_ref_path() -> fs_path_reset()

Type Parameter Key Value
NOCHECK_CALL

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

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

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

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

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

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