函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\syscall.c Create Date:2022-07-27 14:04:28
Last Modify:2022-05-19 18:06:12 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:alled for any extra memory-mapped regions (except initial)

函数原型:static void bpf_map_mmap_open(struct vm_area_struct *vma)

返回类型:void

参数:

类型参数名称
struct vm_area_struct *vma
446  map等于private_data
448  bpf_map_inc_with_uref(map)
450  如果Flags, see mm.h. 按位与VM_WRITE
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.