Lines Matching refs:curr
49 struct agp_memory *curr; in agp_find_mem_by_key() local
54 curr = agp_fe.current_controller->pool; in agp_find_mem_by_key()
56 while (curr != NULL) { in agp_find_mem_by_key()
57 if (curr->key == key) in agp_find_mem_by_key()
59 curr = curr->next; in agp_find_mem_by_key()
62 DBG("key=%d -> mem=%p", key, curr); in agp_find_mem_by_key()
63 return curr; in agp_find_mem_by_key()
217 struct agp_file_private *curr; in agp_find_private() local
219 curr = agp_fe.file_priv_list; in agp_find_private()
221 while (curr != NULL) { in agp_find_private()
222 if (curr->my_pid == pid) in agp_find_private()
223 return curr; in agp_find_private()
224 curr = curr->next; in agp_find_private()