/freebsd-10.2-release/sys/ofed/include/linux/ |
H A D | cdev.h | 46 struct cdev *cdev; member in struct:linux_cdev 54 struct linux_cdev *cdev; local 56 cdev = container_of(kobj, struct linux_cdev, kobj); 57 if (cdev->cdev) 58 destroy_dev(cdev->cdev); 59 kfree(cdev); 65 struct linux_cdev *cdev; local 81 cdev_init(struct linux_cdev *cdev, const struct file_operations *ops) argument 91 struct linux_cdev *cdev; local 106 cdev_add(struct linux_cdev *cdev, dev_t dev, unsigned count) argument 119 cdev_del(struct linux_cdev *cdev) argument 128 #define cdev macro [all...] |
H A D | miscdevice.h | 36 #include <linux/cdev.h> 42 struct cdev *cdev; member in struct:miscdevice 55 misc->cdev = cdev_alloc(); 56 if (misc->cdev == NULL) 58 misc->cdev->owner = THIS_MODULE; 59 misc->cdev->ops = misc->fops; 60 kobject_set_name(&misc->cdev->kobj, misc->name); 61 if (cdev_add(misc->cdev, misc->this_device->devt, 1)) 70 cdev_del(misc->cdev); [all...] |
/freebsd-10.2-release/sys/dev/led/ |
H A D | led.h | 17 struct cdev *led_create_state(led_t *, void *, char const *, int); 18 struct cdev *led_create(led_t *, void *, char const *); 19 void led_destroy(struct cdev *);
|
/freebsd-10.2-release/share/examples/kld/cdev/module/ |
H A D | Makefile | 2 # $FreeBSD: releng/10.2/share/examples/kld/cdev/module/Makefile 118385 2003-08-03 10:39:29Z mbr $ 4 KMOD= cdev 5 SRCS= cdev.c cdevmod.c
|
H A D | cdev.c | 3 * cdev.c 68 * $FreeBSD: releng/10.2/share/examples/kld/cdev/module/cdev.c 132247 2004-07-16 06:55:34Z tjr $ 77 #include "cdev.h" 101 mydev_open(struct cdev *dev, int flag, int otyp, struct thread *td) 113 mydev_close(struct cdev *dev, int flag, int otyp, struct thread *td) 123 mydev_ioctl(struct cdev *dev, u_long cmd, caddr_t arg, int mode, 149 mydev_write(struct cdev *dev, struct uio *uio, int ioflag) 158 printf("Write to \"cdev\" failed.\n"); 169 mydev_read(struct cdev *de [all...] |
H A D | cdevmod.c | 68 * $FreeBSD: releng/10.2/share/examples/kld/cdev/module/cdevmod.c 158751 2006-05-19 20:02:44Z sobomax $ 76 #include "cdev.h" 85 /* name */ .d_name = "cdev" 93 static struct cdev *sdev; 121 sdev = make_dev(&my_devsw, 0, UID_ROOT, GID_WHEEL, 0600, "cdev"); 139 DEV_MODULE(cdev, cdev_load, NULL);
|
/freebsd-10.2-release/etc/devd/ |
H A D | uath.conf | 13 action "/usr/sbin/uathload -d /dev/$cdev"; 24 action "/usr/sbin/uathload -d /dev/$cdev"; 35 action "/usr/sbin/uathload -d /dev/$cdev"; 46 action "/usr/sbin/uathload -d /dev/$cdev"; 57 action "/usr/sbin/uathload -d /dev/$cdev"; 68 action "/usr/sbin/uathload -d /dev/$cdev"; 79 action "/usr/sbin/uathload -d /dev/$cdev"; 90 action "/usr/sbin/uathload -d /dev/$cdev"; 101 action "/usr/sbin/uathload -d /dev/$cdev"; 112 action "/usr/sbin/uathload -d /dev/$cdev"; [all...] |
/freebsd-10.2-release/sys/dev/sound/pcm/ |
H A D | dsp.h | 39 int dsp_oss_audioinfo(struct cdev *, oss_audioinfo *);
|
/freebsd-10.2-release/share/examples/kld/ |
H A D | Makefile | 70 SUBDIR= cdev dyn_sysctl firmware khelp random_adaptor syscall
|
/freebsd-10.2-release/sys/dev/sound/ |
H A D | clone.h | 115 int snd_clone_getdevtime(struct cdev *, struct timespec *); 116 uint32_t snd_clone_getdevflags(struct cdev *); 117 uint32_t snd_clone_setdevflags(struct cdev *, uint32_t); 120 int snd_clone_acquire(struct cdev *); 121 int snd_clone_release(struct cdev *); 122 int snd_clone_ref(struct cdev *); 123 int snd_clone_unref(struct cdev *); 124 void snd_clone_register(struct snd_clone_entry *, struct cdev *); 125 struct snd_clone_entry *snd_clone_alloc(struct snd_clone *, struct cdev **,
|
/freebsd-10.2-release/sys/sys/ |
H A D | conf.h | 54 struct cdev { struct 61 #define SI_CHILD 0x0010 /* child of another struct cdev **/ 75 LIST_ENTRY(cdev) si_list; 76 LIST_ENTRY(cdev) si_clone; 77 LIST_HEAD(, cdev) si_children; 78 LIST_ENTRY(cdev) si_siblings; 79 struct cdev *si_parent; 127 typedef int d_open_t(struct cdev *dev, int oflags, int devtype, struct thread *td); 128 typedef int d_fdopen_t(struct cdev *dev, int oflags, struct thread *td, struct file *fp); 129 typedef int d_close_t(struct cdev *de [all...] |
/freebsd-10.2-release/sys/dev/dcons/ |
H A D | dcons_os.h | 42 struct consdev *cdev; member in struct:dcons_global
|
/freebsd-10.2-release/sys/dev/wtap/plugins/ |
H A D | wtap_plugin.h | 40 struct cdev *wp_sdev;
|
/freebsd-10.2-release/share/examples/kld/cdev/test/ |
H A D | Makefile | 67 # $FreeBSD: releng/10.2/share/examples/kld/cdev/test/Makefile 276486 2014-12-31 23:25:37Z ngie $ 91 ${MODSTAT} -n cdev
|
/freebsd-10.2-release/sys/fs/devfs/ |
H A D | devfs_int.h | 51 struct cdev cdp_c; 75 struct cdev *devfs_alloc(int); 77 void devfs_free(struct cdev *); 78 void devfs_create(struct cdev *); 79 void devfs_destroy(struct cdev *);
|
/freebsd-10.2-release/sys/dev/fb/ |
H A D | vgareg.h | 83 int vga_open(struct cdev *dev, vga_softc_t *sc, int flag, int mode, 85 int vga_close(struct cdev *dev, vga_softc_t *sc, int flag, int mode, 87 int vga_read(struct cdev *dev, vga_softc_t *sc, struct uio *uio, int flag); 88 int vga_write(struct cdev *dev, vga_softc_t *sc, struct uio *uio, int flag); 89 int vga_ioctl(struct cdev *dev, vga_softc_t *sc, u_long cmd, caddr_t arg, 91 int vga_mmap(struct cdev *dev, vga_softc_t *sc, vm_ooffset_t offset,
|
/freebsd-10.2-release/sys/kern/ |
H A D | kern_conf.c | 52 static MALLOC_DEFINE(M_DEVT, "cdev", "cdev storage"); 55 static void destroy_devl(struct cdev *dev); 56 static int destroy_dev_sched_cbl(struct cdev *dev, 59 static int make_dev_credv(int flags, struct cdev **dres, struct cdevsw *devsw, 76 * Free all the memory collected while the cdev mutex was 78 * be called immediately and is postponed until cdev mutex can be 113 dev_free_devlocked(struct cdev *cdev) argument 118 cdp = cdev2priv(cdev); 867 make_dev_p(int flags, struct cdev **cdev, struct cdevsw *devsw, struct ucred *cr, uid_t uid, gid_t gid, int mode, const char *fmt, ...) argument 885 dev_dependsl(struct cdev *pdev, struct cdev *cdev) argument 895 dev_depends(struct cdev *pdev, struct cdev *cdev) argument 904 make_dev_alias_v(int flags, struct cdev **cdev, struct cdev *pdev, const char *fmt, va_list ap) argument 961 make_dev_alias_p(int flags, struct cdev **cdev, struct cdev *pdev, const char *fmt, ...) argument 974 make_dev_physpath_alias(int flags, struct cdev **cdev, struct cdev *pdev, struct cdev *old_alias, const char *physpath) argument [all...] |
H A D | tty_tty.c | 48 static struct cdev *ctty; 51 cttyopen(struct cdev *dev, int flag, int mode, struct thread *td) 59 struct cdev **dev)
|
/freebsd-10.2-release/sys/net/ |
H A D | if_tapvar.h | 65 struct cdev *tap_dev;
|
/freebsd-10.2-release/sys/dev/joy/ |
H A D | joyvar.h | 38 struct cdev *d;
|
/freebsd-10.2-release/sys/dev/null/ |
H A D | null.c | 48 static struct cdev *null_dev; 49 static struct cdev *zero_dev; 75 null_write(struct cdev *dev __unused, struct uio *uio, int flags __unused) 84 null_ioctl(struct cdev *dev __unused, u_long cmd, caddr_t data __unused, 110 zero_ioctl(struct cdev *dev __unused, u_long cmd, caddr_t data __unused, 132 zero_read(struct cdev *dev __unused, struct uio *uio, int flags __unused)
|
/freebsd-10.2-release/sys/gnu/fs/reiserfs/ |
H A D | reiserfs_mount.h | 25 struct cdev *rm_dev;
|
/freebsd-10.2-release/sys/powerpc/ofw/ |
H A D | ofw_syscons.h | 34 struct cdev *sc_si;
|
/freebsd-10.2-release/sys/dev/drm/ |
H A D | drm_fops.c | 43 int drm_open_helper(struct cdev *kdev, int flags, int fmt, DRM_STRUCTPROC *p, 97 int drm_read(struct cdev *kdev, struct uio *uio, int ioflag) 102 int drm_poll(struct cdev *kdev, int events, DRM_STRUCTPROC *p)
|
/freebsd-10.2-release/sys/dev/lindev/ |
H A D | full.c | 40 static struct cdev *full_dev; 56 full_read(struct cdev *dev __unused, struct uio *uio, int flags __unused) 68 full_write(struct cdev *dev __unused, struct uio *uio __unused,
|