Lines Matching defs:entry
260 struct log_entry *entry;
315 if ((entry = free_entries))
316 free_entries = entry->next;
317 else if (entries_alloced < max_logs && (entry = malloc(sizeof(struct log_entry))))
320 if (!entry)
325 entry->next = NULL;
327 entries = entry;
332 tmp->next = entry;
336 p = entry->payload;
342 len = p - entry->payload;
346 entry->length = len > MAX_MESSAGE ? MAX_MESSAGE : len;
347 entry->offset = 0;
348 entry->pid = pid;
352 entry->payload[entry->length - 1] = '\n';
374 for (d = 0,entry = entries; entry; entry = entry->next, d++);