/freebsd-9.3-release/sys/dev/sound/pcm/ |
H A D | sndstat.c | 132 sndstat_open(struct cdev *i_dev, int flags, int mode, struct thread *td) argument 134 if (sndstat_dev == NULL || i_dev != sndstat_dev) 138 if (SNDSTAT_PID(i_dev) != 0) { 142 SNDSTAT_PID_SET(i_dev, td->td_proc->p_pid); 144 SNDSTAT_PID_SET(i_dev, 0); 154 sndstat_close(struct cdev *i_dev, int flags, int mode, struct thread *td) argument 156 if (sndstat_dev == NULL || i_dev != sndstat_dev) 160 if (SNDSTAT_PID(i_dev) == 0) { 166 SNDSTAT_PID_SET(i_dev, 0); 174 sndstat_read(struct cdev *i_dev, struc argument [all...] |
H A D | dsp.c | 426 prio = dsp_get_flags(i_dev); \ 437 else if (DSP_REGISTERED(d, i_dev)) \ 442 dsp_open(struct cdev *i_dev, int flags, int mode, struct thread *td) argument 450 if (i_dev == NULL || td == NULL) 453 d = dsp_get_info(i_dev); 467 error = snd_clone_acquire(i_dev); 479 (void)snd_clone_release(i_dev); 493 devtype = PCMDEV(i_dev); 517 (void)snd_clone_release(i_dev); 522 wdevunit = dev2unit(i_dev); 693 dsp_close(struct cdev *i_dev, int flags, int mode, struct thread *td) argument 811 dsp_io_ops(struct cdev *i_dev, struct uio *buf) argument 885 dsp_read(struct cdev *i_dev, struct uio *buf, int flag) argument 891 dsp_write(struct cdev *i_dev, struct uio *buf, int flag) argument 1060 dsp_ioctl(struct cdev *i_dev, u_long cmd, caddr_t arg, int mode, struct thread *td) argument 2157 dsp_poll(struct cdev *i_dev, int events, struct thread *td) argument 2195 dsp_mmap(struct cdev *i_dev, vm_ooffset_t offset, vm_paddr_t *paddr, int nprot, vm_memattr_t *memattr) argument 2205 dsp_mmap_single(struct cdev *i_dev, vm_ooffset_t *offset, vm_size_t size, struct vm_object **object, int nprot) argument 2541 dsp_oss_audioinfo(struct cdev *i_dev, oss_audioinfo *ai) argument [all...] |
H A D | mixer.h | 36 int mixer_ioctl_cmd(struct cdev *i_dev, u_long cmd, caddr_t arg, int mode, struct thread *td, int from); 37 int mixer_oss_mixerinfo(struct cdev *i_dev, oss_mixerinfo *mi);
|
H A D | mixer.c | 1036 mixer_open(struct cdev *i_dev, int flags, int mode, struct thread *td) argument 1042 if (i_dev == NULL || i_dev->si_drv1 == NULL) 1045 m = i_dev->si_drv1; 1060 mixer_close(struct cdev *i_dev, int flags, int mode, struct thread *td) argument 1066 if (i_dev == NULL || i_dev->si_drv1 == NULL) 1069 m = i_dev->si_drv1; 1193 mixer_ioctl(struct cdev *i_dev, u_long cmd, caddr_t arg, int mode, argument 1199 if (i_dev 1230 mixer_ioctl_cmd(struct cdev *i_dev, u_long cmd, caddr_t arg, int mode, struct thread *td, int from) argument 1377 mixer_oss_mixerinfo(struct cdev *i_dev, oss_mixerinfo *mi) argument [all...] |
/freebsd-9.3-release/lib/libprocstat/ |
H A D | ntfs.c | 69 vn->vn_fsid = dev2udev(kd, node.i_dev);
|
H A D | common_kvm.c | 101 vn->vn_fsid = dev2udev(kd, inode.i_dev);
|
/freebsd-9.3-release/sys/fs/ntfs/ |
H A D | ntfs_inode.h | 46 struct cdev *i_dev; /* Device associated with the inode. */ member in struct:ntnode
|
H A D | ntfs_ihash.c | 94 if (inum == ip->i_number && dev == ip->i_dev)
|
H A D | ntfs_vnops.c | 186 vap->va_fsid = dev2udev(ip->i_dev);
|
H A D | ntfs_subr.c | 403 ip->i_dev = ntmp->ntm_devvp->v_rdev;
|
/freebsd-9.3-release/sys/gnu/fs/reiserfs/ |
H A D | reiserfs_fs_i.h | 42 struct cdev *i_dev; member in struct:reiserfs_node
|
H A D | reiserfs_vnops.c | 101 vap->va_fsid = dev2udev(ip->i_dev);
|
H A D | reiserfs_inode.c | 789 ip->i_dev = dev;
|
H A D | reiserfs_vfsops.c | 913 ip->i_dev = rmp->rm_dev;
|
/freebsd-9.3-release/sys/dev/sound/midi/ |
H A D | midi.c | 620 midi_open(struct cdev *i_dev, int flags, int mode, struct thread *td) argument 622 struct snd_midi *m = i_dev->si_drv1; 679 midi_close(struct cdev *i_dev, int flags, int mode, struct thread *td) argument 681 struct snd_midi *m = i_dev->si_drv1; 724 midi_read(struct cdev *i_dev, struct uio *uio, int ioflag) argument 727 struct snd_midi *m = i_dev->si_drv1; 761 if (m != i_dev->si_drv1) 802 midi_write(struct cdev *i_dev, struct uio *uio, int ioflag) argument 805 struct snd_midi *m = i_dev->si_drv1; 838 if (m != i_dev 883 midi_ioctl(struct cdev *i_dev, u_long cmd, caddr_t arg, int mode, struct thread *td) argument 890 midi_poll(struct cdev *i_dev, int events, struct thread *td) argument 929 midistat_open(struct cdev *i_dev, int flags, int mode, struct thread *td) argument 959 midistat_close(struct cdev *i_dev, int flags, int mode, struct thread *td) argument 975 midistat_read(struct cdev *i_dev, struct uio *buf, int flag) argument [all...] |
H A D | sequencer.c | 749 seq_open(struct cdev *i_dev, int flags, int mode, struct thread *td) argument 751 struct seq_softc *scp = i_dev->si_drv1; 775 scp->music = MIDIDEV(i_dev) == SND_DEV_MUSIC; 832 seq_close(struct cdev *i_dev, int flags, int mode, struct thread *td) argument 835 struct seq_softc *scp = i_dev->si_drv1; 870 seq_read(struct cdev *i_dev, struct uio *uio, int ioflag) argument 873 struct seq_softc *scp = i_dev->si_drv1; 946 seq_write(struct cdev *i_dev, struct uio *uio, int ioflag) argument 949 struct seq_softc *scp = i_dev->si_drv1; 991 if (scp != i_dev 1125 seq_ioctl(struct cdev *i_dev, u_long cmd, caddr_t arg, int mode, struct thread *td) argument 1429 seq_poll(struct cdev *i_dev, int events, struct thread *td) argument [all...] |
/freebsd-9.3-release/sys/ufs/ufs/ |
H A D | inode.h | 71 struct cdev *i_dev; /* Device associated with the inode. */ member in struct:inode
|
H A D | ufs_vnops.c | 471 vap->va_fsid = dev2udev(ip->i_dev); 1395 if (tdp->i_dev != fip->i_dev) 1419 if (tip->i_dev != tdp->i_dev || tip->i_dev != fip->i_dev) 2371 devtoname(ip->i_dev));
|
/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | audio.c | 118 const char **i_dev /* input device */
|
/freebsd-9.3-release/sys/dev/sound/pci/ |
H A D | emu10kx.c | 2197 emu10kx_open(struct cdev *i_dev, int flags __unused, int mode __unused, struct thread *td __unused) argument 2202 sc = i_dev->si_drv1; 2226 emu10kx_close(struct cdev *i_dev, int flags __unused, int mode __unused, struct thread *td __unused) argument 2230 sc = i_dev->si_drv1; 2245 emu10kx_read(struct cdev *i_dev, struct uio *buf, int flag __unused) argument 2250 sc = i_dev->si_drv1;
|
/freebsd-9.3-release/sys/kern/ |
H A D | kern_lockf.c | 2492 devtoname(lock->lf_inode->i_dev)); 2520 devtoname(lock->lf_inode->i_dev));
|
/freebsd-9.3-release/sys/ufs/ffs/ |
H A D | ffs_alloc.c | 173 devtoname(ip->i_dev), (long)fs->fs_bsize, size, 278 devtoname(ip->i_dev), (long)fs->fs_bsize, osize, 293 devtoname(ip->i_dev), (long)fs->fs_bsize, (intmax_t)bprev, 387 devtoname(ip->i_dev), (long)fs->fs_optim, fs->fs_fsmnt);
|
H A D | ffs_vfsops.c | 1728 ip->i_dev = dev;
|