inode.h (69c8e6ce022fd87abb9c8dbbdcfd312d6513b055) | inode.h (4c20278eb18ac22691aea6d9ecc8d98acffafd0d) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _BCACHEFS_INODE_H 3#define _BCACHEFS_INODE_H 4 5#include "bkey.h" 6#include "bkey_methods.h" 7#include "opts.h" 8 --- 81 unchanged lines hidden (view full) --- 90} __packed __aligned(8); 91 92void bch2_inode_pack(struct bkey_inode_buf *, const struct bch_inode_unpacked *); 93int bch2_inode_unpack(struct bkey_s_c, struct bch_inode_unpacked *); 94struct bkey_i *bch2_inode_to_v3(struct btree_trans *, struct bkey_i *); 95 96void bch2_inode_unpacked_to_text(struct printbuf *, struct bch_inode_unpacked *); 97 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _BCACHEFS_INODE_H 3#define _BCACHEFS_INODE_H 4 5#include "bkey.h" 6#include "bkey_methods.h" 7#include "opts.h" 8 --- 81 unchanged lines hidden (view full) --- 90} __packed __aligned(8); 91 92void bch2_inode_pack(struct bkey_inode_buf *, const struct bch_inode_unpacked *); 93int bch2_inode_unpack(struct bkey_s_c, struct bch_inode_unpacked *); 94struct bkey_i *bch2_inode_to_v3(struct btree_trans *, struct bkey_i *); 95 96void bch2_inode_unpacked_to_text(struct printbuf *, struct bch_inode_unpacked *); 97 |
98int bch2_inode_peek_nowarn(struct btree_trans *, struct btree_iter *, 99 struct bch_inode_unpacked *, subvol_inum, unsigned); |
|
98int bch2_inode_peek(struct btree_trans *, struct btree_iter *, 99 struct bch_inode_unpacked *, subvol_inum, unsigned); 100 101int bch2_inode_write_flags(struct btree_trans *, struct btree_iter *, 102 struct bch_inode_unpacked *, enum btree_update_flags); 103 104static inline int bch2_inode_write(struct btree_trans *trans, 105 struct btree_iter *iter, --- 110 unchanged lines hidden --- | 100int bch2_inode_peek(struct btree_trans *, struct btree_iter *, 101 struct bch_inode_unpacked *, subvol_inum, unsigned); 102 103int bch2_inode_write_flags(struct btree_trans *, struct btree_iter *, 104 struct bch_inode_unpacked *, enum btree_update_flags); 105 106static inline int bch2_inode_write(struct btree_trans *trans, 107 struct btree_iter *iter, --- 110 unchanged lines hidden --- |