Home
last modified time | relevance | path

Searched refs:DTYPE_VNODE (Results 1 – 18 of 18) sorted by relevance

/freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_file_os.c140 if (fp->f_type == DTYPE_VNODE) in zfs_file_write_impl()
285 if (fp->f_type != DTYPE_VNODE) in zfs_file_fsync()
/freebsd-14.2/sys/fs/fdescfs/
H A Dfdesc_vnops.c266 if ((fdm->flags & FMNT_NODUP) != 0 && a->fp->f_type == DTYPE_VNODE) { in fdesc_get_ino_alloc()
649 case DTYPE_VNODE: in fdesc_readlink()
/freebsd-14.2/sys/security/mac/
H A Dmac_syscalls.c260 case DTYPE_VNODE: in sys___mac_get_fd()
420 case DTYPE_VNODE: in sys___mac_set_fd()
/freebsd-14.2/sys/kern/
H A Dkern_descrip.c640 if (fp->f_type != DTYPE_VNODE || fp->f_ops == &path_fileops) { in kern_fcntl()
745 if (fp->f_type != DTYPE_VNODE || fp->f_ops == &path_fileops) { in kern_fcntl()
852 if (fp->f_type != DTYPE_VNODE) { in kern_fcntl()
2487 if (fp->f_type != DTYPE_VNODE || in fdclearlocks()
2646 if (fp->f_type != DTYPE_VNODE) in is_unsafe()
2798 if (fp->f_type == DTYPE_VNODE) { in closef()
3704 if (fp->f_type != DTYPE_VNODE && fp->f_type != DTYPE_FIFO) { in sys_flock()
3858 if (fp->f_type == DTYPE_VNODE) { in chroot_refuse_vdir_fds()
4285 if (fp->f_type != DTYPE_VNODE || in descrip_check_write_mp()
5038 case DTYPE_VNODE: in file_type_to_name()
[all …]
H A Dvfs_aio.c800 if (fp->f_type == DTYPE_VNODE) in aio_process_rw()
1229 if (fp == NULL || fp->f_type != DTYPE_VNODE) in aio_qbio()
1801 if (fp->f_type == DTYPE_VNODE) { in aio_queue_file()
2066 if (fp->f_type == DTYPE_VNODE) { in sys_aio_cancel()
H A Dvfs_vnops.c366 if (fp->f_type != DTYPE_NONE && fp->f_type != DTYPE_VNODE) in vn_open_vnode_advlock()
478 fp->f_type = DTYPE_VNODE; in vn_open_vnode()
4266 if (fp2->f_type != DTYPE_VNODE) in vn_cmp()
H A Dkern_sendfile.c582 if (fp->f_type == DTYPE_VNODE) { in sendfile_getobj()
H A Dsys_process.c1592 if (fp->f_type != DTYPE_VNODE || fp->f_vnode->v_type != VREG) { in kern_ptrace()
H A Dtty.c2138 if (fp->f_type != DTYPE_VNODE || fp->f_vnode->v_type != VCHR) { in ttyhook_register()
H A Dvfs_syscalls.c1225 DTYPE_VNODE, NULL, &path_fileops); in openatfp()
4808 if (fp->f_type != DTYPE_VNODE) { in kern_posix_fadvise()
/freebsd-14.2/sys/compat/linux/
H A Dlinux_socket.c2406 if ((fp->f_type != DTYPE_SHM && fp->f_type != DTYPE_VNODE) || in is_sendfile()
2407 (fp->f_type == DTYPE_VNODE && in is_sendfile()
2431 return (fp->f_type == DTYPE_VNODE && fp->f_vnode != NULL && in is_regular_file()
2566 if ((fp->f_type != DTYPE_SHM && fp->f_type != DTYPE_VNODE) || in linux_sendfile_common()
2567 (fp->f_type == DTYPE_VNODE && in linux_sendfile_common()
H A Dlinux_file.c183 if (fp->f_type != DTYPE_VNODE) { in linux_common_open()
/freebsd-14.2/sys/dev/filemon/
H A Dfilemon_wrapper.c69 if (filemon->fp->f_type == DTYPE_VNODE) in filemon_output()
/freebsd-14.2/sys/sys/
H A Dfile.h59 #define DTYPE_VNODE 1 /* file */ macro
/freebsd-14.2/sys/security/mac_veriexec/
H A Dmac_veriexec.c895 if (fp->f_type != DTYPE_VNODE) { in mac_veriexec_syscall()
/freebsd-14.2/sys/security/audit/
H A Daudit_arg.c683 case DTYPE_VNODE: in audit_arg_file()
/freebsd-14.2/sys/fs/devfs/
H A Ddevfs_vnops.c1319 finit(fp, fp->f_flag, DTYPE_VNODE, dev, &devfs_ops_f); in devfs_open()
2037 if (fp2->f_type != DTYPE_VNODE || fp2->f_ops != &devfs_ops_f) in devfs_cmp_f()
/freebsd-14.2/lib/libprocstat/
H A Dlibprocstat.c588 case DTYPE_VNODE: in procstat_getfiles_kvm()