Lines Matching refs:action
74 struct vmw_fence_action action; member
265 struct vmw_fence_action *action, *next_action; in vmw_fence_work_func() local
292 list_for_each_entry_safe(action, next_action, &list, head) { in vmw_fence_work_func()
293 list_del_init(&action->head); in vmw_fence_work_func()
294 if (action->cleanup) in vmw_fence_work_func()
295 action->cleanup(action); in vmw_fence_work_func()
367 struct vmw_fence_action *action, *next_action; in vmw_fences_perform_actions() local
369 list_for_each_entry_safe(action, next_action, list, head) { in vmw_fences_perform_actions()
370 list_del_init(&action->head); in vmw_fences_perform_actions()
371 fman->pending_actions[action->type]--; in vmw_fences_perform_actions()
372 if (action->seq_passed != NULL) in vmw_fences_perform_actions()
373 action->seq_passed(action); in vmw_fences_perform_actions()
380 list_add_tail(&action->head, &fman->cleanup_list); in vmw_fences_perform_actions()
907 static void vmw_event_fence_action_seq_passed(struct vmw_fence_action *action) in vmw_event_fence_action_seq_passed() argument
910 container_of(action, struct vmw_event_fence_action, action); in vmw_event_fence_action_seq_passed()
942 static void vmw_event_fence_action_cleanup(struct vmw_fence_action *action) in vmw_event_fence_action_cleanup() argument
945 container_of(action, struct vmw_event_fence_action, action); in vmw_event_fence_action_cleanup()
962 struct vmw_fence_action *action) in vmw_fence_obj_add_action() argument
970 fman->pending_actions[action->type]++; in vmw_fence_obj_add_action()
975 list_add_tail(&action->head, &action_list); in vmw_fence_obj_add_action()
978 list_add_tail(&action->head, &fence->seq_passed_actions); in vmw_fence_obj_add_action()
1031 eaction->action.seq_passed = vmw_event_fence_action_seq_passed; in vmw_event_fence_action_queue()
1032 eaction->action.cleanup = vmw_event_fence_action_cleanup; in vmw_event_fence_action_queue()
1033 eaction->action.type = VMW_ACTION_EVENT; in vmw_event_fence_action_queue()
1040 vmw_fence_obj_add_action(fence, &eaction->action); in vmw_event_fence_action_queue()