Lines Matching refs:entry
103 struct entry {
164 static bool legacy_entry_read(struct userdata *u, pa_datum *data, struct entry **entry, struct perportentry **perportentry);
170 static struct entry* entry_new(void) {
171 struct entry *r = pa_xnew0(struct entry, 1);
176 static void entry_free(struct entry* e) {
183 static bool entry_write(struct userdata *u, const char *name, const struct entry *e) {
209 static struct entry* entry_read(struct userdata *u, const char *name) {
211 struct entry *e = NULL;
268 /* Now convert the legacy entry into per-port entries */
273 /* Write a "null" port entry. The read code will automatically try this
274 * if it cannot find a specific port-named entry. */
281 /* Write a "null" port entry. The read code will automatically try this
282 * if it cannot find a specific port-named entry. */
303 static struct entry* entry_copy(const struct entry *e) {
304 struct entry* r;
315 static bool entries_equal(const struct entry *a, const struct entry *b) {
442 pa_log_warn("Volume and channel map don't match in database entry for device %s", name);
521 static bool legacy_entry_read(struct userdata *u, pa_datum *data, struct entry **entry, struct perportentry **perportentry) {
536 pa_assert(entry);
571 *entry = entry_new();
572 (*entry)->port_valid = le->port_valid;
573 (*entry)->port = pa_xstrdup(le->port);
588 struct entry *e, *olde;
729 struct entry *e;
871 struct entry *e;
1000 /* Read or create an entry */
1015 /* Write all the formats from the entry to the reply */
1139 /* Read or create an entry */