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

Function kern_writev

freebsd/kern/sys_generic.c:483–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481}
482
483int
484kern_writev(struct thread *td, int fd, struct uio *auio)
485{
486 struct file *fp;
487 int error;
488
489 error = fget_write(td, fd, &cap_write_rights, &fp);
490 if (error)
491 return (error);
492 error = dofilewrite(td, fd, fp, auio, (off_t)-1, 0);
493 fdrop(fp, td);
494 return (error);
495}
496
497/*
498 * Gather positioned write system call.

Callers 6

linux_writevFunction · 0.85
vn_sendfileFunction · 0.85
sys_writeFunction · 0.85
sys_writevFunction · 0.85
ff_writeFunction · 0.85
ff_writevFunction · 0.85

Calls 2

fget_writeFunction · 0.85
dofilewriteFunction · 0.85

Tested by

no test coverage detected