mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
21 lines
744 B
C
21 lines
744 B
C
#ifndef _BCACHE_INODE_H
|
|
#define _BCACHE_INODE_H
|
|
|
|
extern const struct bkey_ops bch_bkey_inode_ops;
|
|
|
|
ssize_t bch_inode_status(char *, size_t, const struct bkey *);
|
|
|
|
void bch_inode_init(struct cache_set *, struct bkey_i_inode *,
|
|
uid_t, gid_t, umode_t, dev_t);
|
|
int bch_inode_create(struct cache_set *, struct bkey_i *, u64, u64, u64 *);
|
|
int bch_inode_truncate(struct cache_set *, u64, u64,
|
|
struct extent_insert_hook *, u64 *);
|
|
int bch_inode_rm(struct cache_set *, u64);
|
|
int bch_inode_update(struct cache_set *, struct bkey_i *, u64 *);
|
|
|
|
int bch_inode_find_by_inum(struct cache_set *, u64, struct bkey_i_inode *);
|
|
int bch_cached_dev_inode_find_by_uuid(struct cache_set *, uuid_le *,
|
|
struct bkey_i_inode_blockdev *);
|
|
|
|
#endif
|