/freebsd-9.3-release/sys/ofed/include/linux/ |
H A D | cdev.h | 45 struct cdev *cdev; member in struct:linux_cdev 53 struct linux_cdev *cdev; local 55 cdev = container_of(kobj, struct linux_cdev, kobj); 56 if (cdev->cdev) 57 destroy_dev(cdev->cdev); 58 kfree(cdev); 64 struct linux_cdev *cdev; local 80 cdev_init(struct linux_cdev *cdev, const struct file_operations *ops) argument 90 struct linux_cdev *cdev; local 105 cdev_add(struct linux_cdev *cdev, dev_t dev, unsigned count) argument 118 cdev_del(struct linux_cdev *cdev) argument 127 #define cdev macro [all...] |
H A D | miscdevice.h | 35 #include <linux/cdev.h> 41 struct cdev *cdev; member in struct:miscdevice 52 misc->cdev = cdev_alloc(); 53 if (misc->cdev == NULL) 55 misc->cdev->owner = THIS_MODULE; 56 misc->cdev->ops = misc->fops; 57 kobject_set_name(&misc->cdev->kobj, misc->name); 58 if (cdev_add(misc->cdev, misc->this_device->devt, 1)) 67 cdev_del(misc->cdev); [all...] |
/freebsd-9.3-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-9.3-release/share/examples/kld/cdev/module/ |
H A D | Makefile | 4 KMOD= cdev 5 SRCS= cdev.c cdevmod.c
|
H A D | cdev.c | 3 * cdev.c 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 *dev, struct uio *uio, int ioflag)
|
H A D | cdevmod.c | 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-9.3-release/sys/fs/ntfs/ |
H A D | ntfs_ihash.h | 34 struct ntnode *ntfs_nthashlookup(struct cdev *, ino_t); 35 struct ntnode *ntfs_nthashget(struct cdev *, ino_t);
|
/freebsd-9.3-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-9.3-release/share/examples/kld/ |
H A D | Makefile | 70 SUBDIR= cdev dyn_sysctl firmware khelp syscall
|
/freebsd-9.3-release/sys/dev/sound/pcm/ |
H A D | dsp.h | 39 int dsp_oss_audioinfo(struct cdev *, oss_audioinfo *);
|
/freebsd-9.3-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-9.3-release/sys/sys/ |
H A D | conf.h | 54 struct cdev { struct 61 #define SI_CHILD 0x0010 /* child of another struct cdev **/ 77 LIST_ENTRY(cdev) si_list; 78 LIST_ENTRY(cdev) si_clone; 79 LIST_HEAD(, cdev) si_children; 80 LIST_ENTRY(cdev) si_siblings; 81 struct cdev *si_parent; 129 typedef int d_open_t(struct cdev *dev, int oflags, int devtype, struct thread *td); 130 typedef int d_fdopen_t(struct cdev *dev, int oflags, struct thread *td, struct file *fp); 131 typedef int d_close_t(struct cdev *de [all...] |
/freebsd-9.3-release/share/examples/kld/cdev/test/ |
H A D | Makefile | 91 ${MODSTAT} -n cdev
|
/freebsd-9.3-release/sys/dev/dcons/ |
H A D | dcons_os.h | 42 struct consdev *cdev; member in struct:dcons_global
|
/freebsd-9.3-release/sys/fs/devfs/ |
H A D | devfs_int.h | 51 struct cdev cdp_c; 74 struct cdev *devfs_alloc(int); 76 void devfs_free(struct cdev *); 77 void devfs_create(struct cdev *); 78 void devfs_destroy(struct cdev *);
|
/freebsd-9.3-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-9.3-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, 58 static int make_dev_credv(int flags, struct cdev **dres, struct cdevsw *devsw, 75 * Free all the memory collected while the cdev mutex was 77 * be called immediately and is postponed until cdev mutex can be 112 dev_free_devlocked(struct cdev *cdev) argument 117 cdp = cdev2priv(cdev); 860 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 878 dev_dependsl(struct cdev *pdev, struct cdev *cdev) argument 888 dev_depends(struct cdev *pdev, struct cdev *cdev) argument 897 make_dev_alias_v(int flags, struct cdev **cdev, struct cdev *pdev, const char *fmt, va_list ap) argument 954 make_dev_alias_p(int flags, struct cdev **cdev, struct cdev *pdev, const char *fmt, ...) argument 967 make_dev_physpath_alias(int flags, struct cdev **cdev, struct cdev *pdev, struct cdev *old_alias, const char *physpath) argument [all...] |
/freebsd-9.3-release/sys/cam/ |
H A D | cam_compat.h | 34 int cam_compat_ioctl(struct cdev *dev, u_long *cmd, caddr_t *addr, int *flag, struct thread *td);
|
/freebsd-9.3-release/sys/dev/joy/ |
H A D | joyvar.h | 38 struct cdev *d;
|
/freebsd-9.3-release/sys/net/ |
H A D | if_tapvar.h | 65 struct cdev *tap_dev;
|
/freebsd-9.3-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-9.3-release/sys/gnu/fs/reiserfs/ |
H A D | reiserfs_mount.h | 25 struct cdev *rm_dev;
|
/freebsd-9.3-release/sys/powerpc/ofw/ |
H A D | ofw_syscons.h | 34 struct cdev *sc_si;
|
/freebsd-9.3-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-9.3-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,
|