Lines Matching refs:xfs_iext_rec
36 struct xfs_iext_rec { struct
45 static bool xfs_iext_rec_is_empty(struct xfs_iext_rec *rec) in xfs_iext_rec_is_empty() argument
50 static inline void xfs_iext_rec_clear(struct xfs_iext_rec *rec) in xfs_iext_rec_clear()
58 struct xfs_iext_rec *rec, in xfs_iext_set()
78 struct xfs_iext_rec *rec) in xfs_iext_get()
96 sizeof(struct xfs_iext_rec),
127 struct xfs_iext_rec recs[RECS_PER_LEAF];
134 return ifp->if_bytes / sizeof(struct xfs_iext_rec); in xfs_iext_count()
144 static inline struct xfs_iext_rec *cur_rec(struct xfs_iext_cursor *cur) in cur_rec()
294 struct xfs_iext_rec *rec, in xfs_iext_rec_cmp()
590 ifp->if_u1.if_root = kmem_zalloc(sizeof(struct xfs_iext_rec), KM_NOFS); in xfs_iext_alloc_root()
603 size_t new_size = ifp->if_bytes + sizeof(struct xfs_iext_rec); in xfs_iext_realloc_root()
607 if (new_size / sizeof(struct xfs_iext_rec) == RECS_PER_LEAF) in xfs_iext_realloc_root()
668 ifp->if_bytes += sizeof(struct xfs_iext_rec); in xfs_iext_insert()
889 ifp->if_bytes -= sizeof(struct xfs_iext_rec); in xfs_iext_remove()
940 struct xfs_iext_rec *rec = cur_rec(cur); in xfs_iext_lookup_extent()