Lines Matching defs:inode
14 /* inode in-kernel data */
38 atomic_t stop_eviction; /* hold when working on inode */
42 struct inode vfs_inode;
52 qsize_t usrquota_ihardlimit; /* Default user quota inode hard limit */
54 qsize_t grpquota_ihardlimit; /* Default group quota inode hard limit */
69 ino_t next_ino; /* The next per-sb inode number to use */
70 ino_t __percpu *ino_batch; /* The next per-cpu inode number to use */
78 static inline struct shmem_inode_info *SHMEM_I(struct inode *inode)
80 return container_of(inode, struct shmem_inode_info, vfs_inode);
110 extern void shmem_truncate_range(struct inode *inode, loff_t start, loff_t end);
114 extern bool shmem_is_huge(struct inode *inode, pgoff_t index, bool shmem_huge_force,
117 static __always_inline bool shmem_is_huge(struct inode *inode, pgoff_t index, bool shmem_huge_force,
144 int shmem_get_folio(struct inode *inode, pgoff_t index, struct folio **foliop,
175 * "fallocend" per inode errs on the side of not deleting a reservation when
178 static inline pgoff_t shmem_fallocend(struct inode *inode, pgoff_t eof)
180 return max(eof, SHMEM_I(inode)->fallocend);
183 extern bool shmem_charge(struct inode *inode, long pages);
184 extern void shmem_uncharge(struct inode *inode, long pages);