Lines Matching defs:item
2235 struct clean_up_item *item = NULL;
2260 item = pa_xnew0(struct clean_up_item, 1);
2261 PA_LLIST_INIT(struct clean_up_item, item);
2262 item->entry_name = entry_name;
2268 PA_LLIST_PREPEND(struct clean_up_item, to_be_removed, item);
2271 item->entry = e;
2272 PA_LLIST_PREPEND(struct clean_up_item, to_be_converted, item);
2276 PA_LLIST_PREPEND(struct clean_up_item, to_be_removed, item);
2288 PA_LLIST_FOREACH_SAFE(item, next, to_be_removed) {
2289 key.data = item->entry_name;
2290 key.size = strlen(item->entry_name);
2292 pa_log_debug("Removing an invalid entry: %s", item->entry_name);
2297 PA_LLIST_REMOVE(struct clean_up_item, to_be_removed, item);
2298 pa_xfree(item->entry_name);
2299 pa_xfree(item);
2303 PA_LLIST_FOREACH_SAFE(item, next, to_be_converted) {
2304 pa_log_debug("Upgrading a legacy entry to the current format: %s", item->entry_name);
2306 pa_assert_se(entry_write(u, item->entry_name, item->entry, true));
2309 PA_LLIST_REMOVE(struct clean_up_item, to_be_converted, item);
2310 pa_xfree(item->entry_name);
2311 entry_free(item->entry);
2312 pa_xfree(item);