Lines Matching refs: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_up_base(unsigned extents, struct uid_gid_map *map, u32 id)
352 for (idx = 0; idx < extents; idx++) {
366 map_id_up_max(unsigned extents, struct uid_gid_map *map, u32 id)
374 return bsearch(&key, map->reverse, extents,
381 unsigned extents = map->nr_extents;
384 if (extents <= UID_GID_MAP_MAX_BASE_EXTENTS)
385 extent = map_id_up_base(extents, map, id);
387 extent = map_id_up_max(extents, map, id);
669 unsigned extents = map->nr_extents;
672 if (pos >= extents)
675 if (extents <= UID_GID_MAP_MAX_BASE_EXTENTS)
957 * count of the extents and the values of the extents. The
958 * desired behavior is to see the values of the extents that
959 * were written before the count of the extents.
1028 /* Do the ranges in extent overlap any previous extents? */