Lines Matching refs:i
103 int i = 0; in reiserfs_release_objectid() local
119 while (i < sb_oid_cursize(rs)) { in reiserfs_release_objectid()
120 if (objectid_to_release == le32_to_cpu(map[i])) { in reiserfs_release_objectid()
122 le32_add_cpu(&map[i], 1); in reiserfs_release_objectid()
128 if (map[i] == map[i + 1]) { in reiserfs_release_objectid()
130 memmove(map + i, map + i + 2, in reiserfs_release_objectid()
131 (sb_oid_cursize(rs) - i - in reiserfs_release_objectid()
143 if (objectid_to_release > le32_to_cpu(map[i]) && in reiserfs_release_objectid()
144 objectid_to_release < le32_to_cpu(map[i + 1])) { in reiserfs_release_objectid()
146 if (objectid_to_release + 1 == le32_to_cpu(map[i + 1])) { in reiserfs_release_objectid()
147 le32_add_cpu(&map[i + 1], -1); in reiserfs_release_objectid()
165 memmove(map + i + 3, map + i + 1, in reiserfs_release_objectid()
166 (sb_oid_cursize(rs) - i - 1) * sizeof(__u32)); in reiserfs_release_objectid()
167 map[i + 1] = cpu_to_le32(objectid_to_release); in reiserfs_release_objectid()
168 map[i + 2] = cpu_to_le32(objectid_to_release + 1); in reiserfs_release_objectid()
172 i += 2; in reiserfs_release_objectid()
187 int i; in reiserfs_convert_objectid_map_v1() local
203 for (i = new_size - 1; i >= 0; i--) { in reiserfs_convert_objectid_map_v1()
204 objectid_map[i + (old_max - new_size)] = objectid_map[i]; in reiserfs_convert_objectid_map_v1()