Home
last modified time | relevance | path

Searched refs:dest_open_flag (Results 1 – 1 of 1) sorted by relevance

/external/ltp/testcases/kernel/io/ltp-aiodio/
Daiocp.c59 static int dest_open_flag = O_WRONLY; /* open flags on dest file */ variable
216 if (dstname && dest_open_flag & O_CREAT) in io_error()
345 dest_open_flag |= O_LARGEFILE; in main()
348 dest_open_flag |= O_TRUNC; in main()
351 dest_open_flag |= O_SYNC; in main()
355 dest_open_flag |= O_DIRECT; in main()
358 dest_open_flag |= O_CREAT; in main()
420 if ((dstfd = open(dstname = *argv, dest_open_flag, 0666)) < 0) { in main()
440 if (dest_open_flag & O_DIRECT) { in main()
477 flag = (O_SYNC | dest_open_flag) & in main()