Lines Matching refs:jext
2175 struct gfs2_journal_extent *jext; in gfs2_free_journal_extents() local
2178 jext = list_first_entry(&jd->extent_list, struct gfs2_journal_extent, list); in gfs2_free_journal_extents()
2179 list_del(&jext->list); in gfs2_free_journal_extents()
2180 kfree(jext); in gfs2_free_journal_extents()
2196 struct gfs2_journal_extent *jext; in gfs2_add_jextent() local
2199 jext = list_last_entry(&jd->extent_list, struct gfs2_journal_extent, list); in gfs2_add_jextent()
2200 if ((jext->dblock + jext->blocks) == dblock) { in gfs2_add_jextent()
2201 jext->blocks += blocks; in gfs2_add_jextent()
2206 jext = kzalloc(sizeof(struct gfs2_journal_extent), GFP_NOFS); in gfs2_add_jextent()
2207 if (jext == NULL) in gfs2_add_jextent()
2209 jext->dblock = dblock; in gfs2_add_jextent()
2210 jext->lblock = lblock; in gfs2_add_jextent()
2211 jext->blocks = blocks; in gfs2_add_jextent()
2212 list_add_tail(&jext->list, &jd->extent_list); in gfs2_add_jextent()