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

Function fo_mmap

freebsd/sys/file.h:427–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425}
426
427static __inline int
428fo_mmap(struct file *fp, vm_map_t map, vm_offset_t *addr, vm_size_t size,
429 vm_prot_t prot, vm_prot_t cap_maxprot, int flags, vm_ooffset_t foff,
430 struct thread *td)
431{
432
433 if (fp->f_ops->fo_mmap == NULL)
434 return (ENODEV);
435 return ((*fp->f_ops->fo_mmap)(fp, map, addr, size, prot, cap_maxprot,
436 flags, foff, td));
437}
438
439static __inline int
440fo_aio_queue(struct file *fp, struct kaiocb *job)

Callers 1

vm_mmap.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected