Home
last modified time | relevance | path

Searched refs:bch_inode_unpacked (Results 1 – 22 of 22) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dinode.h80 struct bch_inode_unpacked { struct
95 BITMASK(INODE_STR_HASH, struct bch_inode_unpacked, bi_flags, 20, 24); argument
105 void bch2_inode_pack(struct bkey_inode_buf *, const struct bch_inode_unpacked *);
106 int bch2_inode_unpack(struct bkey_s_c, struct bch_inode_unpacked *);
109 void bch2_inode_unpacked_to_text(struct printbuf *, struct bch_inode_unpacked *);
112 struct bch_inode_unpacked *, subvol_inum, unsigned, bool);
116 struct bch_inode_unpacked *inode, in bch2_inode_peek_nowarn()
124 struct bch_inode_unpacked *inode, in bch2_inode_peek()
133 struct bch_inode_unpacked *, enum btree_iter_update_trigger_flags);
137 struct bch_inode_unpacked *inode) in bch2_inode_write()
[all …]
Dfs-common.h15 struct bch_inode_unpacked *,
16 struct bch_inode_unpacked *,
24 subvol_inum, struct bch_inode_unpacked *,
25 subvol_inum, struct bch_inode_unpacked *,
29 struct bch_inode_unpacked *,
30 struct bch_inode_unpacked *,
34 subvol_inum, struct bch_inode_unpacked *,
35 subvol_inum, struct bch_inode_unpacked *,
36 struct bch_inode_unpacked *,
37 struct bch_inode_unpacked *,
[all …]
Dacl.h5 struct bch_inode_unpacked;
34 struct bch_inode_unpacked *,
38 struct bch_inode_unpacked *,
44 struct bch_inode_unpacked *inode_u, in bch2_set_acl_trans()
51 struct bch_inode_unpacked *inode, in bch2_acl_chmod()
Dinode.c77 const struct bch_inode_unpacked *inode) in bch2_inode_pack_inlined()
132 struct bch_inode_unpacked unpacked; in bch2_inode_pack_inlined()
152 const struct bch_inode_unpacked *inode) in bch2_inode_pack()
158 struct bch_inode_unpacked *unpacked) in bch2_inode_unpack_v1()
168 unsigned offset = offsetof(struct bch_inode_unpacked, _name);\ in bch2_inode_unpack_v1()
191 static int bch2_inode_unpack_v2(struct bch_inode_unpacked *unpacked, in bch2_inode_unpack_v2()
231 struct bch_inode_unpacked *unpacked) in bch2_inode_unpack_v3()
282 struct bch_inode_unpacked *unpacked) in bch2_inode_unpack_slowpath()
326 struct bch_inode_unpacked *unpacked) in bch2_inode_unpack()
337 struct bch_inode_unpacked *inode, in __bch2_inode_peek()
[all …]
Dfs-common.c14 static inline int is_subdir_for_nlink(struct bch_inode_unpacked *inode) in is_subdir_for_nlink()
21 struct bch_inode_unpacked *dir_u, in bch2_create_trans()
22 struct bch_inode_unpacked *new_inode, 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()
244 struct bch_inode_unpacked *dir_u, in bch2_unlink_trans()
245 struct bch_inode_unpacked *inode_u, in bch2_unlink_trans()
336 bool bch2_reinherit_attrs(struct bch_inode_unpacked *dst_u, in bch2_reinherit_attrs()
337 struct bch_inode_unpacked *src_u) in bch2_reinherit_attrs()
378 subvol_inum src_dir, struct bch_inode_unpacked *src_dir_u, in bch2_rename_trans()
[all …]
Dfs.h42 struct bch_inode_unpacked ei_inode;
141 struct bch_inode_unpacked;
175 struct bch_inode_unpacked *, void *);
179 struct bch_inode_unpacked *,
Dfsck.c24 static bool inode_points_to_dirent(struct bch_inode_unpacked *inode, in inode_points_to_dirent()
32 struct bch_inode_unpacked *inode) in dirent_points_to_inode_nowarn()
44 struct bch_inode_unpacked *inode) in dirent_inode_mismatch_msg()
55 struct bch_inode_unpacked *inode) in dirent_points_to_inode()
118 struct bch_inode_unpacked *inode) in lookup_first_inode()
141 struct bch_inode_unpacked *inode) in lookup_inode()
184 struct bch_inode_unpacked dir_inode; in __remove_dirent()
208 struct bch_inode_unpacked *lostfound, in lookup_lostfound()
248 struct bch_inode_unpacked root_inode; in lookup_lostfound()
329 static inline bool inode_should_reattach(struct bch_inode_unpacked *inode) in inode_should_reattach()
[all …]
Dfs.c49 struct bch_inode_unpacked *,
54 struct bch_inode_unpacked *bi, in bch2_inode_update_after_write()
87 struct bch_inode_unpacked inode_u; in bch2_write_inode()
444 struct bch_inode_unpacked *bi, in bch2_inode_hash_init_insert()
465 struct bch_inode_unpacked inode_u; in bch2_vfs_inode_get()
484 struct bch_inode_unpacked dir_u; in __bch2_create()
486 struct bch_inode_unpacked inode_u; in __bch2_create()
619 struct bch_inode_unpacked inode_u; in bch2_lookup_trans()
695 struct bch_inode_unpacked dir_u, inode_u; in __bch2_link()
745 struct bch_inode_unpacked dir_u, inode_u; in __bch2_unlink()
[all …]
Dxattr.h42 struct bch_inode_unpacked *, const struct bch_hash_info *,
Dacl.c317 struct bch_inode_unpacked *inode_u, in bch2_set_acl_trans()
353 struct bch_inode_unpacked inode_u; in bch2_set_acl()
407 struct bch_inode_unpacked *inode, in bch2_acl_chmod()
Dquota.h20 static inline struct bch_qid bch_qid(struct bch_inode_unpacked *u) in bch_qid()
Dxattr.c165 struct bch_inode_unpacked *inode_u, in bch2_xattr_set()
277 struct bch_inode_unpacked *inode, in bch2_xattr_list_bcachefs()
351 struct bch_inode_unpacked inode_u; in bch2_xattr_set_handler()
471 struct bch_inode_unpacked *bi, in inode_opt_set_fn()
Dfs-ioctl.c36 struct bch_inode_unpacked *bi, in bch2_inode_flags_set()
134 struct bch_inode_unpacked *bi, in fssetxattr_inode_update_fn()
200 struct bch_inode_unpacked *bi, in bch2_reinherit_attrs_fn()
Dfs-io.c115 struct bch_inode_unpacked *bi, in inode_set_size()
183 struct bch_inode_unpacked u; in bch2_flush_inode()
367 struct bch_inode_unpacked *inode_u, in bch2_extend()
392 struct bch_inode_unpacked inode_u; in bchfs_truncate()
491 struct bch_inode_unpacked *bi, void *p) in inode_update_times_fn()
Dio_misc.c231 struct bch_inode_unpacked inode_u; in truncate_set_isize()
322 struct bch_inode_unpacked inode_u; in adjust_i_size()
Dsubvolume.c94 struct bch_inode_unpacked inode; in check_subvol()
649 struct bch_inode_unpacked inode; in __bch2_fs_upgrade_for_subvolumes()
Dstr_hash.h45 bch2_hash_info_init(struct bch_fs *c, const struct bch_inode_unpacked *bi) in bch2_hash_info_init()
Dmove.c401 struct bch_inode_unpacked inode; in bch2_move_get_io_opts()
446 struct bch_inode_unpacked inode; in bch2_move_get_io_opts_one()
Dreflink.c567 struct bch_inode_unpacked inode_u; in bch2_remap_range()
Dfs-io-direct.c344 struct bch_inode_unpacked inode; in bch2_dio_write_flush()
Dquota.c486 struct bch_inode_unpacked u; in bch2_fs_quota_read_inode()
Drecovery.c1008 struct bch_inode_unpacked root_inode, lostfound_inode; in bch2_fs_initialize()