|
| | M0_TL_DESCR_DEFINE (ispti, "m0_reqh_service_txid pending an inode",, struct m0_reqh_service_txid, stx_tlink, stx_link_magic, M0_T1FS_INODE_PTI_MAGIC1, M0_T1FS_INODE_PTI_MAGIC2) |
| |
| | M0_TL_DEFINE (ispti,, struct m0_reqh_service_txid) |
| |
| | M0_BOB_DEFINE (M0_INTERNAL, &m0t1fs_inode_bob, m0t1fs_inode) |
| |
| M0_INTERNAL const struct m0_fid * | m0t1fs_inode_fid (const struct m0t1fs_inode *ci) |
| |
| M0_INTERNAL bool | m0t1fs_inode_is_root (const struct inode *inode) |
| |
| M0_INTERNAL bool | m0t1fs_inode_is_dot_motr (const struct inode *inode) |
| |
| M0_INTERNAL bool | m0t1fs_inode_is_dot_motr_fid (const struct inode *inode) |
| |
| static void | init_once (void *foo) |
| |
| M0_INTERNAL int | m0t1fs_inode_cache_init (void) |
| |
| M0_INTERNAL void | m0t1fs_inode_cache_fini (void) |
| |
| M0_INTERNAL struct m0_rm_domain * | m0t1fs_rm_domain_get (struct m0t1fs_sb *sb) |
| |
| M0_INTERNAL void | m0t1fs_file_lock_init (struct m0t1fs_inode *ci, struct m0t1fs_sb *csb) |
| |
| M0_INTERNAL void | m0t1fs_file_lock_fini (struct m0t1fs_inode *ci) |
| |
| static void | m0t1fs_inode_init (struct m0t1fs_inode *ci) |
| |
| static void | m0t1fs_inode_ispti_fini (struct m0t1fs_inode *ci) |
| |
| static void | m0t1fs_inode_fini (struct m0t1fs_inode *ci) |
| |
| M0_INTERNAL struct inode * | m0t1fs_alloc_inode (struct super_block *sb) |
| |
| M0_INTERNAL void | m0t1fs_destroy_inode (struct inode *inode) |
| |
| M0_INTERNAL struct inode * | m0t1fs_root_iget (struct super_block *sb, const struct m0_fid *root_fid) |
| |
| M0_INTERNAL int | m0t1fs_inode_test (struct inode *inode, void *opaque) |
| |
| static int | m0t1fs_inode_set (struct inode *inode, void *opaque) |
| |
| M0_INTERNAL void | m0t1fs_inode_update_blksize (struct inode *inode, struct m0_layout *layout) |
| |
| M0_INTERNAL void | m0t1fs_inode_update (struct inode *inode, struct m0_fop_cob *body) |
| |
| static int | m0t1fs_inode_read (struct inode *inode, struct m0_fop_cob *body) |
| |
| M0_INTERNAL struct inode * | m0t1fs_iget (struct super_block *sb, const struct m0_fid *fid, struct m0_fop_cob *body) |
| |
| static int | m0t1fs_build_layout_instance (struct m0t1fs_sb *csb, const uint64_t layout_id, const struct m0_fid *fid, struct m0_layout_instance **linst) |
| |
| M0_INTERNAL int | m0t1fs_inode_layout_init (struct m0t1fs_inode *ci) |
| |
| M0_INTERNAL int | m0t1fs_inode_layout_rebuild (struct m0t1fs_inode *ci, struct m0_fop_cob *body) |
| |
| M0_INTERNAL int m0t1fs_inode_test |
( |
struct inode * |
inode, |
|
|
void * |
opaque |
|
) |
| |
In file-systems like m0t1fs or nfs, inode number is not enough to identify a file. For such file-systems structure and semantics of file identifier are file-system specific e.g. fid in case of m0t1fs, file handle for nfs.
m0t1fs_inode_test() and m0t1fs_inode_set() are the implementation of interfaces that are used by generic vfs code, to compare identities of inodes, in a generic manner.
Definition at line 332 of file inode.c.