Lines Matching refs:iter
10 #include "iter.h"
47 _next_dirent_(struct diri *iter, struct _dirent_info_ *oinfo, char *filename,
60 if (iter->current_block == NULL)
68 buffer = iter->current_block + ((iter->current_index)
69 % (iter->csi.vol->bytes_per_sector / 0x20)) * 0x20;
71 for (; buffer != NULL; buffer = diri_next_entry(iter)) {
73 "\n", iter->csi.cluster, iter->csi.sector, iter->current_index));
103 start_index = iter->current_index;
160 diri_init(iter->csi.vol, iter->starting_cluster, start_index,
161 iter);
173 start_index = iter->current_index;
180 oinfo->eindex = iter->current_index;
183 if (iter->csi.vol->fat_bits == 32)
190 diri_next_entry(iter);
197 get_next_dirent(nspace *vol, vnode *dir, struct diri *iter, ino_t *vnid,
204 result = _next_dirent_(iter, &info, filename, len);
268 struct diri iter;
271 if (diri_init(vol, dir->cluster, 0, &iter) == NULL) {
280 result = _next_dirent_(&iter, NULL, filename, 512);
290 || (i < 2 && iter.current_index != i + 1)) {
861 int iter = 1;
874 munge_short_name1(nshort, iter, encoding);
875 } while ((error = find_short_name(vol, dir, nshort)) == B_OK && ++iter < 10);
920 struct diri iter;
955 &iter) == NULL) {
962 result = _next_dirent_(&iter, &info, filename, 512);