Searched refs:bitcount (Results 1 – 2 of 2) sorted by relevance
1323 unsigned int mem_unit, bitcount; in do_sysinfo() local1371 bitcount = 0; in do_sysinfo()1374 bitcount++; in do_sysinfo()1390 info->totalram <<= bitcount; in do_sysinfo()1391 info->freeram <<= bitcount; in do_sysinfo()1392 info->sharedram <<= bitcount; in do_sysinfo()1393 info->bufferram <<= bitcount; in do_sysinfo()1394 info->totalswap <<= bitcount; in do_sysinfo()1395 info->freeswap <<= bitcount; in do_sysinfo()1396 info->totalhigh <<= bitcount; in do_sysinfo()[all …]
1095 int bitcount = 0; in compat_sys_sysinfo() local1099 bitcount++; in compat_sys_sysinfo()1102 s.totalram >>= bitcount; in compat_sys_sysinfo()1103 s.freeram >>= bitcount; in compat_sys_sysinfo()1104 s.sharedram >>= bitcount; in compat_sys_sysinfo()1105 s.bufferram >>= bitcount; in compat_sys_sysinfo()1106 s.totalswap >>= bitcount; in compat_sys_sysinfo()1107 s.freeswap >>= bitcount; in compat_sys_sysinfo()1108 s.totalhigh >>= bitcount; in compat_sys_sysinfo()1109 s.freehigh >>= bitcount; in compat_sys_sysinfo()