/external/ltp/testcases/kernel/syscalls/fork/ |
fork08.c | 27 * Forks a child which closes a file. 28 * Parent forks a second child which attempts to read the (closed) 58 int status, count, forks, pid1; local 85 forks = 0; 88 ++forks; 92 tst_resm(TINFO, "parent forksval: %d", forks); 94 if ((pid1 != (-1)) && (forks < 2)) 103 if (forks == 1) { 114 else if (forks == 2) { 120 "number %d", forks); [all...] |
fork07.c | 26 * Parent opens a file, writes to it; forks Nforks children. 35 * 07/2002 Limited forking and split "infinite forks" test case to 73 int status, forks, pid1; local 114 for (forks = 0; forks < Nforks; forks++) { 156 --forks; 158 if (forks == 0) { 168 } else if (forks > 0) 171 forks); [all...] |
fork12.c | 26 * Parent forks processes until -1 is returned.$ 58 int forks, pid1, fork_errno, waitstatus; local 70 forks = 0; 76 forks++; 90 tst_resm(TINFO, "Number of processes forked is %d", forks);
|
/external/ltp/tools/genload/ |
genload.c | 83 int hogcpu(long long forks); 84 int hogio(long long forks); 85 int hogvm(long long forks, long long chunks, long long bytes); 86 int hoghdd(long long forks, int clean, long long files, long long bytes); 201 out(stdout, "dispatching %lli hogcpu forks\n", do_cpu_forks); 219 out(stdout, "dispatching %lli hogio forks\n", do_io_forks); 238 "dispatching %lli hogvm forks, each %lli chunks of %lli bytes\n", 257 out(stdout, "dispatching %lli hoghdd forks, each %lli files of " 465 int hogcpu(long long forks) 475 long backoff = global_backoff * forks; [all...] |
stress.c | 83 int hogcpu(long long forks); 84 int hogio(long long forks); 85 int hogvm(long long forks, long long chunks, long long bytes); 86 int hoghdd(long long forks, int clean, long long files, long long bytes); 201 out(stdout, "dispatching %lli hogcpu forks\n", do_cpu_forks); 219 out(stdout, "dispatching %lli hogio forks\n", do_io_forks); 238 "dispatching %lli hogvm forks, each %lli chunks of %lli bytes\n", 257 out(stdout, "dispatching %lli hoghdd forks, each %lli files of " 465 int hogcpu(long long forks) 475 long backoff = global_backoff * forks; [all...] |
/external/python/cpython2/Lib/plat-mac/ |
applesingle.py | 66 raise Error, "AppleSingle file contains no forks" 68 self.forks = [] 80 self.forks.append((restype, data)) 96 raise Error, "No useful forks found" 114 with the data and resource forks from infile. On platforms 116 with the data and resource forks respectively.
|