Home
last modified time | relevance | path

Searched refs:holdfp (Results 1 – 16 of 16) sorted by relevance

/dragonfly/sys/dev/drm/
H A Dlinux_dma-buf.c123 if ((fp = holdfp(curthread, fd, -1)) == NULL) in dma_buf_get()
/dragonfly/sys/sys/
H A Dfiledesc.h177 struct file *holdfp (struct thread *td, int fd, int flag);
/dragonfly/sys/kern/
H A Dkern_descrip.c756 if ((fp = holdfp(td, fd, -1)) == NULL) in kern_fcntl()
1481 if ((fp = holdfp(td, fd, -1)) == NULL) in kern_shutdown()
1512 if ((fp = holdfp(td, fd, -1)) == NULL) in kern_fstat()
1549 if ((fp = holdfp(td, uap->fd, -1)) == NULL) in sys_fpathconf()
2693 holdfp(thread_t td, int fd, int flag) in holdfp() function
3127 if ((fp = holdfp(td, uap->fd, -1)) == NULL) in sys_flock()
3188 if ((wfp = holdfp(td, sfd, -1)) == NULL) in fdopen()
H A Dkern_checkpoint.c744 else if ((fp = holdfp(td, uap->fd, FWRITE)) == NULL) in sys_sys_checkpoint()
756 if ((fp = holdfp(td, uap->fd, FREAD)) == NULL) { in sys_sys_checkpoint()
H A Dsys_generic.c255 fp = holdfp(td, fd, FREAD); in kern_preadv()
459 fp = holdfp(td, fd, FWRITE); in kern_pwritev()
579 fp = holdfp(td, fd, FREAD|FWRITE); in mapped_ioctl()
H A Dkern_event.c1070 fp = holdfp(td, uap->fd, -1); in sys_kevent()
1121 *fp = holdfp(td, kev->ident, -1); in floadkevfps()
H A Dsubr_diskiocom.c118 fp = holdfp(curthread, recl->fd, -1); in disk_iocom_ioctl()
H A Dsys_mqueue.c183 fp = holdfp(curthread, (int)mqd, -1); /* XXX: Why -1 ? */ in mqueue_get()
H A Dvfs_syscalls.c1300 fp = holdfp(td, uap->fd, -1); in sys_mountctl()
2848 fp = holdfp(td, fd, -1); in kern_lseek()
5481 fp = holdfp(td, fd, -1); in kern_posix_fallocate()
H A Dimgact_elf.c1579 fp = holdfp(td, i, -1); in elf_putfiles()
H A Duipc_syscalls.c1585 fp = holdfp(td, uap->fd, FREAD); in sys_sendfile()
/dragonfly/sys/vm/
H A Dvm_mmap.c228 fp = holdfp(td, fd, -1); in kern_mmap()
/dragonfly/sys/dev/disk/xdisk/
H A Dxdisk.c297 fp = holdfp(curthread, xaioc->fd, -1); in xdisk_attach()
/dragonfly/sys/vfs/hammer2/
H A Dhammer2_ioctl.c202 fp = holdfp(curthread, recl->fd, -1); in hammer2_ioctl_recluster()
H A Dhammer2_vfsops.c1353 fp = holdfp(curthread, info.cluster_fd, -1); in hammer2_vfs_mount()
/dragonfly/usr.sbin/makefs/hammer2/
H A Dhammer2_ioctl.c209 fp = holdfp(curthread, recl->fd, -1);