Searched refs:devbase (Results 1 – 9 of 9) sorted by relevance
| /openbsd-src/usr.sbin/config/ |
| H A D | sem.h | 49 void defdev(struct devbase *, int, struct nvlist *, struct nvlist *); 50 void defdevattach(struct deva *, struct devbase *, 52 struct devbase *getdevbase(char *name); 55 void setmajor(struct devbase *d, int n);
|
| H A D | config.h | 134 struct devbase { struct 136 struct devbase *d_next; /* linked list */ argument 153 struct devbase *d_devbase; /* the base device */ argument 175 struct devbase *i_base;/* e.g., pointer to "sd" base */ 182 struct devbase *i_atdev;/* if "at <devname><unit>", else NULL */ 290 extern struct devbase *allbases; /* list of all devbase structures */ 338 int devbase_has_instances(struct devbase *, int);
|
| H A D | sem.c | 68 static struct devbase errdev; 70 static struct devbase **nextbase; 77 static struct nvlist *addtoattr(struct nvlist *, struct devbase *); 83 static struct devi *newdevi(const char *, int, struct devbase *d); 88 static void selectbase(struct devbase *, struct deva *); 127 struct devbase *dev; in enddefs() 230 addtoattr(struct nvlist *l, struct devbase *dev) in addtoattr() 243 defdev(struct devbase *dev, int ispseudo, struct nvlist *loclist, in defdev() 295 * Look up a devbase. Also makes sure it is a reasonable name, 298 struct devbase * [all...] |
| H A D | gram.y | 92 struct devbase *devb; 115 %type <devb> devbase 238 DEVICE devbase interface_opt attrs_opt 240 ATTACH devbase AT atlist devattach_opt attrs_opt 244 PSEUDO_DEVICE devbase attrs_opt { defdev($2,1,NULL,$3); } | 259 devbase: 319 devbase '=' NUMBER { setmajor($1, $3); };
|
| H A D | main.c | 100 struct devbase *allbases; /* list of all devbase structures */ 527 devbase_has_instances(struct devbase *dev, int unit) in devbase_has_instances() 574 struct devbase *dev; in cfcrosscheck() 653 struct devbase *d; in badstar()
|
| H A D | mkioconf.c | 145 struct devbase *d; in emitexterns() 424 struct devbase *d; in emitpseudo()
|
| H A D | pack.c | 107 static int nparents(struct devi **, struct devbase *, int); 298 nparents(struct devi **p, struct devbase *dev, int unit) in nparents()
|
| H A D | files.c | 344 struct devbase *dev; in fixcount()
|
| /openbsd-src/etc/ |
| H A D | MAKEDEV.sub | 230 dnl _mcdev(shortname, devpatt, devbase, devmajor [, group [ owner ] ])dnl
|