Lines Matching refs:list
189 void retry_erase_list(erase_busy_t *list, u_int cause) in retry_erase_list() argument
191 erase_busy_t tmp = *list; in retry_erase_list()
193 DEBUG(2, "cs: rescanning erase queue list 0x%p\n", list); in retry_erase_list()
194 if (list->next == list) in retry_erase_list()
197 list->prev->next = &tmp; in retry_erase_list()
198 list->next->prev = &tmp; in retry_erase_list()
199 list->prev = list->next = list; in retry_erase_list()
330 memory_handle_t *list) in setup_regions() argument
340 handle, attr, list); in setup_regions()
391 r->info.next = *list; *list = r; in setup_regions()
406 static int match_region(client_handle_t handle, memory_handle_t list, in match_region() argument
409 while (list != NULL) { in match_region()
411 (strcmp(handle->dev_info, list->dev_info) == 0)) { in match_region()
412 *match = list->info; in match_region()
415 list = list->info.next; in match_region()
454 memory_handle_t list; in pcmcia_register_mtd() local
461 list = s->a_region; in pcmcia_register_mtd()
463 list = s->c_region; in pcmcia_register_mtd()
466 while (list) { in pcmcia_register_mtd()
467 if (list->info.CardOffset == reg->Offset) break; in pcmcia_register_mtd()
468 list = list->info.next; in pcmcia_register_mtd()
470 if (list && (list->mtd == NULL) && in pcmcia_register_mtd()
471 (strcmp(handle->dev_info, list->dev_info) == 0)) { in pcmcia_register_mtd()
472 list->info.Attributes = reg->Attributes; in pcmcia_register_mtd()
473 list->MediaID = reg->MediaID; in pcmcia_register_mtd()
474 list->mtd = handle; in pcmcia_register_mtd()