MCPcopy Create free account
hub / github.com/F-Stack/f-stack / foffset_get

Function foffset_get

freebsd/sys/file.h:93–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91void foffset_unlock_uio(struct file *fp, struct uio *uio, int flags);
92
93static inline off_t
94foffset_get(struct file *fp)
95{
96
97 return (foffset_lock(fp, FOF_NOLOCK));
98}
99
100typedef int fo_rdwr_t(struct file *fp, struct uio *uio,
101 struct ucred *active_cred, int flags,

Callers 3

kern_fcntlFunction · 0.85
sysctl_kern_fileFunction · 0.85
export_file_to_kinfoFunction · 0.85

Calls 1

foffset_lockFunction · 0.50

Tested by

no test coverage detected