Lines Matching refs:action
73 struct vmw_fence_action action; member
249 struct vmw_fence_action *action, *next_action; in vmw_fence_work_func() local
276 list_for_each_entry_safe(action, next_action, &list, head) { in vmw_fence_work_func()
277 list_del_init(&action->head); in vmw_fence_work_func()
278 if (action->cleanup) in vmw_fence_work_func()
279 action->cleanup(action); in vmw_fence_work_func()
352 struct vmw_fence_action *action, *next_action; in vmw_fences_perform_actions() local
354 list_for_each_entry_safe(action, next_action, list, head) { in vmw_fences_perform_actions()
355 list_del_init(&action->head); in vmw_fences_perform_actions()
356 fman->pending_actions[action->type]--; in vmw_fences_perform_actions()
357 if (action->seq_passed != NULL) in vmw_fences_perform_actions()
358 action->seq_passed(action); in vmw_fences_perform_actions()
365 list_add_tail(&action->head, &fman->cleanup_list); in vmw_fences_perform_actions()
859 static void vmw_event_fence_action_seq_passed(struct vmw_fence_action *action) in vmw_event_fence_action_seq_passed() argument
862 container_of(action, struct vmw_event_fence_action, action); in vmw_event_fence_action_seq_passed()
898 static void vmw_event_fence_action_cleanup(struct vmw_fence_action *action) in vmw_event_fence_action_cleanup() argument
901 container_of(action, struct vmw_event_fence_action, action); in vmw_event_fence_action_cleanup()
924 struct vmw_fence_action *action) in vmw_fence_obj_add_action() argument
933 fman->pending_actions[action->type]++; in vmw_fence_obj_add_action()
938 list_add_tail(&action->head, &action_list); in vmw_fence_obj_add_action()
941 list_add_tail(&action->head, &fence->seq_passed_actions); in vmw_fence_obj_add_action()
996 eaction->action.seq_passed = vmw_event_fence_action_seq_passed; in vmw_event_fence_action_queue()
997 eaction->action.cleanup = vmw_event_fence_action_cleanup; in vmw_event_fence_action_queue()
998 eaction->action.type = VMW_ACTION_EVENT; in vmw_event_fence_action_queue()
1009 vmw_fence_obj_add_action(fence, &eaction->action); in vmw_event_fence_action_queue()