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

Function kern_aio_fsync

freebsd/kern/vfs_aio.c:2585–2603  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2583}
2584
2585static int
2586kern_aio_fsync(struct thread *td, int op, struct aiocb *ujob,
2587 struct aiocb_ops *ops)
2588{
2589 int listop;
2590
2591 switch (op) {
2592 case O_SYNC:
2593 listop = LIO_SYNC;
2594 break;
2595 case O_DSYNC:
2596 listop = LIO_DSYNC;
2597 break;
2598 default:
2599 return (EINVAL);
2600 }
2601
2602 return (aio_aqueue(td, ujob, NULL, listop, ops));
2603}
2604
2605int
2606sys_aio_fsync(struct thread *td, struct aio_fsync_args *uap)

Callers 2

sys_aio_fsyncFunction · 0.85
freebsd32_aio_fsyncFunction · 0.85

Calls 1

aio_aqueueFunction · 0.85

Tested by

no test coverage detected