Lines Matching refs:next
60 curr = curr->next; in agp_find_mem_by_key()
70 struct agp_memory *next; in agp_remove_from_pool() local
76 next = temp->next; in agp_remove_from_pool()
80 prev->next = next; in agp_remove_from_pool()
81 if (next != NULL) in agp_remove_from_pool()
82 next->prev = prev; in agp_remove_from_pool()
86 if (next != NULL) in agp_remove_from_pool()
87 next->prev = NULL; in agp_remove_from_pool()
89 agp_fe.current_controller->pool = next; in agp_remove_from_pool()
207 temp->next = prev; in agp_insert_into_pool()
224 curr = curr->next; in agp_find_private()
238 priv->next = prev; in agp_insert_file_private()
244 struct agp_file_private *next; in agp_remove_file_private() local
247 next = priv->next; in agp_remove_file_private()
251 prev->next = next; in agp_remove_file_private()
253 if (next != NULL) in agp_remove_file_private()
254 next->prev = prev; in agp_remove_file_private()
257 if (next != NULL) in agp_remove_file_private()
258 next->prev = NULL; in agp_remove_file_private()
260 agp_fe.file_priv_list = next; in agp_remove_file_private()
302 controller = controller->next; in agp_find_controller_by_pid()
325 controller->next = prev_controller; in agp_insert_controller()
353 client = client->next; in agp_remove_all_clients()
367 memory = memory->next; in agp_remove_all_memory()
378 next_controller = controller->next; in agp_remove_controller()
381 prev_controller->next = next_controller; in agp_remove_controller()
419 clients = clients->next; in agp_controller_make_current()
441 clients = clients->next; in agp_controller_release_current()
467 client = client->next; in agp_find_client_in_controller()
482 controller = controller->next; in agp_find_controller_for_client()
504 client->next = prev_client; in agp_insert_client()
542 next_client = client->next; in agp_remove_client()
545 prev_client->next = next_client; in agp_remove_client()