Home
last modified time | relevance | path

Searched refs:f_data (Results 1 – 25 of 63) sorted by relevance

123

/netbsd/usr.bin/fstat/
H A Dmisc.c132 if (!KVM_READ(f->f_data, &bpf, sizeof(bpf))) { in p_bpf()
176 if (!KVM_READ(f->f_data, &ks, sizeof(ks))) { in p_sem()
206 if (!KVM_READ(f->f_data, &mq, sizeof(mq))) { in p_mqueue()
220 if (!KVM_READ(f->f_data, &kq, sizeof(kq))) { in p_kqueue()
236 if (!KVM_READ(f->f_data, &af, sizeof(af))) { in p_audio()
238 f->f_data, Pid); in p_audio()
284 if (!KVM_READ(f->f_data, &mfd, sizeof(mfd))) { in p_memfd()
335 printf("* random %p", f->f_data); in pmisc()
343 printf("* crypto %p", f->f_data); in pmisc()
348 printf("* pad %p", f->f_data); in pmisc()
[all …]
/netbsd/sys/external/bsd/drm2/linux/
H A Dlinux_dma_buf.c117 file->f_data = dmabuf; in dma_buf_fd()
142 dmabuf = file->f_data; in dma_buf_get()
258 struct dma_buf *dmabuf = file->f_data; in dmabuf_fop_close()
267 struct dma_buf *dmabuf = file->f_data; in dmabuf_fop_poll()
276 struct dma_buf *dmabuf = file->f_data; in dmabuf_fop_kqfilter()
286 struct dma_buf *dmabuf = file->f_data; in dmabuf_fop_mmap()
305 struct dma_buf *dmabuf = fp->f_data; in dmabuf_fop_seek()
H A Dlinux_sync_file.c70 struct sync_file *sf = fp->f_data; in sync_file_close()
96 struct sync_file *sf = fp->f_data; in sync_file_poll()
132 struct sync_file *sf = fp->f_data; in sync_file_kqfilter()
214 sf = fp->f_data; in sync_file_get_fence()
/netbsd/sys/external/bsd/drm2/drm/
H A Ddrm_cdevsw.c222 struct drm_file *const priv = fp->f_data; in drm_close()
253 struct drm_file *const file = fp->f_data; in drm_read()
386 struct drm_file *file = fp->f_data; in drm_ioctl_shim()
403 struct drm_file *const file = fp->f_data; in drm_poll()
434 struct drm_file *const file = fp->f_data; in drm_kqfilter()
496 struct drm_file *const file = fp->f_data; in drm_stat()
518 struct drm_file *const file = fp->f_data; in drm_fop_mmap()
H A Ddrm_gem_vm.c108 struct drm_file *file = fp->f_data; in drm_gem_mmap_object_locked()
/netbsd/sys/dev/dmover/
H A Ddmover_io.c219 struct dmio_state *ds = (struct dmio_state *) fp->f_data; in dmio_usrreq_init()
397 struct dmio_state *ds = (struct dmio_state *) fp->f_data; in dmio_read()
519 struct dmio_state *ds = (struct dmio_state *) fp->f_data; in dmio_write()
603 struct dmio_state *ds = fp->f_data; in dmio_stat()
625 struct dmio_state *ds = (struct dmio_state *) fp->f_data; in dmio_ioctl()
680 struct dmio_state *ds = (struct dmio_state *) fp->f_data; in dmio_poll()
727 struct dmio_state *ds = (struct dmio_state *) fp->f_data; in dmio_close()
758 fp->f_data = NULL; in dmio_close()
/netbsd/sys/modules/examples/pollpal/
H A Dpollpal.c150 pal_t * pl = fp->f_data; in pollpal_close()
174 pal_t *pl = fp->f_data; in pollpal_write()
219 pal_t *pl = fp->f_data; in pollpal_read()
267 pal_t *pl = fp->f_data; in pollpal_poll()
/netbsd/sys/dev/putter/
H A Dputter.c226 struct putter_instance *pi = fp->f_data; in putter_fop_read()
273 struct putter_instance *pi = fp->f_data; in putter_fop_write()
325 struct putter_instance *pi = fp->f_data; in putter_fop_poll()
360 struct putter_instance *pi = fp->f_data; in putter_fop_close()
428 struct putter_instance *pi = fp->f_data; in putter_fop_stat()
504 struct putter_instance *pi = fp->f_data; in putter_fop_kqfilter()
/netbsd/sys/dev/dtv/
H A Ddtv_demux.c330 struct dtv_demux *demux = fp->f_data; in dtv_demux_close()
337 fp->f_data = NULL; in dtv_demux_close()
369 struct dtv_demux *demux = fp->f_data; in dtv_demux_ioctl()
465 struct dtv_demux *demux = fp->f_data; in dtv_demux_poll()
494 struct dtv_demux *demux = fp->f_data; in dtv_demux_read()
/netbsd/sys/arch/xen/xen/
H A Dxenevt.c423 struct xenevt_d *d = fp->f_data; in xenevt_fclose()
435 fp->f_data = NULL; in xenevt_fclose()
443 struct xenevt_d *d = fp->f_data; in xenevt_fread()
510 struct xenevt_d *d = fp->f_data; in xenevt_fwrite()
539 struct xenevt_d *d = fp->f_data; in xenevt_fioctl()
657 struct xenevt_d *d = fp->f_data; in xenevt_fpoll()
/netbsd/sys/modules/examples/fopsmapper/
H A Dfopsmapper.c121 if ((fo = fp->f_data) == NULL) in fopsmapper_mmap()
155 fo = fp->f_data; in fopsmapper_close()
/netbsd/sys/fs/nfs/client/
H A Dnfs_clkrpc.c181 so = fp->f_data; in nfscbd_addsock()
198 fp->f_data = NULL; in nfscbd_addsock()
/netbsd/sys/dev/pci/
H A Dvio9p.c219 struct vio9p_softc *sc = fp->f_data; in vio9p_read()
315 struct vio9p_softc *sc = fp->f_data; in vio9p_write()
390 struct vio9p_softc *sc = fp->f_data; in vio9p_close()
447 struct vio9p_softc *sc = fp->f_data; in vio9p_kqfilter()
/netbsd/usr.bin/netstat/
H A Dunix.c222 if (kread((u_long)fp->f_data, (char *)so, sizeof (*so))) in unixpr()
228 unixdomainpr(so, fp->f_data); in unixpr()
/netbsd/sys/kern/
H A Dsubr_kcov.c467 kcov_t *kd = fp->f_data; in kcov_fops_close()
479 fp->f_data = NULL; in kcov_fops_close()
490 kd = fp->f_data; in kcov_fops_ioctl()
538 kd = fp->f_data; in kcov_fops_mmap()
H A Dkern_ksyms.c1308 struct ksyms_snapshot *ks = fp->f_data; in ksymsclose()
1319 const struct ksyms_snapshot *ks = fp->f_data; in ksymsread()
1369 const struct ksyms_snapshot *ks = fp->f_data; in ksymsstat()
1393 const struct ksyms_snapshot *ks = fp->f_data; in ksymsmmap()
1421 struct ksyms_snapshot *ks = fp->f_data; in ksymsseek()
1468 struct ksyms_snapshot *ks = fp->f_data; in ksymsioctl()
/netbsd/external/bsd/ipf/dist/ipsend/
H A Dsock.c242 if (KMCPY(s, f->f_data, sizeof(*s)) == -1)
355 if (KMCPY(s, f->f_data, sizeof(*s)) == -1)
358 (u_long)f->f_data, (u_long)s, (u_long)sizeof(*s));
/netbsd/sys/dev/usb/
H A Dvhci.c1019 vhci_fd_t *vfd = fp->f_data; in vhci_fd_close()
1025 fp->f_data = NULL; in vhci_fd_close()
1034 vhci_fd_t *vfd = fp->f_data; in vhci_fd_read()
1108 vhci_fd_t *vfd = fp->f_data; in vhci_fd_write()
1185 vhci_fd_t *vfd = fp->f_data; in vhci_fd_ioctl()
/netbsd/sys/rump/librump/rumpkern/
H A Dcons.c92 fp->f_data = NULL; in rump_consdev_init()
/netbsd/sys/fs/nfs/common/
H A Dnfsdport.h95 #define NFSFPVNODE(f) ((struct vnode *)((f)->f_data))
/netbsd/usr.bin/find/
H A Dfind.h103 #define f_data p_un._f_data macro
/netbsd/sys/compat/linux/common/
H A Dlinux_file.c341 if (((fp1->f_type == DTYPE_SOCKET) && fp1->f_data in linux_sys_fcntl()
342 && ((struct socket *)fp1->f_data)->so_state & SS_ISAPIPE) in linux_sys_fcntl()
391 || (vp = (struct vnode *)fp->f_data) == NULL in linux_sys_fcntl()
H A Dlinux_ioctl.c169 (vp = (struct vnode *)fp->f_data) != NULL && in linux_sys_ioctl()
/netbsd/sys/fs/nfs/server/
H A Dnfs_nfsdkrpc.c437 so = fp->f_data; in nfsrvd_addsock()
454 fp->f_data = NULL; in nfsrvd_addsock()
/netbsd/sys/sys/
H A Dfile.h160 #define f_data f_undata.fd_data macro

123