Lines Matching refs:inode
93 inode_set_iversion_raw(struct inode *inode, u64 val) in inode_set_iversion_raw() argument
95 atomic64_set(&inode->i_version, val); in inode_set_iversion_raw()
110 inode_peek_iversion_raw(const struct inode *inode) in inode_peek_iversion_raw() argument
112 return atomic64_read(&inode->i_version); in inode_peek_iversion_raw()
124 inode_set_max_iversion_raw(struct inode *inode, u64 val) in inode_set_max_iversion_raw() argument
128 cur = inode_peek_iversion_raw(inode); in inode_set_max_iversion_raw()
132 old = atomic64_cmpxchg(&inode->i_version, cur, val); in inode_set_max_iversion_raw()
152 inode_set_iversion(struct inode *inode, u64 val) in inode_set_iversion() argument
154 inode_set_iversion_raw(inode, val << I_VERSION_QUERIED_SHIFT); in inode_set_iversion()
174 inode_set_iversion_queried(struct inode *inode, u64 val) in inode_set_iversion_queried() argument
176 inode_set_iversion_raw(inode, (val << I_VERSION_QUERIED_SHIFT) | in inode_set_iversion_queried()
198 inode_maybe_inc_iversion(struct inode *inode, bool force) in inode_maybe_inc_iversion() argument
213 cur = inode_peek_iversion_raw(inode); in inode_maybe_inc_iversion()
222 old = atomic64_cmpxchg(&inode->i_version, cur, new); in inode_maybe_inc_iversion()
239 inode_inc_iversion(struct inode *inode) in inode_inc_iversion() argument
241 inode_maybe_inc_iversion(inode, true); in inode_inc_iversion()
252 inode_iversion_need_inc(struct inode *inode) in inode_iversion_need_inc() argument
254 return inode_peek_iversion_raw(inode) & I_VERSION_QUERIED; in inode_iversion_need_inc()
269 inode_inc_iversion_raw(struct inode *inode) in inode_inc_iversion_raw() argument
271 atomic64_inc(&inode->i_version); in inode_inc_iversion_raw()
286 inode_peek_iversion(const struct inode *inode) in inode_peek_iversion() argument
288 return inode_peek_iversion_raw(inode) >> I_VERSION_QUERIED_SHIFT; in inode_peek_iversion()
305 inode_query_iversion(struct inode *inode) in inode_query_iversion() argument
309 cur = inode_peek_iversion_raw(inode); in inode_query_iversion()
323 old = atomic64_cmpxchg(&inode->i_version, cur, new); in inode_query_iversion()
353 inode_eq_iversion_raw(const struct inode *inode, u64 old) in inode_eq_iversion_raw() argument
355 return inode_peek_iversion_raw(inode) == old; in inode_eq_iversion_raw()
370 inode_eq_iversion(const struct inode *inode, u64 old) in inode_eq_iversion() argument
372 return inode_peek_iversion(inode) == old; in inode_eq_iversion()