Lines Matching refs:unlikely
135 if (unlikely(idr_pre_get(idr, GFP_KERNEL) == 0)) in vmw_resource_init()
184 if (unlikely(res == NULL)) in vmw_resource_lookup()
203 if (unlikely(cmd == NULL)) { in vmw_hw_context_destroy()
231 if (unlikely(ret != 0)) { in vmw_context_init()
240 if (unlikely(cmd == NULL)) { in vmw_context_init()
261 if (unlikely(res == NULL)) in vmw_context_alloc()
307 if (unlikely(res == NULL)) in vmw_context_destroy_ioctl()
338 if (unlikely(ctx == NULL)) in vmw_context_define_ioctl()
346 if (unlikely(ret != 0)) in vmw_context_define_ioctl()
353 if (unlikely(ret != 0)) { in vmw_context_define_ioctl()
400 if (unlikely(cmd == NULL)) { in vmw_hw_surface_destroy()
443 if (unlikely(ret != 0)) { in vmw_surface_init()
452 if (unlikely(cmd == NULL)) { in vmw_surface_init()
506 if (unlikely(base == NULL)) in vmw_user_surface_lookup_handle()
509 if (unlikely(base->object_type != VMW_RES_SURFACE)) in vmw_user_surface_lookup_handle()
573 if (unlikely(user_srf == NULL)) in vmw_surface_define_ioctl()
594 if (unlikely(srf->sizes == NULL)) { in vmw_surface_define_ioctl()
604 if (unlikely(ret != 0)) { in vmw_surface_define_ioctl()
638 if (unlikely(ret != 0)) in vmw_surface_define_ioctl()
646 if (unlikely(ret != 0)) { in vmw_surface_define_ioctl()
680 if (unlikely(base == NULL)) { in vmw_surface_reference_ioctl()
685 if (unlikely(base->object_type != VMW_RES_SURFACE)) in vmw_surface_reference_ioctl()
692 if (unlikely(ret != 0)) { in vmw_surface_reference_ioctl()
706 if (unlikely(ret != 0)) { in vmw_surface_reference_ioctl()
728 if (unlikely(base == NULL)) in vmw_surface_check()
731 if (unlikely(base->object_type != VMW_RES_SURFACE)) in vmw_surface_check()
760 if (unlikely(bo_user_size == ~0)) { in vmw_dmabuf_acc_size()
795 if (unlikely(ret != 0)) { in vmw_dmabuf_init()
830 if (unlikely(base == NULL)) in vmw_user_dmabuf_release()
852 if (unlikely(vmw_user_bo == NULL)) in vmw_dmabuf_alloc_ioctl()
856 if (unlikely(ret != 0)) { in vmw_dmabuf_alloc_ioctl()
864 if (unlikely(ret != 0)) in vmw_dmabuf_alloc_ioctl()
873 if (unlikely(ret != 0)) in vmw_dmabuf_alloc_ioctl()
929 if (unlikely(base == NULL)) { in vmw_user_dmabuf_lookup()
935 if (unlikely(base->object_type != ttm_buffer_type)) { in vmw_user_dmabuf_lookup()
977 if (unlikely(ret != 0)) { in vmw_stream_init()
1036 if (unlikely(res == NULL)) in vmw_stream_unref_ioctl()
1067 if (unlikely(stream == NULL)) in vmw_stream_claim_ioctl()
1075 if (unlikely(ret != 0)) in vmw_stream_claim_ioctl()
1082 if (unlikely(ret != 0)) { in vmw_stream_claim_ioctl()
1102 if (unlikely(res == NULL)) in vmw_user_stream_lookup()