Home
last modified time | relevance | path

Searched refs:snapshot_src (Results 1 – 3 of 3) sorted by relevance

/linux/fs/bcachefs/
H A Dfs-common.c27 subvol_inum snapshot_src, in bch2_create_trans() argument
61 snapshot_src = (subvol_inum) { 0 }; in bch2_create_trans()
69 if (!snapshot_src.inum) { in bch2_create_trans()
73 ret = bch2_subvolume_get(trans, snapshot_src.subvol, true, in bch2_create_trans()
78 snapshot_src.inum = le64_to_cpu(s.inode); in bch2_create_trans()
81 ret = bch2_inode_peek(trans, &inode_iter, new_inode, snapshot_src, in bch2_create_trans()
86 if (new_inode->bi_subvol != snapshot_src.subvol) { in bch2_create_trans()
112 snapshot_src.subvol, in bch2_create_trans()
H A Dfs-ioctl.c384 subvol_inum snapshot_src = { 0 }; in bch2_ioctl_subvolume_create() local
423 snapshot_src = inode_inum(to_bch_ei(src_path.dentry->d_inode)); in bch2_ioctl_subvolume_create()
470 snapshot_src.subvol = inode_inum(to_bch_ei(dir)).subvol; in bch2_ioctl_subvolume_create()
475 0, snapshot_src, create_flags); in bch2_ioctl_subvolume_create()
H A Dfs.c479 umode_t mode, dev_t rdev, subvol_inum snapshot_src, in __bch2_create() argument
529 default_acl, acl, snapshot_src, flags) ?: in __bch2_create()