Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__get_index

Proto:static int __get_index(struct qtree_mem_dqinfo *info, qid_t id, int depth)

Type:int

Parameter:

TypeParameterName
struct qtree_mem_dqinfo *info
qid_tid
intdepth
28  epb = Space usable in block for quota data >> 2
30  depth = Precomputed depth of quota tree - depth - 1
31  When depth-- cycle
32  id /= epb
33  Return id % epb
Caller
NameDescribe
get_index
find_next_id