Lines Matching defs:extents
279 map_id_range_down_max(unsigned extents, struct uid_gid_map *map, u32 id, u32 count)
287 return bsearch(&key, map->forward, extents,
297 map_id_range_down_base(unsigned extents, struct uid_gid_map *map, u32 id, u32 count)
305 for (idx = 0; idx < extents; idx++) {
318 unsigned extents = map->nr_extents;
321 if (extents <= UID_GID_MAP_MAX_BASE_EXTENTS)
322 extent = map_id_range_down_base(extents, map, id, count);
324 extent = map_id_range_down_max(extents, map, id, count);
346 map_id_range_up_base(unsigned extents, struct uid_gid_map *map, u32 id, u32 count)
354 for (idx = 0; idx < extents; idx++) {
369 map_id_range_up_max(unsigned extents, struct uid_gid_map *map, u32 id, u32 count)
377 return bsearch(&key, map->reverse, extents,
384 unsigned extents = map->nr_extents;
387 if (extents <= UID_GID_MAP_MAX_BASE_EXTENTS)
388 extent = map_id_range_up_base(extents, map, id, count);
390 extent = map_id_range_up_max(extents, map, id, count);
677 unsigned extents = map->nr_extents;
680 if (pos >= extents)
683 if (extents <= UID_GID_MAP_MAX_BASE_EXTENTS)
964 * count of the extents and the values of the extents. The
965 * desired behavior is to see the values of the extents that
966 * were written before the count of the extents.
1035 /* Do the ranges in extent overlap any previous extents? */