OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:max_pids
(Results
1 - 3
of
3
) sorted by null
/external/ltp/lib/
tst_pid.c
42
int rc, used_pids,
max_pids
;
local
58
SAFE_FILE_SCANF(cleanup_fn, PID_MAX_PATH, "%d", &
max_pids
);
60
/*
max_pids
contains the maximum PID + 1,
63
return
max_pids
- used_pids;
/external/ltp/testcases/kernel/mem/mtest01/
mtest01.c
82
unsigned long bytecount, alloc_bytes,
max_pids
;
local
155
max_pids
= total_ram * sstats.mem_unit
158
if ((pid_list = malloc(
max_pids
* sizeof(pid_t))) == NULL)
160
memset(pid_list, 0,
max_pids
* sizeof(pid_t));
204
if (i >=
max_pids
)
205
tst_brkm(TBROK, cleanup, "
max_pids
needs to be increased");
223
if (i >=
max_pids
)
224
tst_brkm(TBROK, cleanup, "
max_pids
needs to be increased");
242
if (i >=
max_pids
)
243
tst_brkm(TBROK, cleanup, "
max_pids
needs to be increased")
[
all
...]
/external/selinux/sandbox/
seunshare.c
559
int pids,
max_pids
;
local
565
max_pids
= 256;
566
pid_table = malloc(
max_pids
* sizeof (pid_t));
580
if (pids ==
max_pids
) {
588
max_pids
*= 2;
Completed in 759 milliseconds