kern_conf.c (a6fb7268601e0e3f50fecefc6805b74547a68462) kern_conf.c (13e403fdeadd26f9748ba83ea50ee271fbfc862a)
1/*-
2 * Copyright (c) 1999-2002 Poul-Henning Kamp
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 49 unchanged lines hidden (view full) ---

58static struct cdev *make_dev_credv(int flags,
59 struct cdevsw *devsw, int unit,
60 struct ucred *cr, uid_t uid, gid_t gid, int mode, const char *fmt,
61 va_list ap);
62
63static struct cdev_priv_list cdevp_free_list =
64 TAILQ_HEAD_INITIALIZER(cdevp_free_list);
65static SLIST_HEAD(free_cdevsw, cdevsw) cdevsw_gt_post_list =
1/*-
2 * Copyright (c) 1999-2002 Poul-Henning Kamp
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 49 unchanged lines hidden (view full) ---

58static struct cdev *make_dev_credv(int flags,
59 struct cdevsw *devsw, int unit,
60 struct ucred *cr, uid_t uid, gid_t gid, int mode, const char *fmt,
61 va_list ap);
62
63static struct cdev_priv_list cdevp_free_list =
64 TAILQ_HEAD_INITIALIZER(cdevp_free_list);
65static SLIST_HEAD(free_cdevsw, cdevsw) cdevsw_gt_post_list =
66 SLIST_HEAD_INITIALIZER();
66 SLIST_HEAD_INITIALIZER(cdevsw_gt_post_list);
67
68void
69dev_lock(void)
70{
71
72 mtx_lock(&devmtx);
73}
74

--- 1089 unchanged lines hidden ---
67
68void
69dev_lock(void)
70{
71
72 mtx_lock(&devmtx);
73}
74

--- 1089 unchanged lines hidden ---