Home
last modified time | relevance | path

Searched refs:tcnt (Results 1 – 25 of 74) sorted by relevance

123

/external/ltp/testcases/kernel/io/disktest/
Dio.c46 long tcnt; in Write() local
48 WriteFile(fd, buf, trsiz, &tcnt, NULL); in Write()
50 tcnt = write(fd, buf, trsiz); in Write()
52 return (tcnt); in Write()
57 long tcnt; in Read() local
59 ReadFile(fd, buf, trsiz, &tcnt, NULL); in Read()
61 tcnt = read(fd, buf, trsiz); in Read()
63 return (tcnt); in Read()
Dchildmain.c162 long tcnt = 0; in write_error_mark() local
172 tcnt = Write(fd, data, BLK_SIZE); in write_error_mark()
597 long tcnt = 0; in ChildMain() local
804 tcnt = Write(fd, buf2, target.trsiz * BLK_SIZE); in ChildMain()
807 tcnt = Write(fd, buf2, target.trsiz * BLK_SIZE); in ChildMain()
857 tcnt = Read(fd, buf1, target.trsiz * BLK_SIZE); in ChildMain()
860 tcnt = Read(fd, buf1, target.trsiz * BLK_SIZE); in ChildMain()
869 if (tcnt != (long)target.trsiz * BLK_SIZE) { in ChildMain()
874 target.lba, target.lba, tcnt, in ChildMain()
942 tcnt = in ChildMain()
[all …]
/external/syslinux/core/
Drllpack.c39 size_t run, vrun, tcnt; in rllpack() local
48 tcnt = (cnt > 8191) ? 8191 : cnt; in rllpack()
49 while (run < tcnt && i[run] == c) in rllpack()
/external/toybox/toys/pending/
Dbootchartd.c166 long tcnt = 60 * 1000 * 1000 / TT.smpl_period_usec; in start_logging() local
168 if (tcnt <= 0) tcnt = 1; in start_logging()
176 while (--tcnt && !toys.signal) { in start_logging()
197 if (tcnt > 2 * 1000 * 1000 / TT.smpl_period_usec) in start_logging()
198 tcnt = 2 * 1000 * 1000 / TT.smpl_period_usec; in start_logging()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/
Dstress.c131 int tcnt; /* we need to make sure the threads are started before killing 'em */ member
152 i = c->tcnt; in sigthr()
250 c->tcnt += 1; in lockthr()
298 c->tcnt += 1; in timedlockthr()
354 c->tcnt += 1; in trylockthr()
401 c->tcnt = 0; in cell_init()
/external/ltp/lib/newlib_tests/
Dtest02.c47 .tcnt = 2,
Dtest04.c55 .tcnt = 2,
/external/ltp/testcases/kernel/syscalls/getrandom/
Dgetrandom01.c50 .tcnt = ARRAY_SIZE(modes),
Dgetrandom03.c67 .tcnt = ARRAY_SIZE(sizes),
Dgetrandom02.c77 .tcnt = ARRAY_SIZE(modes),
/external/ltp/testcases/kernel/syscalls/getpriority/
Dgetpriority01.c67 .tcnt = ARRAY_SIZE(tcases),
Dgetpriority02.c75 .tcnt = ARRAY_SIZE(tcases),
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl02.c91 .tcnt = ARRAY_SIZE(min_fds),
/external/ltp/testcases/kernel/syscalls/socketcall/
Dsocketcall01.c66 .tcnt = ARRAY_SIZE(TC),
/external/ltp/testcases/kernel/syscalls/getcwd/
Dgetcwd01.c85 .tcnt = ARRAY_SIZE(tcases),
Dgetcwd02.c85 .tcnt = ARRAY_SIZE(tcases),
/external/ltp/testcases/kernel/syscalls/add_key/
Dadd_key02.c106 .tcnt = ARRAY_SIZE(tcases),
/external/ltp/testcases/kernel/syscalls/llistxattr/
Dllistxattr03.c84 .tcnt = ARRAY_SIZE(filename),
/external/ltp/testcases/kernel/syscalls/creat/
Dcreat01.c89 .tcnt = 2,
Dcreat04.c86 .tcnt = ARRAY_SIZE(tcases),
/external/ltp/testcases/kernel/syscalls/listxattr/
Dlistxattr03.c85 .tcnt = ARRAY_SIZE(filename),
Dlistxattr02.c103 .tcnt = ARRAY_SIZE(tc),
/external/ltp/testcases/kernel/syscalls/syscall/
Dsyscall01.c93 .tcnt = ARRAY_SIZE(tcases),
/external/ltp/testcases/kernel/syscalls/flistxattr/
Dflistxattr03.c90 .tcnt = ARRAY_SIZE(fd),
/external/ltp/testcases/kernel/syscalls/memfd_create/
Dmemfd_create02.c92 .tcnt = ARRAY_SIZE(tcases),

123