Lines Matching refs:trace
33 struct wpabuf_trace *trace = wpabuf_get_trace(buf); in wpabuf_overflow() local
34 if (trace->magic != WPABUF_MAGIC) { in wpabuf_overflow()
36 trace->magic); in wpabuf_overflow()
51 struct wpabuf_trace *trace; in wpabuf_resize() local
60 trace = wpabuf_get_trace(buf); in wpabuf_resize()
61 if (trace->magic != WPABUF_MAGIC) { in wpabuf_resize()
63 trace->magic); in wpabuf_resize()
79 nbuf = os_realloc(trace, sizeof(struct wpabuf_trace) + in wpabuf_resize()
84 trace = (struct wpabuf_trace *) nbuf; in wpabuf_resize()
85 buf = (struct wpabuf *) (trace + 1); in wpabuf_resize()
116 struct wpabuf_trace *trace = os_zalloc(sizeof(struct wpabuf_trace) + in wpabuf_alloc() local
119 if (trace == NULL) in wpabuf_alloc()
121 trace->magic = WPABUF_MAGIC; in wpabuf_alloc()
122 buf = (struct wpabuf *) (trace + 1); in wpabuf_alloc()
138 struct wpabuf_trace *trace = os_zalloc(sizeof(struct wpabuf_trace) + in wpabuf_alloc_ext_data() local
141 if (trace == NULL) in wpabuf_alloc_ext_data()
143 trace->magic = WPABUF_MAGIC; in wpabuf_alloc_ext_data()
144 buf = (struct wpabuf *) (trace + 1); in wpabuf_alloc_ext_data()
185 struct wpabuf_trace *trace; in wpabuf_free() local
188 trace = wpabuf_get_trace(buf); in wpabuf_free()
189 if (trace->magic != WPABUF_MAGIC) { in wpabuf_free()
191 trace->magic); in wpabuf_free()
197 os_free(trace); in wpabuf_free()