OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:total_ram
(Results
1 - 4
of
4
) sorted by null
/external/ltp/testcases/kernel/mem/mtest01/
mtest01.c
85
unsigned long long
total_ram
, total_free, D, C;
local
151
total_ram
= sstats.totalram + sstats.totalswap;
155
max_pids =
total_ram
* sstats.mem_unit
163
C = sstats.mem_unit * (
total_ram
- total_free);
171
D = percent * (sstats.mem_unit *
total_ram
);
/external/ltp/testcases/kernel/io/ltp-aiodio/
aio-stress.c
1015
size_t
total_ram
;
local
1019
total_ram
= num_files * depth * padded_reclen + num_threads;
1021
total_ram
+= padded_reclen;
1024
total_ram
+= page_size_mask;
1027
p = malloc(
total_ram
);
1029
shm_id = shmget(IPC_PRIVATE,
total_ram
, IPC_CREAT | 0700);
1053
ftruncate(fd,
total_ram
);
1055
p = mmap((char *)0x50000000,
total_ram
,
[
all
...]
/external/autotest/client/tests/aiostress/
aio-stress.c
998
size_t
total_ram
;
local
1002
total_ram
= num_files * depth * padded_reclen + num_threads;
1004
total_ram
+= padded_reclen;
1007
p = malloc(
total_ram
+ page_size_mask);
1009
shm_id = shmget(IPC_PRIVATE,
total_ram
, IPC_CREAT | 0700);
1033
ftruncate(fd,
total_ram
);
1035
p = mmap((char *)0x50000000,
total_ram
,
[
all
...]
/external/mesa3d/src/intel/vulkan/
anv_device.c
81
uint64_t
total_ram
= (uint64_t)info.totalram * (uint64_t)info.mem_unit;
local
87
if (
total_ram
<= 4ull * 1024ull * 1024ull * 1024ull)
88
available_ram =
total_ram
/ 2;
90
available_ram =
total_ram
* 3 / 4;
[
all
...]
Completed in 577 milliseconds