Function report |
Source Code:fs\quota\quota_tree.c |
Create Date:2022-07-28 20:33:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:find_next_id
Proto:static int find_next_id(struct qtree_mem_dqinfo *info, qid_t *id, unsigned int blk, int depth)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct qtree_mem_dqinfo * | info | |
qid_t * | id | |
unsigned int | blk | |
int | depth |
685 | epb = Space usable in block for quota data >> 2 |
686 | level_inc = 1 |
692 | When i < Precomputed depth of quota tree - 1 cycle level_inc *= epb |
696 | If ret < 0 Then |
697 | quota_error(Sb quota is on , "Can't read quota tree block %u", blk) |
699 | Go to out_buf |
702 | If ref[i] == cpu_to_le32(0) Then |
706 | If depth == Precomputed depth of quota tree - 1 Then |
710 | ret = find_next_id(info, id, le32_to_cpu(ref[i]), depth + 1) |
718 | out_buf : |
720 | Return ret |
Name | Describe |
---|---|
find_next_id | |
qtree_get_next_id |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |