HomeSort by relevance Sort by last modified time
    Searched refs:sys_buf (Results 1 - 2 of 2) sorted by null

  /external/ltp/testcases/kernel/syscalls/sysinfo/
sysinfo01.c 84 struct sysinfo *sys_buf; local
89 sys_buf = malloc(sizeof(struct sysinfo));
101 TEST(sysinfo(sys_buf));
118 l1 = sys_buf->loads[0] / 60000.0;
119 l2 = sys_buf->loads[1] / 60000.0;
120 l3 = sys_buf->loads[2] / 60000.0;
124 sys_buf->loads[0] = sys_buf->loads[0] / 10;
125 sys_buf->loads[1] = sys_buf->loads[1] / 10
    [all...]
  /external/ltp/testcases/kernel/syscalls/madvise/
madvise06.c 47 struct sysinfo sys_buf; local
49 sysinfo(&sys_buf);
51 if (sys_buf.totalram < 2L * GB_SZ)
53 if (sys_buf.totalram > 100L * GB_SZ)
56 dst_max = sys_buf.totalram / GB_SZ;

Completed in 555 milliseconds