Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mm.h Create Date:2022-07-28 05:41:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:vma_init

Proto:static inline void vma_init(struct vm_area_struct *vma, struct mm_struct *mm)

Type:void

Parameter:

TypeParameterName
struct vm_area_struct *vma
struct mm_struct *mm
531  static const struct vm_operations_struct dummy_vm_ops = {}
533  memset(vma, 0, size of vma )
534  The address space we belong to. = mm
535  Function pointers to deal with this struct. = dummy_vm_ops
536  Initialization list head
Caller
NameDescribe
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.