Searched refs:elem (Results 1 – 2 of 2) sorted by relevance
84 SlabElement *elem = (SlabElement *)(base + len + i * realObjSz); in SlabExtend() local86 LIST_INSERT_HEAD(&slab->freeList, elem, free); in SlabExtend()107 SlabElement *elem; in Slab_Alloc() local114 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() local140 LIST_INSERT_HEAD(&slab->freeList, elem, free); in Slab_Free()
130 #define QMD_TRACE_ELEM(elem) do { \ argument131 (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