Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/btrfs/inode.c data_reloc_print_warning_inode() -> init_ipath()

Type Parameter Key Value
PARAM_VALUE 0 total_bytes 4096
PARAM_VALUE 1 fs_root 4096-ptr_max
PARAM_VALUE 2 path 4096-ptr_max
BUF_SIZE 1 fs_root (-1),2888
BUF_SIZE 1 fs_root (-1),2888
DATA_SOURCE 1 fs_root r btrfs_get_fs_root
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fs_info->commit_root_sem

fs/btrfs/scrub.c scrub_print_warning_inode() -> init_ipath()

Type Parameter Key Value
PARAM_VALUE 0 total_bytes 4096
PARAM_VALUE 1 fs_root 4096-ptr_max
PARAM_VALUE 2 path 4096-ptr_max
PARAM_VALUE 2 path->nodes 4096-ptr_max
PARAM_VALUE 2 path->slots 4096-ptr_max
PARAM_VALUE 2 *path->locks 0
PARAM_VALUE 2 *path->nodes 0
PARAM_VALUE 2 *path->slots 0
BUF_SIZE 1 fs_root (-1),2888
BUF_SIZE 1 fs_root (-1),2888
DATA_SOURCE 1 fs_root r btrfs_get_fs_root
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fs_info->commit_root_sem

fs/btrfs/ioctl.c btrfs_ioctl_ino_to_path() -> init_ipath()

Type Parameter Key Value
PARAM_VALUE 0 total_bytes 0-4096
PARAM_VALUE 2 path 1-u64max
CAPPED_DATA 0 total_bytes 1
DATA_SOURCE 1 fs_root $0
DATA_SOURCE 2 path r btrfs_alloc_path
CAPABLE 0 2
USER_DATA 0 total_bytes 0-4095[c]