OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:numchild
(Results
1 - 2
of
2
) sorted by null
/external/ltp/testcases/kernel/io/direct_io/
diotest3.c
37
* diotest3 [-b bufsize] [-o offset] [-n
numchild
]
80
"Usage: diotest3 [-b bufsize] [-o offset] [-n
numchild
] [-i iterations] [-f filename]\n");
233
int
numchild
= 1; /* Number of children. Default 5 */
local
264
if ((
numchild
= atoi(optarg)) <= 0) {
280
if (forkchldrn(&pidlst,
numchild
, READ_DIRECT, child_function) < 0) {
285
if (waitchldrn(&pidlst,
numchild
) < 0) {
298
if (forkchldrn(&pidlst,
numchild
, WRITE_DIRECT, child_function) < 0) {
303
if (waitchldrn(&pidlst,
numchild
) < 0) {
315
if (forkchldrn(&pidlst,
numchild
, RDWR_DIRECT, child_function) < 0) {
320
if (waitchldrn(&pidlst,
numchild
) < 0)
[
all
...]
diotest6.c
33
* diotest6 [-b bufsize] [-o offset] [-n
numchild
] [-i iterations]
76
"Usage: diotest6 [-b bufsize] [-o offset] [-n
numchild
] [-i iterations] [-v nvector] [-f filename]\n");
255
int
numchild
= 1;
local
286
if ((
numchild
= atoi(optarg)) <= 0) {
308
if (forkchldrn(&pidlst,
numchild
, READ_DIRECT, child_function) < 0) {
313
if (waitchldrn(&pidlst,
numchild
) < 0) {
326
if (forkchldrn(&pidlst,
numchild
, WRITE_DIRECT, child_function) < 0) {
331
if (waitchldrn(&pidlst,
numchild
) < 0) {
343
if (forkchldrn(&pidlst,
numchild
, RDWR_DIRECT, child_function) < 0) {
348
if (waitchldrn(&pidlst,
numchild
) < 0)
[
all
...]
Completed in 1344 milliseconds