Searched refs:last_ex (Results 1 – 1 of 1) sorted by relevance
117 struct ceph_object_extent *last_ex, *ex; in ceph_file_to_extents() local128 if (!last_ex || last_ex->oe_off + last_ex->oe_len != objoff) { in ceph_file_to_extents()139 if (!last_ex) in ceph_file_to_extents()142 list_add(&ex->oe_item, &last_ex->oe_item); in ceph_file_to_extents()144 last_ex->oe_len += xlen; in ceph_file_to_extents()146 action_fn(last_ex, xlen, action_arg); in ceph_file_to_extents()154 ex = list_next_entry(last_ex, oe_item); in ceph_file_to_extents()156 last_ex = ex, ex = list_next_entry(ex, oe_item)) { in ceph_file_to_extents()157 if (last_ex->oe_objno > ex->oe_objno || in ceph_file_to_extents()158 (last_ex->oe_objno == ex->oe_objno && in ceph_file_to_extents()[all …]