Lines Matching defs:map
57 struct ext4_map_blocks map;
67 map.m_lblk = *block;
68 map.m_len = 1;
75 err = ext4_map_blocks(NULL, inode, &map, 0);
310 static void dx_sort_map(struct dx_map_entry *map, unsigned count);
1250 * Create map of hash values, offsets, and sizes, stored at end of block.
1286 /* Sort map by hash value */
1287 static void dx_sort_map (struct dx_map_entry *map, unsigned count)
1289 struct dx_map_entry *p, *q, *top = map + count - 1;
1296 for (p = top, q = p - count; q >= map; p--, q--)
1304 while (q-- > map) {
1813 * Move count entries from end of map between two memory locations.
1817 dx_move_dirents(char *from, char *to, struct dx_map_entry *map, int count,
1824 (from + (map->offs<<2));
1837 map++;
1883 struct dx_map_entry *map;
1912 /* create map in the end of data2 block */
1913 map = (struct dx_map_entry *) (data2 + blocksize);
1914 count = dx_make_map(dir, *bh, hinfo, map);
1919 map -= count;
1920 dx_sort_map(map, count);
1926 if (size + map[i].size/2 > blocksize/2)
1928 size += map[i].size;
1932 * map index at which we will split
1943 hash2 = map[split].hash;
1944 continued = hash2 == map[split - 1].hash;
1950 de2 = dx_move_dirents(data1, data2, map + split, count - split,
4007 * from what is now the extent tree root (or a block map).