OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:hpsz
(Results
1 - 3
of
3
) sorted by null
/external/ltp/testcases/kernel/syscalls/move_pages/
move_pages12.c
55
static int pgsz,
hpsz
;
variable
66
int test_pages = TEST_PAGES *
hpsz
/ pgsz;
105
addr = SAFE_MMAP(NULL, TEST_PAGES *
hpsz
, PROT_READ | PROT_WRITE,
108
SAFE_MUNMAP(addr, TEST_PAGES *
hpsz
);
117
ptr = SAFE_MMAP(NULL, TEST_PAGES *
hpsz
,
123
memset(addr, 0, TEST_PAGES *
hpsz
);
125
SAFE_MUNMAP(addr, TEST_PAGES *
hpsz
);
143
size /
hpsz
, node);
195
SAFE_FILE_LINES_SCANF(PATH_MEMINFO, "Hugepagesize: %d", &
hpsz
);
200
if (4 *
hpsz
> memfree
[
all
...]
/external/ltp/testcases/kernel/numa/
support_numa.c
93
int i, fd, rc,
hpsz
;
local
161
hpsz
= read_hugepagesize();
162
if (
hpsz
== 0)
165
buf = mmap(NULL,
hpsz
, PROT_READ | PROT_WRITE,
174
memset(buf, 'a',
hpsz
);
178
munmap(buf,
hpsz
);
/external/ltp/testcases/kernel/syscalls/futex/
futex_wake04.c
134
int
hpsz
, pgsz, res;
local
137
hpsz
= read_hugepagesize();
138
tst_resm(TINFO, "Hugepagesize %i",
hpsz
);
141
addr = mmap(NULL,
hpsz
, PROT_WRITE | PROT_READ,
190
SAFE_MUNMAP(NULL, addr,
hpsz
);
Completed in 775 milliseconds