Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/drivers/gpu/drm/nouveau/include/nvkm/core/   (Open Source Betriebssystem Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 1 kB image not shown  

Quelle  os.h   Sprache: C

 
/* SPDX-License-Identifier: MIT */
#ifndef __NVKM_OS_H__
#define __NVKM_OS_H__
#include <nvif/os.h>

struct nvkm_blob {
 void *data;
 u32 size;
};

static inline void
nvkm_blob_dtor(struct nvkm_blob *blob)
{
 kfree(blob->data);
 blob->data = NULL;
 blob->size = 0;
}

#define nvkm_list_find_next(p,h,m,c) ({                                                      \
 typeof(p) _p = NULL;                                                                 \
 list_for_each_entry_continue(p, (h), m) {                                            \
  if (c) {                                                                     \
   _p = p;                                                              \
   break;                                                               \
  }                                                                            \
 }                                                                                    \
 _p;                                                                                  \
})
#define nvkm_list_find(p,h,m,c)                                                              \
 (p = container_of((h), typeof(*p), m), nvkm_list_find_next(p, (h), m, (c)))
#define nvkm_list_foreach(p,h,m,c)                                                           \
 for (p = nvkm_list_find(p, (h), m, (c)); p; p = nvkm_list_find_next(p, (h), m, (c)))
#endif

Messung V0.5
C=96 H=96 G=95

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.