Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\relay.c Create Date:2022-07-28 11:46:41
Last Modify:2020-03-17 19:20:22 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ault() vm_op implementation for relay file mapping.

Proto:static vm_fault_t relay_buf_fault(struct vm_fault *vmf)

Type:vm_fault_t

Parameter:

TypeParameterName
struct vm_fault *vmf
45  buf = was vm_pte (shared mem)
46  pgoff = Logical page offset based on vma
48  If Not buf Then Return VM_FAULT_OOM
51  page = Support for virtually mapped pages
52  If Not page Then Return VM_FAULT_SIGBUS
54  get_page(page)
55  ->fault handlers should return a* page here, unless VM_FAULT_NOPAGE* is set (which is also implied by* VM_FAULT_ERROR). = page
57  Return 0