Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\syscall.c Create Date:2022-07-28 12:51:58
Last Modify:2022-05-19 18:06:12 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:alled for any extra memory-mapped regions (except initial)

Proto:static void bpf_map_mmap_open(struct vm_area_struct *vma)

Type:void

Parameter:

TypeParameterName
struct vm_area_struct *vma
446  map = private_data
448  bpf_map_inc_with_uref(map)
450  If Flags, see mm.h. & VM_WRITE Then
451  mutex_lock( & freeze_mutex)
452  writable mmap cnt; protected by freeze_mutex ++
453  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.