Function report |
Source Code:kernel\sys.c |
Create Date:2022-07-28 09:21:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:COMPAT_SYSCALL_DEFINE1
Proto:COMPAT_SYSCALL_DEFINE1(sysinfo, struct compat_sysinfo __user *, info)
Type:
Parameter:Nothing
| 2617 | bitcount = 0 |
| 2619 | When Memory unit size in bytes < PAGE_SIZE cycle |
| 2620 | Memory unit size in bytes <<= 1 |
| 2621 | bitcount++ |
| 2624 | Total usable main memory size >>= bitcount |
| 2625 | Available memory size >>= bitcount |
| 2626 | Amount of shared memory >>= bitcount |
| 2627 | Memory used by buffers >>= bitcount |
| 2628 | Total swap space size >>= bitcount |
| 2629 | swap space still available >>= bitcount |
| 2630 | Total high memory size >>= bitcount |
| 2631 | Available high memory size >>= bitcount |
| 2651 | Return 0 |
| 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 |