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 entry for given id in the tree
Proto:static loff_t find_tree_dqentry(struct qtree_mem_dqinfo *info, struct dquot *dquot, uint blk, int depth)
Type:loff_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct qtree_mem_dqinfo * | info | |
| struct dquot * | dquot | |
| uint | blk | |
| int | depth |
| 575 | ret = 0 |
| 581 | If ret < 0 Then |
| 582 | quota_error( superblock this applies to , "Can't read quota tree block %u", blk) |
| 584 | Go to out_buf |
| 586 | ret = 0 |
| 587 | blk = le32_to_cpu(ref[get_index(info, ID this applies to (uid, gid, projid) , depth)]) |
| 590 | If depth < Precomputed depth of quota tree - 1 Then ret = Find entry for given id in the tree |
| 592 | Else ret = Find entry in block |
| 594 | out_buf : |
| 596 | Return ret |
| Name | Describe |
|---|---|
| find_tree_dqentry | Find entry for given id in the tree |
| find_dqentry | Find entry for given id in the tree - wrapper function |
| 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 |