函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mm.h Create Date:2022-07-27 06:43:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:vma_init

函数原型:static inline void vma_init(struct vm_area_struct *vma, struct mm_struct *mm)

返回类型:void

参数:

类型参数名称
struct vm_area_struct *vma
struct mm_struct *mm
531  static const struct vm_operations_struct dummy_vm_ops = {}
533  memset(vma, 0, vma的长度)
534  The address space we belong to. 等于mm
535  Function pointers to deal with this struct. 等于dummy_vm_ops
536  初始化链表头
调用者
名称描述
vm_area_alloc
mpol_shared_policy_initmpol_shared_policy_init - initialize shared policy for inode*@sp: pointer to inode shared policy*@mpol: struct mempolicy to install* Install non-NULL @mpol in inode's shared policy rb-tree.* On entry, the current task has a reference on a non-NULL @mpol.