Function report | 
Source Code:kernel\cgroup\cgroup.c | 
Create Date:2022-07-28 11:11:39 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:group_parse_float - parse a floating number*@input: input string*@dec_shift: number of decimal digits to shift*@v: output* Parse a decimal floating point number in @input and store the result in*@v with decimal point right shifted @dec_shift times
Proto:int cgroup_parse_float(const char *input, unsigned dec_shift, s64 *v)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const char * | input | |
| unsigned | dec_shift | |
| s64 * | v | 
| 6206 | frac = 0 | 
| 6209 | If Not sscanf - Unformat a buffer into a list of arguments*@buf: input buffer*@fmt: formatting of buffer*@...: resulting arguments Then Return -EINVAL | 
| 6217 | Else frac = Same as above but for u64 dividends. divisor must be a 32-bit* number.(frac, power_of_ten(flen - dec_shift)) | 
| 6220 | v = whole * power_of_ten(dec_shift) + frac | 
| 6221 | Return 0 | 
| Name | Describe | 
|---|---|
| ioc_qos_write | 
| 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  |