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

Function sys_readv

freebsd/kern/sys_generic.c:267–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265};
266#endif
267int
268sys_readv(struct thread *td, struct readv_args *uap)
269{
270 struct uio *auio;
271 int error;
272
273 error = copyinuio(uap->iovp, uap->iovcnt, &auio);
274 if (error)
275 return (error);
276 error = kern_readv(td, uap->fd, auio);
277 free(auio, M_IOV);
278 return (error);
279}
280
281int
282kern_readv(struct thread *td, int fd, struct uio *auio)

Callers

nothing calls this directly

Calls 3

kern_readvFunction · 0.85
copyinuioFunction · 0.70
freeFunction · 0.70

Tested by

no test coverage detected