Home
last modified time | relevance | path

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

/third_party/alsa-lib/src/timer/
Dtimer_hw.c43 snd_timer_t *tmr = handle; in snd_timer_hw_close() local
46 if (!tmr) in snd_timer_hw_close()
48 res = close(tmr->poll_fd) < 0 ? -errno : 0; in snd_timer_hw_close()
103 snd_timer_t *tmr; in snd_timer_hw_info() local
105 tmr = handle; in snd_timer_hw_info()
106 if (!tmr || !info) in snd_timer_hw_info()
108 if (ioctl(tmr->poll_fd, SNDRV_TIMER_IOCTL_INFO, info) < 0) in snd_timer_hw_info()
115 snd_timer_t *tmr; in snd_timer_hw_params() local
117 tmr = handle; in snd_timer_hw_params()
118 if (!tmr || !params) in snd_timer_hw_params()
[all …]
Dtimer_query_hw.c89 snd_timer_query_t *tmr; in snd_timer_query_hw_open() local
107 tmr = (snd_timer_query_t *) calloc(1, sizeof(snd_timer_query_t)); in snd_timer_query_hw_open()
108 if (tmr == NULL) { in snd_timer_query_hw_open()
112 tmr->type = SND_TIMER_TYPE_HW; in snd_timer_query_hw_open()
113 tmr->mode = tmode; in snd_timer_query_hw_open()
114 tmr->name = strdup(name); in snd_timer_query_hw_open()
115 tmr->poll_fd = fd; in snd_timer_query_hw_open()
116 tmr->ops = &snd_timer_query_hw_ops; in snd_timer_query_hw_open()
117 *handle = tmr; in snd_timer_query_hw_open()
/third_party/ltp/testcases/kernel/syscalls/timerfd/
Dtimerfd01.c55 static void settime(int tfd, struct tst_its *tmr, int tflags, in settime() argument
60 tst_its_set_value_from_us(tmr, tvalue); in settime()
61 tst_its_set_interval_from_us(tmr, tinterval); in settime()
63 if (tv->tfd_settime(tfd, tflags, tst_its_get(tmr), NULL)) in settime()
99 struct tst_its tmr = {.type = tv->ts_type, }; in run() local
107 settime(tfd, &tmr, 0, 100 * 1000, 0); in run()
112 settime(tfd, &tmr, TFD_TIMER_ABSTIME, tnow + 100 * 1000, 0); in run()
117 settime(tfd, &tmr, TFD_TIMER_ABSTIME, tnow + 50 * 1000, 50 * 1000); in run()
119 memset(&tmr, 0, sizeof(tmr)); in run()
120 tmr.type = tv->ts_type; in run()
[all …]
/third_party/FatFs/documents/res/
Dapp6.c20 DWORD ofs, tmr; in test_raw_speed() local
33 tmr = systimer(); in test_raw_speed()
44 tmr = systimer() - tmr; in test_raw_speed()
45 printf("\n%lu bytes written and it took %lu timer ticks.\n", len, tmr); in test_raw_speed()
48 tmr = systimer(); in test_raw_speed()
55 tmr = systimer() - tmr; in test_raw_speed()
56 printf("\n%lu bytes read and it took %lu timer ticks.\n", len, tmr); in test_raw_speed()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_callout.h90 void sctp_os_timer_init(sctp_os_timer_t *tmr);
107 #define SCTP_OS_TIMER_PENDING(tmr) ((tmr)->c_flags & SCTP_CALLOUT_PENDING) argument
108 #define SCTP_OS_TIMER_ACTIVE(tmr) ((tmr)->c_flags & SCTP_CALLOUT_ACTIVE) argument
109 #define SCTP_OS_TIMER_DEACTIVATE(tmr) ((tmr)->c_flags &= ~SCTP_CALLOUT_ACTIVE) argument
Dsctputil.c1775 struct sctp_timer *tmr; in sctp_timeout_handler() local
1792 tmr = (struct sctp_timer *)t; in sctp_timeout_handler()
1793 inp = (struct sctp_inpcb *)tmr->ep; in sctp_timeout_handler()
1794 stcb = (struct sctp_tcb *)tmr->tcb; in sctp_timeout_handler()
1795 net = (struct sctp_nets *)tmr->net; in sctp_timeout_handler()
1797 CURVNET_SET((struct vnet *)tmr->vnet); in sctp_timeout_handler()
1803 sctp_audit_log(0xF0, (uint8_t) tmr->type); in sctp_timeout_handler()
1808 KASSERT(tmr->self == NULL || tmr->self == tmr, in sctp_timeout_handler()
1810 KASSERT(SCTP_IS_TIMER_TYPE_VALID(tmr->type), in sctp_timeout_handler()
1811 ("sctp_timeout_handler: invalid timer type %d", tmr->type)); in sctp_timeout_handler()
[all …]
Dsctp_structs.h145 struct sctp_timer tmr; member
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
D18-1.c67 timer_t tmr; in main() local
84 ret = timer_create(CLOCK_REALTIME, &se, &tmr); in main()
99 ret = timer_settime(tmr, 0, &it, NULL); in main()
/third_party/lwip/
D0084-add-tcpslowtmr-log-and-tcpfasttmr-cnt.patch37 if ((u32_t)(tcp_ticks - pcb->tmr) >
47 if ((u32_t)(tcp_ticks - pcb->tmr) >
57 (tcp_ticks - pcb->tmr >= (u32_t)pcb->rto * TCP_OOSEQ_TIMEOUT)) {
64 if ((u32_t)(tcp_ticks - pcb->tmr) >
74 if ((u32_t)(tcp_ticks - pcb->tmr) > 2 * TCP_MSL / TCP_SLOW_INTERVAL) {
/third_party/lwip/src/core/
Dtcp.c295 val = idle - (tcp_ticks - pcb->tmr); in tcp_set_timer_tick_by_keepalive()
297 val = (tcp_ticks - pcb->tmr) - idle; in tcp_set_timer_tick_by_keepalive()
1498 if ((u32_t)(tcp_ticks - pcb->tmr) >
1510 if ((u32_t)(tcp_ticks - pcb->tmr) >
1518 } else if ((u32_t)(tcp_ticks - pcb->tmr) >
1533 (tcp_ticks - pcb->tmr >= (u32_t)pcb->rto * TCP_OOSEQ_TIMEOUT)) {
1541 if ((u32_t)(tcp_ticks - pcb->tmr) >
1550 if ((u32_t)(tcp_ticks - pcb->tmr) > 2 * TCP_MSL / TCP_SLOW_INTERVAL) {
1623 if ((u32_t)(tcp_ticks - pcb->tmr) > 2 * TCP_MSL / TCP_SLOW_INTERVAL) {
1912 ((pcb->prio == mprio) && ((u32_t)(tcp_ticks - pcb->tmr) >= inactivity))) {
[all …]
Ddns.c231 u8_t tmr; member
1153 entry->tmr = 1; in dns_check_entry()
1164 if (--entry->tmr == 0) { in dns_check_entry()
1173 entry->tmr = 1; in dns_check_entry()
1185 entry->tmr = entry->retries; in dns_check_entry()
1372 entry->tmr = 1; in dns_recv()
Dtcp_out.c2104 tcp_ticks, pcb->tmr, (u16_t)pcb->keep_cnt_sent)); in tcp_keepalive()
2149 tcp_ticks, pcb->tmr, (u16_t)pcb->keep_cnt_sent)); in tcp_zero_window_probe()
Dtcp_in.c792 pcb->tmr = tcp_ticks;
875 pcb->tmr = tcp_ticks;
/third_party/ltp/testcases/open_posix_testsuite/Documentation/
DCOVERAGE.timers2 Area-Code: tmr
DHOWTO_Coverage51 such as "tmr" or "sig".
/third_party/lwip/src/include/lwip/
Dtcp.h280 u32_t tmr; member
/third_party/alsa-utils/aplay/
Daplay.c1943 static time_t tmr = -1; in do_test_position() local
1992 if (tmr == (time_t) -1) { in do_test_position()
1993 tmr = now; in do_test_position()
2017 if ((maxavail != 0 || maxdelay != 0) && now != tmr) { in do_test_position()
2026 tmr = now; in do_test_position()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h43651 struct hrtimer tmr; member