Lines Matching defs:inode
3 * alloc.h - persistent object (dat entry/disk inode) allocator/deallocator
20 * @inode: inode of metadata file using this allocator
26 nilfs_palloc_entries_per_group(const struct inode *inode)
28 return 1UL << (inode->i_blkbits + 3 /* log2(8 = CHAR_BITS) */);
31 int nilfs_palloc_init_blockgroup(struct inode *, unsigned int);
32 int nilfs_palloc_get_entry_block(struct inode *, __u64, int,
34 void *nilfs_palloc_block_get_entry(const struct inode *, __u64,
37 int nilfs_palloc_count_max_entries(struct inode *, u64, u64 *);
41 * @pr_entry_nr: entry number (vblocknr or inode number)
53 int nilfs_palloc_prepare_alloc_entry(struct inode *,
55 void nilfs_palloc_commit_alloc_entry(struct inode *,
57 void nilfs_palloc_abort_alloc_entry(struct inode *, struct nilfs_palloc_req *);
58 void nilfs_palloc_commit_free_entry(struct inode *, struct nilfs_palloc_req *);
59 int nilfs_palloc_prepare_free_entry(struct inode *, struct nilfs_palloc_req *);
60 void nilfs_palloc_abort_free_entry(struct inode *, struct nilfs_palloc_req *);
61 int nilfs_palloc_freev(struct inode *, __u64 *, size_t);
92 void nilfs_palloc_setup_cache(struct inode *inode,
94 void nilfs_palloc_clear_cache(struct inode *inode);
95 void nilfs_palloc_destroy_cache(struct inode *inode);