Lines Matching refs:last_ex
117 struct ceph_object_extent *last_ex, *ex;
127 last_ex = lookup_last(object_extents, objno, &add_pos);
128 if (!last_ex || last_ex->oe_off + last_ex->oe_len != objoff) {
139 if (!last_ex)
142 list_add(&ex->oe_item, &last_ex->oe_item);
144 last_ex->oe_len += xlen;
146 action_fn(last_ex, xlen, action_arg);
153 for (last_ex = list_first_entry(object_extents, typeof(*ex), oe_item),
154 ex = list_next_entry(last_ex, oe_item);
156 last_ex = ex, ex = list_next_entry(ex, oe_item)) {
157 if (last_ex->oe_objno > ex->oe_objno ||
158 (last_ex->oe_objno == ex->oe_objno &&
159 last_ex->oe_off + last_ex->oe_len >= ex->oe_off)) {