Home
last modified time | relevance | path

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

/freebsd/sys/sys/
H A Dfile.h145 fo_truncate_t *fo_truncate; member
338 static __inline fo_truncate_t fo_truncate; variable
365 fo_truncate(struct file *fp, off_t length, struct ucred *active_cred, in fo_truncate() function
369 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.c364 .fo_truncate = invfo_truncate,
H A Dtty_pts.c602 .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 Dvfs_inotify.c93 .fo_truncate = invfo_truncate,
H A Dsys_generic.c615 error = fo_truncate(fp, length, td->td_ucred, td); in kern_ftruncate()
H A Duipc_shm.c157 .fo_truncate = shm_truncate,
H A Dkern_descrip.c5460 .fo_truncate = badfo_truncate,
5491 .fo_truncate = badfo_truncate,
H A Dvfs_syscalls.c1305 error = fo_truncate(fp, 0, td->td_ucred, td); in openatfp()
4788 error = fo_truncate(fp, 0, td->td_ucred, td); in kern_fhopen()
H A Dkern_event.c139 .fo_truncate = invfo_truncate,
H A Duipc_mqueue.c2689 .fo_truncate = invfo_truncate,
H A Dvfs_vnops.c110 .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.c1920 return (vnops.fo_truncate(fp, length, cred, td)); in devfs_truncate_f()
2052 .fo_truncate = devfs_truncate_f,
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_compat.c1798 .fo_truncate = invfo_truncate,