Searched refs:last_ex (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/net/ceph/ |
D | striper.c | 117 struct ceph_object_extent *last_ex, *ex; in ceph_file_to_extents() local 127 last_ex = lookup_last(object_extents, objno, &add_pos); in ceph_file_to_extents() 128 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() 153 for (last_ex = list_first_entry(object_extents, typeof(*ex), oe_item), 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() [all …]
|