Home
last modified time | relevance | path

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

/freebsd/sys/sys/
H A Dfile.h142 fo_truncate_t *fo_truncate; member
334 static __inline fo_truncate_t fo_truncate; variable
361 fo_truncate(struct file *fp, off_t length, struct ucred *active_cred, in fo_truncate() function
365 return ((*fp->f_ops->fo_truncate)(fp, length, active_cred, td)); in fo_truncate()
/freebsd/sys/kern/
H A Dsys_eventfd.c67 .fo_truncate = invfo_truncate,
H A Dsys_procdesc.c102 .fo_truncate = invfo_truncate,
H A Dsys_timerfd.c365 .fo_truncate = invfo_truncate,
H A Dtty_pts.c603 .fo_truncate = invfo_truncate,
H A Dsys_pipe.c159 .fo_truncate = pipe_truncate,
1412 error = vnops.fo_truncate(fp, length, active_cred, td); in pipe_truncate()
H A Dsys_socket.c102 .fo_truncate = invfo_truncate,
H A Duipc_sem.c146 .fo_truncate = invfo_truncate,
H A Dsys_generic.c613 error = fo_truncate(fp, length, td->td_ucred, td); in kern_ftruncate()
H A Duipc_shm.c156 .fo_truncate = shm_truncate,
H A Dvfs_syscalls.c1271 error = fo_truncate(fp, 0, td->td_ucred, td); in openatfp()
4684 error = fo_truncate(fp, 0, td->td_ucred, td); in kern_fhopen()
H A Dkern_descrip.c5311 .fo_truncate = badfo_truncate,
5342 .fo_truncate = badfo_truncate,
H A Duipc_mqueue.c2687 .fo_truncate = invfo_truncate,
H A Dkern_event.c139 .fo_truncate = invfo_truncate,
H A Dvfs_vnops.c112 .fo_truncate = vn_truncate,
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_file_os.c97 error = fo_truncate(fp, 0, td->td_ucred, td); in zfs_file_open()
/freebsd/sys/fs/devfs/
H A Ddevfs_vnops.c1911 return (vnops.fo_truncate(fp, length, cred, td)); in devfs_truncate_f()
2043 .fo_truncate = devfs_truncate_f,
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_compat.c1796 .fo_truncate = invfo_truncate,