inode.h (bff796ae6539b50bb3fe595e8db7b72e3255a34d) inode.h (0f120eac34f31e7e6c4904d9e92e2e95e2edfbaa)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _BCACHEFS_INODE_H
3#define _BCACHEFS_INODE_H
4
5#include "opts.h"
6
7extern const char * const bch2_inode_opts[];
8

--- 41 unchanged lines hidden (view full) ---

50 u8 _pad[0 + BCH_INODE_FIELDS()];
51#undef x
52} __attribute__((packed, aligned(8)));
53
54void bch2_inode_pack(struct bch_fs *, struct bkey_inode_buf *,
55 const struct bch_inode_unpacked *);
56int bch2_inode_unpack(struct bkey_s_c_inode, struct bch_inode_unpacked *);
57
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _BCACHEFS_INODE_H
3#define _BCACHEFS_INODE_H
4
5#include "opts.h"
6
7extern const char * const bch2_inode_opts[];
8

--- 41 unchanged lines hidden (view full) ---

50 u8 _pad[0 + BCH_INODE_FIELDS()];
51#undef x
52} __attribute__((packed, aligned(8)));
53
54void bch2_inode_pack(struct bch_fs *, struct bkey_inode_buf *,
55 const struct bch_inode_unpacked *);
56int bch2_inode_unpack(struct bkey_s_c_inode, struct bch_inode_unpacked *);
57
58void bch2_inode_unpacked_to_text(struct printbuf *, struct bch_inode_unpacked *);
59
58struct btree_iter *bch2_inode_peek(struct btree_trans *,
59 struct bch_inode_unpacked *, u64, unsigned);
60int bch2_inode_write(struct btree_trans *, struct btree_iter *,
61 struct bch_inode_unpacked *);
62
63void bch2_inode_init_early(struct bch_fs *,
64 struct bch_inode_unpacked *);
65void bch2_inode_init_late(struct bch_inode_unpacked *, u64,

--- 112 unchanged lines hidden ---
60struct btree_iter *bch2_inode_peek(struct btree_trans *,
61 struct bch_inode_unpacked *, u64, unsigned);
62int bch2_inode_write(struct btree_trans *, struct btree_iter *,
63 struct bch_inode_unpacked *);
64
65void bch2_inode_init_early(struct bch_fs *,
66 struct bch_inode_unpacked *);
67void bch2_inode_init_late(struct bch_inode_unpacked *, u64,

--- 112 unchanged lines hidden ---