Lines Matching defs:int
161 const int *locs;
164 int pri;
168 int af_s;
182 const int * locators; /* locators array */
186 static char *number(char *, int);
190 static void config_makeroom(int, struct cfdriver *);
201 static void pmflock_debug(device_t, const char *, int);
218 static int interrupt_config_threads = 8;
221 static int mountroot_config_threads = 2;
231 int (*f_func)(device_t);
236 static int config_finalize_done;
242 static int alldevs_nread = 0;
243 static int alldevs_nwrite = 0;
258 static int config_do_twiddle;
263 int no_devmon_insert(const char *, prop_dictionary_t);
264 int (*devmon_insert_vec)(const char *, prop_dictionary_t) = no_devmon_insert;
266 typedef int (*cfdriver_fn)(struct cfdriver *);
267 static int
274 int i, error = 0, e2 __diagused;
297 typedef int (*cfattach_fn)(const char *, struct cfattach *);
298 static int
306 int j = 0, error = 0, e2 __diagused;
391 int
395 int error;
424 int
428 int error;
508 int i;
539 int i;
561 int i, error;
579 int
623 int
643 int
647 int i, rc = 0;
692 int
716 int
722 int i, rc = 0;
786 int pri;
799 int
800 config_stdsubmatch(device_t parent, cfdata_t cf, const int *locs, void *aux)
804 int nlocs, i;
844 static int __diagused
848 int i;
884 static int
967 int
968 config_cfdata_attach(cfdata_t cf, int scannow)
990 static int
1006 int
1010 int error = 0;
1049 int
1069 int
1284 const int pret = (*print)(aux, device_xname(parent));
1346 number(char *ep, int n)
1367 config_makeroom(int n, struct cfdriver *cd)
1369 int ondevs, nndevs;
1460 int i;
1519 static int
1522 int unit = cf->cf_unit;
1543 static int
1547 int unit;
1574 int myunit;
1640 kmem_alloc(sizeof(int) * (ia->ci_loclen + 1), KM_SLEEP);
1641 *dev->dv_locators++ = sizeof(int) * (ia->ci_loclen + 1);
1643 sizeof(int) * ia->ci_loclen);
1698 int i, j;
2056 static int
2060 int error = 0;
2131 int
2132 config_detach_release(device_t dev, int flags)
2140 int rv = 0;
2332 int
2333 config_detach(device_t dev, int flags)
2370 int
2371 config_detach_children(device_t parent, int flags)
2375 int error = 0;
2415 config_detach_all(int how)
2420 int flags;
2458 int
2464 int s, rv = 0, oflags;
2663 int
2664 config_finalize_register(device_t dev, int (*fn)(device_t))
2667 int error = 0;
2708 int errcnt, rv;
2834 device_lookup(cfdriver_t cd, int unit)
2854 device_lookup_private(cfdriver_t cd, int unit)
2877 device_lookup_acquire(cfdriver_t cd, int unit)
2976 device_find_by_driver_unit(const char *name, int unit)
2999 unsigned int const nstrings, const char * const str,
3000 unsigned int * const indexp,
3003 unsigned int i;
3019 static int
3020 strarray_match(const char ** const strings, unsigned int const nstrings,
3023 unsigned int idx;
3027 return (int)(nstrings - idx);
3032 static int
3033 strarray_pmatch(const char ** const strings, unsigned int const nstrings,
3036 unsigned int idx;
3040 return (int)(nstrings - idx);
3045 static int
3047 const char **device_compats, int ndevice_compats,
3050 int (*match_fn)(const char **, unsigned int, const char *))
3053 int rv;
3078 int
3079 device_compatible_match(const char **device_compats, int ndevice_compats,
3093 int
3094 device_compatible_pmatch(const char **device_compats, int ndevice_compats,
3101 static int
3106 int (*match_fn)(const char *, size_t, const char *))
3109 int rv;
3135 int
3151 int
3160 static int
3188 int
3204 device_compatible_lookup(const char **device_compats, int ndevice_compats,
3223 device_compatible_plookup(const char **device_compats, int ndevice_compats,
3340 device_pmf_driver_shutdown(device_t dev, int how)
3353 bool (*shutdown)(device_t, int))
3404 pmflock_debug(device_t dev, const char *func, int line)
3519 device_pmf_bus_shutdown(device_t dev, int how)
3532 bool (*shutdown)(device_t, int), void (*deregister)(device_t))
3637 int s;
3677 int s;