函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:alled for all unmapped memory region (including initial)

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

返回类型:void

参数:

类型参数名称
struct vm_area_struct *vma
460  map等于private_data
462  如果Flags, see mm.h. 按位与VM_WRITE
463  mutex_lock( & freeze_mutex)
464  writable mmap cnt; protected by freeze_mutex 自减
465  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.
468  bpf_map_put_with_uref(map)