Lines Matching refs:current_controller
59 if (agp_fe.current_controller == NULL) { in agp_find_mem_by_key()
62 curr = agp_fe.current_controller->pool; in agp_find_mem_by_key()
95 agp_fe.current_controller->pool = next; in agp_remove_from_pool()
224 prev = agp_fe.current_controller->pool; in agp_insert_into_pool()
230 agp_fe.current_controller->pool = temp; in agp_insert_into_pool()
423 if (agp_fe.current_controller == controller) { in agp_remove_controller()
424 agp_fe.current_controller = NULL; in agp_remove_controller()
450 agp_fe.current_controller = controller; in agp_controller_make_current()
472 agp_fe.current_controller = NULL; in agp_controller_release_current()
522 if (agp_fe.current_controller == NULL) { in agp_find_client_by_pid()
525 temp = agp_find_client_in_controller(agp_fe.current_controller, id); in agp_find_client_by_pid()
533 prev_client = agp_fe.current_controller->clients; in agp_insert_client()
539 agp_fe.current_controller->clients = client; in agp_insert_client()
540 agp_fe.current_controller->num_clients++; in agp_insert_client()
692 if (controller == agp_fe.current_controller) { in agp_release()
793 if (agp_fe.current_controller != NULL) { in agpioc_acquire_wrap()
825 agp_controller_release_current(agp_fe.current_controller, priv); in agpioc_release_wrap()
996 if ((agp_fe.current_controller == NULL) && in agp_ioctl()
1015 if (agp_fe.current_controller->pid != curr_priv->my_pid) { in agp_ioctl()