Home
last modified time | relevance | path

Searched refs:ctlslot (Results 1 – 5 of 5) sorted by relevance

/openbsd/src/usr.bin/sndiod/
Ddev.h177 struct ctlslot { struct
287 extern struct ctlslot ctlslot_array[DEV_NCTLSLOT];
364 struct ctlslot *ctlslot_new(struct opt *, struct ctlops *, void *);
365 void ctlslot_del(struct ctlslot *);
366 int ctlslot_visible(struct ctlslot *, struct ctl *);
367 struct ctl *ctlslot_lookup(struct ctlslot *, int);
368 void ctlslot_update(struct ctlslot *);
Dsock.c136 if (f->ctlslot->opt == NULL) in ctlgroup()
138 if (strcmp(c->group, f->ctlslot->opt->name) == 0) in ctlgroup()
140 if (strcmp(c->group, f->ctlslot->opt->dev->name) == 0) in ctlgroup()
184 if (f->ctlslot) { in sock_close()
185 ctlslot_del(f->ctlslot); in sock_close()
186 f->ctlslot = NULL; in sock_close()
302 f->ctlslot = NULL; in sock_new()
770 f->ctlslot = ctlslot_new(opt, &sock_ctlops, f); in sock_hello()
771 if (f->ctlslot == NULL) { in sock_hello()
1017 if (f->pstate != SOCK_INIT || f->ctlslot == NULL) { in sock_execmsg()
[all …]
Dsock.h61 struct ctlslot *ctlslot; member
Ddev.c80 struct ctlslot ctlslot_array[DEV_NCTLSLOT];
985 struct ctlslot *c; in dev_abort()
2009 struct ctlslot *
2012 struct ctlslot *s; in ctlslot_new()
2043 ctlslot_del(struct ctlslot *s) in ctlslot_del()
2061 ctlslot_visible(struct ctlslot *s, struct ctl *c) in ctlslot_visible()
2087 ctlslot_lookup(struct ctlslot *s, int addr) in ctlslot_lookup()
2105 ctlslot_update(struct ctlslot *s) in ctlslot_update()
2244 struct ctlslot *s; in ctl_new()
2309 struct ctlslot *s; in ctl_update()
[all …]
Dopt.c327 struct ctlslot *p; in opt_setdev()