Lines Matching refs:Entry
38 typedef struct Entry Entry;
39 struct Entry {
44 AVAHI_LLIST_FIELDS(Entry, bucket);
45 AVAHI_LLIST_FIELDS(Entry, entries);
53 Entry *entries[HASH_MAP_SIZE];
54 AVAHI_LLIST_HEAD(Entry, entries_list);
57 static Entry* entry_get(AvahiHashmap *m, const void *key) {
59 Entry *e;
70 static void entry_free(AvahiHashmap *m, Entry *e, int stolen) {
77 AVAHI_LLIST_REMOVE(Entry, bucket, m->entries[idx], e);
78 AVAHI_LLIST_REMOVE(Entry, entries, m->entries_list, e);
102 AVAHI_LLIST_HEAD_INIT(Entry, m->entries_list);
117 Entry *e;
129 Entry *e;
142 if (!(e = avahi_new(Entry, 1)))
149 AVAHI_LLIST_PREPEND(Entry, entries, m->entries_list, e);
152 AVAHI_LLIST_PREPEND(Entry, bucket, m->entries[idx], e);
160 Entry *e;
176 if (!(e = avahi_new(Entry, 1)))
183 AVAHI_LLIST_PREPEND(Entry, entries, m->entries_list, e);
186 AVAHI_LLIST_PREPEND(Entry, bucket, m->entries[idx], e);
192 Entry *e;
203 Entry *e, *next;