Home
last modified time | relevance | path

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

/external/strace/tests-m32/
Dfutex.c184 TAIL_ALLOC_OBJECT_CONST_PTR(struct timespec, tmout); in main()
185 tmout->tv_sec = 123; in main()
186 tmout->tv_nsec = 0xbadc0de; in main()
199 CHECK_FUTEX(NULL, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
202 VAL_PR, (long long) tmout->tv_sec, in main()
203 zero_extend_signed_to_ull(tmout->tv_nsec), sprintrc(rc)); in main()
206 CHECK_FUTEX(uaddr + 1, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
209 uaddr + 1, VAL_PR, (long long) tmout->tv_sec, in main()
210 zero_extend_signed_to_ull(tmout->tv_nsec), sprintrc(rc)); in main()
213 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout + 1, uaddr2, VAL3, in main()
[all …]
Dmq_sendrecv.c131 do_send(int fd, char *msg, unsigned int msg_size, struct timespec *tmout, in do_send() argument
139 tmout); in do_send()
148 (long long) tmout->tv_sec, in do_send()
149 zero_extend_signed_to_ull(tmout->tv_nsec), sprintrc(rc)); in do_send()
164 do_recv(int fd, char *msg, unsigned int msg_size, struct timespec *tmout, in do_recv() argument
173 tmout); in do_recv()
186 (long long) tmout->tv_sec, in do_recv()
187 zero_extend_signed_to_ull(tmout->tv_nsec), sprintrc(rc)); in do_recv()
/external/strace/tests/
Dfutex.c184 TAIL_ALLOC_OBJECT_CONST_PTR(struct timespec, tmout); in main()
185 tmout->tv_sec = 123; in main()
186 tmout->tv_nsec = 0xbadc0de; in main()
199 CHECK_FUTEX(NULL, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
202 VAL_PR, (long long) tmout->tv_sec, in main()
203 zero_extend_signed_to_ull(tmout->tv_nsec), sprintrc(rc)); in main()
206 CHECK_FUTEX(uaddr + 1, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
209 uaddr + 1, VAL_PR, (long long) tmout->tv_sec, in main()
210 zero_extend_signed_to_ull(tmout->tv_nsec), sprintrc(rc)); in main()
213 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout + 1, uaddr2, VAL3, in main()
[all …]
Dmq_sendrecv.c131 do_send(int fd, char *msg, unsigned int msg_size, struct timespec *tmout, in do_send() argument
139 tmout); in do_send()
148 (long long) tmout->tv_sec, in do_send()
149 zero_extend_signed_to_ull(tmout->tv_nsec), sprintrc(rc)); in do_send()
164 do_recv(int fd, char *msg, unsigned int msg_size, struct timespec *tmout, in do_recv() argument
173 tmout); in do_recv()
186 (long long) tmout->tv_sec, in do_recv()
187 zero_extend_signed_to_ull(tmout->tv_nsec), sprintrc(rc)); in do_recv()
/external/strace/tests-mx32/
Dfutex.c184 TAIL_ALLOC_OBJECT_CONST_PTR(struct timespec, tmout); in main()
185 tmout->tv_sec = 123; in main()
186 tmout->tv_nsec = 0xbadc0de; in main()
199 CHECK_FUTEX(NULL, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
202 VAL_PR, (long long) tmout->tv_sec, in main()
203 zero_extend_signed_to_ull(tmout->tv_nsec), sprintrc(rc)); in main()
206 CHECK_FUTEX(uaddr + 1, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
209 uaddr + 1, VAL_PR, (long long) tmout->tv_sec, in main()
210 zero_extend_signed_to_ull(tmout->tv_nsec), sprintrc(rc)); in main()
213 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout + 1, uaddr2, VAL3, in main()
[all …]
Dmq_sendrecv.c131 do_send(int fd, char *msg, unsigned int msg_size, struct timespec *tmout, in do_send() argument
139 tmout); in do_send()
148 (long long) tmout->tv_sec, in do_send()
149 zero_extend_signed_to_ull(tmout->tv_nsec), sprintrc(rc)); in do_send()
164 do_recv(int fd, char *msg, unsigned int msg_size, struct timespec *tmout, in do_recv() argument
173 tmout); in do_recv()
186 (long long) tmout->tv_sec, in do_recv()
187 zero_extend_signed_to_ull(tmout->tv_nsec), sprintrc(rc)); in do_recv()
/external/sg3_utils/src/
Dsg_format.c393 int res, progress, pr, rem, param_sz, off, resp_len, tmout; in scsi_format_unit() local
411 tmout = SHORT_TIMEOUT; in scsi_format_unit()
414 tmout = VLONG_FORMAT_TIMEOUT; in scsi_format_unit()
416 tmout = LONG_FORMAT_TIMEOUT; in scsi_format_unit()
418 tmout = FORMAT_TIMEOUT; in scsi_format_unit()
420 if (op->timeout > tmout) in scsi_format_unit()
421 tmout = op->timeout; in scsi_format_unit()
461 op->cmplst, op->ffmt, tmout); in scsi_format_unit()
466 op->ffmt, tmout, param, param_sz, in scsi_format_unit()
573 int res, progress, pr, rem, resp_len, tmout; in scsi_format_medium() local
[all …]
Dsg_senddiag.c422 int outgoing_len, int tmout, bool noisy, int verbose) in do_senddiag() argument
428 if (tmout <= 0) in do_senddiag()
431 long_duration = tmout; in do_senddiag()
/external/sg3_utils/lib/
Dsg_cmds_extra.c475 int res, ret, s_cat, tmout; in sg_ll_send_diag_com() local
491 tmout = long_duration; in sg_ll_send_diag_com()
493 tmout = long_duration ? LONG_PT_TIMEOUT : DEF_PT_TIMEOUT; in sg_ll_send_diag_com()
506 pr2ws(" %s timeout: %d seconds\n", cdb_s, tmout); in sg_ll_send_diag_com()
528 res = do_scsi_pt(ptvp, -1, tmout, vb); in sg_ll_send_diag_com()
1000 int res, ret, s_cat, tmout; in sg_ll_format_unit_v2() local
1018 tmout = (timeout_secs > 0) ? timeout_secs : DEF_PT_TIMEOUT; in sg_ll_format_unit_v2()
1029 pr2ws(" %s timeout: %d seconds\n", cdb_s, tmout); in sg_ll_format_unit_v2()
1038 res = do_scsi_pt(ptvp, sg_fd, tmout, vb); in sg_ll_format_unit_v2()
2185 int res, ret, s_cat, tmout; in sg_ll_unmap_v2() local
[all …]
/external/libpcap/
Dpcap-bpf.c340 int expire, tmout; in pcap_next_zbuf() local
358 tmout = p->opt.timeout; in pcap_next_zbuf()
359 if (tmout) in pcap_next_zbuf()
363 tmout = expire - TSTOMILLI(&cur); in pcap_next_zbuf()
365 if (tmout <= 0) { in pcap_next_zbuf()
386 if (tmout != 0) { in pcap_next_zbuf()
387 tv.tv_sec = tmout / 1000; in pcap_next_zbuf()
388 tv.tv_usec = (tmout * 1000) % 1000000; in pcap_next_zbuf()
/external/linux-kselftest/tools/testing/selftests/
Dkselftest_harness.h372 #define __TEST_F_IMPL(fixture_name, test_name, signal, tmout) \ argument
397 .timeout = tmout, \
/external/sqlite/dist/orig/
Dsqlite3.c63458 int tmout = pWal->db->busyTimeout;
63459 if( tmout ){
63462 pWal->pDbFd, SQLITE_FCNTL_LOCK_TIMEOUT, (void*)&tmout
63474 int tmout = 0;
63475 sqlite3OsFileControl(pWal->pDbFd, SQLITE_FCNTL_LOCK_TIMEOUT, (void*)&tmout);
172269 int tmout = db->busyTimeout;
172280 if( prior + delay > tmout ){
172281 delay = tmout - prior;
172290 int tmout = ((sqlite3 *)ptr)->busyTimeout;
172291 if( (count+1)*1000 > tmout ){
/external/sqlite/dist/
Dsqlite3.c63474 int tmout = pWal->db->busyTimeout;
63475 if( tmout ){
63478 pWal->pDbFd, SQLITE_FCNTL_LOCK_TIMEOUT, (void*)&tmout
63490 int tmout = 0;
63491 sqlite3OsFileControl(pWal->pDbFd, SQLITE_FCNTL_LOCK_TIMEOUT, (void*)&tmout);
172285 int tmout = db->busyTimeout;
172296 if( prior + delay > tmout ){
172297 delay = tmout - prior;
172306 int tmout = ((sqlite3 *)ptr)->busyTimeout;
172307 if( (count+1)*1000 > tmout ){
/external/rust/crates/libsqlite3-sys/sqlite3/
Dsqlite3.c61620 int tmout = pWal->db->busyTimeout;
61621 if( tmout ){
61624 pWal->pDbFd, SQLITE_FCNTL_LOCK_TIMEOUT, (void*)&tmout
61636 int tmout = 0;
61637 sqlite3OsFileControl(pWal->pDbFd, SQLITE_FCNTL_LOCK_TIMEOUT, (void*)&tmout);
165700 int tmout = db->busyTimeout;
165711 if( prior + delay > tmout ){
165712 delay = tmout - prior;
165721 int tmout = ((sqlite3 *)ptr)->busyTimeout;
165722 if( (count+1)*1000 > tmout ){