Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mtrr\if.c Create Date:2022-07-28 08:05:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mtrr_close

Proto:static int mtrr_close(struct inode *ino, struct file *file)

Type:int

Parameter:

TypeParameterName
struct inode *ino
struct file *file
359  fcount = FILE_FCOUNT(file)
362  If (fcount != NULL) Then
363  max = num_var_ranges
364  When i < max cycle
365  When fcount[i] > 0 cycle
370  free previously allocated memory
371  FILE_FCOUNT(file) = NULL
373  Return single_release(ino, file)