Lines Matching refs:uapi
185 int uapi; in sync_merge() local
188 uapi = atomic_load_explicit(&g_uapi_version, memory_order_acquire); in sync_merge()
190 if (uapi == UAPI_MODERN || uapi == UAPI_UNKNOWN) { in sync_merge()
193 if (ret >= 0 && uapi == UAPI_UNKNOWN) { in sync_merge()
202 if (ret >= 0 && uapi == UAPI_UNKNOWN) { in sync_merge()
328 int uapi; in sync_fence_info() local
330 uapi = atomic_load_explicit(&g_uapi_version, memory_order_acquire); in sync_fence_info()
332 if (uapi == UAPI_LEGACY || uapi == UAPI_UNKNOWN) { in sync_fence_info()
335 if (legacy_info && uapi == UAPI_UNKNOWN) { in sync_fence_info()
347 if (uapi == UAPI_UNKNOWN) { in sync_fence_info()
359 int uapi; in sync_file_info() local
361 uapi = atomic_load_explicit(&g_uapi_version, memory_order_acquire); in sync_file_info()
363 if (uapi == UAPI_MODERN || uapi == UAPI_UNKNOWN) { in sync_file_info()
366 if (info && uapi == UAPI_UNKNOWN) { in sync_file_info()
378 if (uapi == UAPI_UNKNOWN) { in sync_file_info()