Lines Matching refs:object_extents
48 * Return the last extent with given objno (@object_extents is sorted
53 lookup_last(struct list_head *object_extents, u64 objno,
58 list_for_each_prev(pos, object_extents) {
74 lookup_containing(struct list_head *object_extents, u64 objno,
79 list_for_each_entry(ex, object_extents, oe_item) {
103 * Newly allocated object extents are added to @object_extents.
104 * To keep @object_extents sorted, successive calls to this function
106 * are mapped using the same @object_extents must be sorted).
108 * The caller is responsible for @object_extents.
111 struct list_head *object_extents,
127 last_ex = lookup_last(object_extents, objno, &add_pos);
153 for (last_ex = list_first_entry(object_extents, typeof(*ex), oe_item),
155 &ex->oe_item != object_extents;
160 WARN(1, "%s: object_extents list not sorted!\n",
172 * for when @object_extents is already populated.
175 struct list_head *object_extents,
187 ex = lookup_containing(object_extents, objno, objoff, xlen);