Lines Matching refs:map_valid
797 int map_valid; /* valid entries in *map */ in xfs_dir2_leaf_getdents() local
832 map_valid = ra_index = ra_offset = ra_current = map_blocks = 0; in xfs_dir2_leaf_getdents()
876 if (!map->br_blockcount && --map_valid) in xfs_dir2_leaf_getdents()
879 map_valid); in xfs_dir2_leaf_getdents()
899 nmap = map_size - map_valid; in xfs_dir2_leaf_getdents()
905 &map[map_valid], &nmap, NULL); in xfs_dir2_leaf_getdents()
921 if (nmap == map_size - map_valid) in xfs_dir2_leaf_getdents()
923 map[map_valid + nmap - 1].br_startoff + in xfs_dir2_leaf_getdents()
924 map[map_valid + nmap - 1].br_blockcount; in xfs_dir2_leaf_getdents()
933 for (i = map_valid; i < map_valid + nmap; ) { in xfs_dir2_leaf_getdents()
937 length = map_valid + nmap - i; in xfs_dir2_leaf_getdents()
949 map_valid += nmap; in xfs_dir2_leaf_getdents()
954 if (!map_valid) { in xfs_dir2_leaf_getdents()
986 ASSERT(ra_index < map_valid); in xfs_dir2_leaf_getdents()