Home
last modified time | relevance | path

Searched refs:subvol_inum (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.12.1/fs/bcachefs/
Ddirent.h34 int bch2_dirent_read_target(struct btree_trans *, subvol_inum,
35 struct bkey_s_c_dirent, subvol_inum *);
48 int bch2_dirent_create(struct btree_trans *, subvol_inum,
65 subvol_inum, struct bch_hash_info *,
66 subvol_inum, struct bch_hash_info *,
67 const struct qstr *, subvol_inum *, u64 *,
68 const struct qstr *, subvol_inum *, u64 *,
72 subvol_inum, const struct bch_hash_info *,
73 const struct qstr *, subvol_inum *, unsigned);
74 u64 bch2_dirent_lookup(struct bch_fs *, subvol_inum,
[all …]
Dfs-common.h14 int bch2_create_trans(struct btree_trans *, subvol_inum,
21 subvol_inum, unsigned);
24 subvol_inum, struct bch_inode_unpacked *,
25 subvol_inum, struct bch_inode_unpacked *,
28 int bch2_unlink_trans(struct btree_trans *, subvol_inum,
34 subvol_inum, struct bch_inode_unpacked *,
35 subvol_inum, struct bch_inode_unpacked *,
Dio_misc.h5 int bch2_extent_fallocate(struct btree_trans *, subvol_inum, struct btree_iter *,
9 subvol_inum, u64, s64 *);
10 int bch2_fpunch(struct bch_fs *c, subvol_inum, u64, u64, s64 *);
21 int bch2_truncate(struct bch_fs *, subvol_inum, u64, u64 *);
32 int bch2_fcollapse_finsert(struct bch_fs *, subvol_inum, u64, u64, bool, s64 *);
Ddirent.c84 static bool dirent_is_visible(subvol_inum inum, struct bkey_s_c k) in dirent_is_visible()
167 subvol_inum dir, u8 type, in dirent_create_key()
212 subvol_inum dir_inum = { .subvol = dir_subvol, .inum = dir }; in bch2_dirent_create_snapshot()
232 int bch2_dirent_create(struct btree_trans *trans, subvol_inum dir, in bch2_dirent_create()
253 int bch2_dirent_read_target(struct btree_trans *trans, subvol_inum dir, in bch2_dirent_read_target()
254 struct bkey_s_c_dirent d, subvol_inum *target) in bch2_dirent_read_target()
278 subvol_inum src_dir, struct bch_hash_info *src_hash, in bch2_dirent_rename()
279 subvol_inum dst_dir, struct bch_hash_info *dst_hash, in bch2_dirent_rename()
280 const struct qstr *src_name, subvol_inum *src_inum, u64 *src_offset, in bch2_dirent_rename()
281 const struct qstr *dst_name, subvol_inum *dst_inum, u64 *dst_offset, in bch2_dirent_rename()
[all …]
Dacl.h33 int bch2_set_acl_trans(struct btree_trans *, subvol_inum,
37 int bch2_acl_chmod(struct btree_trans *, subvol_inum,
43 static inline int bch2_set_acl_trans(struct btree_trans *trans, subvol_inum inum, in bch2_set_acl_trans()
50 static inline int bch2_acl_chmod(struct btree_trans *trans, subvol_inum inum, in bch2_acl_chmod()
Dinode.h112 struct bch_inode_unpacked *, subvol_inum, unsigned, bool);
117 subvol_inum inum, unsigned flags) in bch2_inode_peek_nowarn()
125 subvol_inum inum, unsigned flags) in bch2_inode_peek()
157 int bch2_inode_rm(struct bch_fs *, subvol_inum);
160 subvol_inum,
162 int bch2_inode_find_by_inum_trans(struct btree_trans *, subvol_inum,
164 int bch2_inode_find_by_inum(struct bch_fs *, subvol_inum,
263 int bch2_inum_opts_get(struct btree_trans*, subvol_inum, struct bch_io_opts *);
Dstr_hash.h140 bool (*is_visible)(subvol_inum inum, struct bkey_s_c);
143 static inline bool is_visible_key(struct bch_hash_desc desc, subvol_inum inum, struct bkey_s_c k) in is_visible_key()
156 subvol_inum inum, const void *key, in bch2_hash_lookup_in_snapshot()
187 subvol_inum inum, const void *key, in bch2_hash_lookup()
203 subvol_inum inum, const void *key) in bch2_hash_hole()
259 subvol_inum inum, u32 snapshot, in bch2_hash_set_or_get_in_snapshot()
318 subvol_inum inum, u32 snapshot, in bch2_hash_set_in_snapshot()
340 subvol_inum inum, in bch2_hash_set()
382 subvol_inum inum, const void *key) in bch2_hash_delete()
Dfs-common.c20 subvol_inum dir, in bch2_create_trans()
27 subvol_inum snapshot_src, in bch2_create_trans()
33 subvol_inum new_inum = dir; in bch2_create_trans()
61 snapshot_src = (subvol_inum) { 0 }; in bch2_create_trans()
187 subvol_inum dir, struct bch_inode_unpacked *dir_u, in bch2_link_trans()
188 subvol_inum inum, struct bch_inode_unpacked *inode_u, in bch2_link_trans()
243 subvol_inum dir, in bch2_unlink_trans()
254 subvol_inum inum; in bch2_unlink_trans()
378 subvol_inum src_dir, struct bch_inode_unpacked *src_dir_u, in bch2_rename_trans()
379 subvol_inum dst_dir, struct bch_inode_unpacked *dst_dir_u, in bch2_rename_trans()
[all …]
Dfs.h17 subvol_inum ei_inum;
52 static inline subvol_inum inode_inum(struct bch_inode_info *inode) in inode_inum()
147 struct dentry *, umode_t, dev_t, subvol_inum, unsigned);
170 struct inode *bch2_vfs_inode_get(struct bch_fs *, subvol_inum);
Dio_misc.c24 subvol_inum inum, in bch2_extent_fallocate()
139 subvol_inum inum, u64 end, in bch2_fpunch_at()
192 int bch2_fpunch(struct bch_fs *c, subvol_inum inum, u64 start, u64 end, in bch2_fpunch()
226 subvol_inum inum, in truncate_set_isize()
249 subvol_inum inum = { le32_to_cpu(op->v.subvol), le64_to_cpu(op->v.inum) }; in __bch2_resume_logged_op_truncate()
278 int bch2_truncate(struct bch_fs *c, subvol_inum inum, u64 new_i_size, u64 *i_sectors_delta) in bch2_truncate()
318 static int adjust_i_size(struct btree_trans *trans, subvol_inum inum, in adjust_i_size()
360 subvol_inum inum = { le32_to_cpu(op->v.subvol), le64_to_cpu(op->v.inum) }; in __bch2_resume_logged_op_finsert()
509 int bch2_fcollapse_finsert(struct bch_fs *c, subvol_inum inum, in bch2_fcollapse_finsert()
Dfs.c47 static void bch2_vfs_inode_init(struct btree_trans *, subvol_inum,
155 static bool subvol_inum_eq(subvol_inum a, subvol_inum b) in subvol_inum_eq()
162 const subvol_inum *inum = data; in bch2_vfs_inode_hash_fn()
178 const subvol_inum *v = arg->key; in bch2_vfs_inode_cmp_fn()
186 .key_len = sizeof(subvol_inum),
197 subvol_inum inum = (subvol_inum) { .inum = p.offset }; in bch2_inode_or_descendents_is_open()
271 static struct bch_inode_info *__bch2_inode_hash_find(struct bch_fs *c, subvol_inum inum) in __bch2_inode_hash_find()
278 subvol_inum inum) in __wait_on_freeing_inode()
293 subvol_inum inum) in bch2_inode_hash_find()
443 subvol_inum inum, in bch2_inode_hash_init_insert()
[all …]
Dreflink.h76 s64 bch2_remap_range(struct bch_fs *, subvol_inum, u64,
77 subvol_inum, u64, u64, u64, s64 *);
Dio_read.h125 subvol_inum, struct bch_io_failures *, unsigned flags);
128 subvol_inum inum) in bch2_read()
Dsubvolume_types.h36 } subvol_inum; typedef
Dxattr.h41 int bch2_xattr_set(struct btree_trans *, subvol_inum,
Dinode.c338 subvol_inum inum, unsigned flags, in __bch2_inode_peek()
944 subvol_inum inum, enum btree_id id) in bch2_inode_delete_keys()
997 int bch2_inode_rm(struct bch_fs *c, subvol_inum inum) in bch2_inode_rm()
1066 subvol_inum inum, in bch2_inode_find_by_inum_nowarn_trans()
1079 subvol_inum inum, in bch2_inode_find_by_inum_trans()
1091 int bch2_inode_find_by_inum(struct bch_fs *c, subvol_inum inum, in bch2_inode_find_by_inum()
1152 int bch2_inum_opts_get(struct btree_trans *trans, subvol_inum inum, struct bch_io_opts *opts) in bch2_inum_opts_get()
Dio_write.h61 int bch2_extent_update(struct btree_trans *, subvol_inum,
Dacl.c316 int bch2_set_acl_trans(struct btree_trans *trans, subvol_inum inum, in bch2_set_acl_trans()
406 int bch2_acl_chmod(struct btree_trans *trans, subvol_inum inum, in bch2_acl_chmod()
Dfs-io-pagecache.h137 int bch2_folio_set(struct bch_fs *, subvol_inum, struct folio **, unsigned);
Dfs-ioctl.c219 subvol_inum inum; in bch2_ioc_reinherit_attrs()
384 subvol_inum snapshot_src = { 0 }; in bch2_ioctl_subvolume_create()
Dreflink.c426 subvol_inum dst_inum, u64 dst_offset, in bch2_remap_range()
427 subvol_inum src_inum, u64 src_offset, in bch2_remap_range()
Dfs-io.c917 subvol_inum inum = inode_inum(inode); in bch2_seek_data()
953 subvol_inum inum = inode_inum(inode); in bch2_seek_hole()
Dfsck.c163 subvol_inum dir, struct qstr *name, in lookup_dirent_in_snapshot()
223 subvol_inum root_inum = { .subvol = le32_to_cpu(st.master_subvol) }; in lookup_lostfound()
510 (subvol_inum) { s.k->p.offset, le64_to_cpu(s.v->inode) }, in reattach_subvol()
1049 (subvol_inum) { 0, old.k->p.inode }, in fsck_rename_dirent()
1116 (subvol_inum) { 0, hash_k.k->p.inode }, in hash_check_key()
2721 (subvol_inum) { s.k->p.offset, le64_to_cpu(s.v->inode) }, in check_subvol_path()
Dio_read.c455 subvol_inum inum = { in bch2_rbio_retry()
1150 struct bvec_iter bvec_iter, subvol_inum inum, in __bch2_read()
Dxattr.c164 int bch2_xattr_set(struct btree_trans *trans, subvol_inum inum, in bch2_xattr_set()

12