Searched refs:miter (Results 1 – 2 of 2) sorted by relevance
879 static bool storage_file_list_buf_full(struct storage_file_list_state* miter) { in storage_file_list_buf_full() argument880 if (miter->max_count && miter->count >= miter->max_count) { in storage_file_list_buf_full()884 return !miter->can_record_path(miter->callback_data, in storage_file_list_buf_full()885 FS_PATH_MAX - miter->prefix_len); in storage_file_list_buf_full()888 static void storage_file_list_add(struct storage_file_list_state* miter, in storage_file_list_add() argument891 assert(!storage_file_list_buf_full(miter)); in storage_file_list_add()893 assert(path_len <= FS_PATH_MAX - miter->prefix_len); in storage_file_list_add()894 miter->record_path(miter->callback_data, flags, path, path_len); in storage_file_list_add()895 miter->count++; in storage_file_list_add()903 struct storage_file_list_state* miter = in storage_file_list_iter() local[all …]
1763 struct file_iterate_many_state* miter = in file_iterate_many_iter() local1775 assert(strlen(file_info->path) < sizeof(miter->last_path)); in file_iterate_many_iter()1776 strcpy(miter->last_path, file_info->path); in file_iterate_many_iter()1782 assert(!(miter->found & mask)); in file_iterate_many_iter()1783 miter->found |= mask; in file_iterate_many_iter()1785 return miter->stop; in file_iterate_many_iter()