Home
last modified time | relevance | path

Searched refs:elem (Results 1 – 2 of 2) sorted by relevance

/sys/kern/
Dslab.c84 SlabElement *elem = (SlabElement *)(base + len + i * realObjSz); in SlabExtend() local
86 LIST_INSERT_HEAD(&slab->freeList, elem, free); in SlabExtend()
107 SlabElement *elem; in Slab_Alloc() local
114 elem = LIST_FIRST(&slab->freeList); in Slab_Alloc()
115 if (elem != NULL) { in Slab_Alloc()
116 LIST_REMOVE(elem, free); in Slab_Alloc()
123 return (void *)elem; in Slab_Alloc()
139 SlabElement *elem = (SlabElement *)region; in Slab_Free() local
140 LIST_INSERT_HEAD(&slab->freeList, elem, free); in Slab_Free()
/sys/include/
Dqueue.h130 #define QMD_TRACE_ELEM(elem) do { \ argument
131 (elem)->trace.prevline = (elem)->trace.lastline; \
132 (elem)->trace.prevfile = (elem)->trace.lastfile; \
133 (elem)->trace.lastline = __LINE__; \
134 (elem)->trace.lastfile = __FILE__; \
138 #define QMD_TRACE_ELEM(elem) argument