Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\file.c Create Date:2022-07-28 20:08:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:count_open_files

Proto:static unsigned int count_open_files(struct fdtable *fdt)

Type:unsigned int

Parameter:

TypeParameterName
struct fdtable *fdt
255  size = max_fds
259  When i > 0 cycle
260  If open_fds[--i] Then Break
263  i = (i + 1) * BITS_PER_LONG
264  Return i
Caller
NameDescribe
dup_fdAllocate a new files structure and copy contents from the* passed in files structure.* errorp will be valid only when the returned files_struct is NULL.