Function report | 
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 activity | Download SCCT | Chinese | 
Name:write_blk
Proto:static ssize_t write_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf)
Type:ssize_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct qtree_mem_dqinfo * | info | |
| uint | blk | |
| char * | buf | 
| 70 | sb = Sb quota is on | 
| 73 | ret = quota_write(sb, Quota type , buf, Space usable in block for quota data , blk << Block size of quota file ) | 
| 75 | If ret != Space usable in block for quota data Then | 
| 76 | quota_error(sb, "dquota write failed") | 
| 80 | Return ret | 
| Name | Describe | 
|---|---|
| get_free_dqblk | Remove empty block from list and return it | 
| put_free_dqblk | Insert empty block to the list | 
| remove_free_dqentry | Remove given block from the list of blocks with free entries | 
| insert_free_dqentry | Insert given block to the beginning of list with free entries | 
| find_free_dqentry | Find space for dquot | 
| do_insert_tree | Insert reference to structure into the trie | 
| free_dqentry | Free dquot entry in data block | 
| remove_tree | Remove reference to dquot from tree | 
| 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  |