Function report |
Source Code:kernel\acct.c |
Create Date:2022-07-28 11:00:55 |
Last Modify:2020-03-17 15:14:29 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Check the amount of free space and suspend/resume accordingly.
Proto:static int check_free_space(struct bsd_acct_struct *acct)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct bsd_acct_struct * | acct |
105 | If ime_is_after_jiffies(a) return true if a is after jiffies (needcheck) Then Go to out |
109 | If vfs_statfs( & f_path, & sbuf) Then Go to out |
112 | If active Then |
114 | do_div() is NOT a C function(suspend, 100) |
119 | Else |
120 | resume = f_blocks * >foo% free space - resume |
121 | do_div() is NOT a C function(resume, 100) |
128 | needcheck = jiffies + second timeout between checks * HZ |
129 | out : |
130 | Return active |
Name | Describe |
---|---|
do_acct_process |
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 |