Lines Matching refs:current_controller
52 if (agp_fe.current_controller == NULL) in agp_find_mem_by_key()
55 curr = agp_fe.current_controller->pool; in agp_find_mem_by_key()
89 agp_fe.current_controller->pool = next; in agp_remove_from_pool()
203 prev = agp_fe.current_controller->pool; in agp_insert_into_pool()
209 agp_fe.current_controller->pool = temp; in agp_insert_into_pool()
395 if (agp_fe.current_controller == controller) { in agp_remove_controller()
396 agp_fe.current_controller = NULL; in agp_remove_controller()
422 agp_fe.current_controller = controller; in agp_controller_make_current()
444 agp_fe.current_controller = NULL; in agp_controller_release_current()
492 if (agp_fe.current_controller == NULL) in agp_find_client_by_pid()
495 temp = agp_find_client_in_controller(agp_fe.current_controller, id); in agp_find_client_by_pid()
503 prev_client = agp_fe.current_controller->clients; in agp_insert_client()
509 agp_fe.current_controller->clients = client; in agp_insert_client()
510 agp_fe.current_controller->num_clients++; in agp_insert_client()
657 if (controller == agp_fe.current_controller) in agp_release()
746 if (agp_fe.current_controller != NULL) in agpioc_acquire_wrap()
783 agp_controller_release_current(agp_fe.current_controller, priv); in agpioc_release_wrap()
958 if ((agp_fe.current_controller == NULL) && in agp_ioctl()
976 if (agp_fe.current_controller->pid != curr_priv->my_pid) { in agp_ioctl()