Lines Matching refs:entry
78 qemu_acl_entry *entry;
80 QTAILQ_FOREACH(entry, &acl->entries, next) {
82 if (fnmatch(entry->match, party, 0) == 0)
83 return entry->deny ? 0 : 1;
87 if (strcmp(entry->match, party) == 0)
88 return entry->deny ? 0 : 1;
98 qemu_acl_entry *entry;
104 QTAILQ_FOREACH(entry, &acl->entries, next) {
105 QTAILQ_REMOVE(&acl->entries, entry, next);
106 free(entry->match);
107 free(entry);
117 qemu_acl_entry *entry;
119 entry = qemu_malloc(sizeof(*entry));
120 entry->match = qemu_strdup(match);
121 entry->deny = deny;
123 QTAILQ_INSERT_TAIL(&acl->entries, entry, next);
135 qemu_acl_entry *entry;
145 entry = qemu_malloc(sizeof(*entry));
146 entry->match = qemu_strdup(match);
147 entry->deny = deny;
152 QTAILQ_INSERT_BEFORE(tmp, entry, next);
164 qemu_acl_entry *entry;
167 QTAILQ_FOREACH(entry, &acl->entries, next) {
169 if (strcmp(entry->match, match) == 0) {
170 QTAILQ_REMOVE(&acl->entries, entry, next);