| /third_party/FreeBSD/sys/compat/linuxkpi/common/src/ |
| H A D | linux_hrtimer.c | 26 #include "linux/hrtimer.h" 35 /* spinlock for hrtimer module only available on SMP mode */ 107 STATIC VOID HrtimerHandlerRunAddNode(struct hrtimer_list_node *hrtimer, struct handler_list_node *handlerHead) in HrtimerHandlerRunAddNode() argument 110 (VOID)LOS_MemFree(m_aucSysMem0, hrtimer); in HrtimerHandlerRunAddNode() 112 hrtimer->set_time_reload = (UINT32)((hrtimer->_softexpires.tv.sec * US_PER_SECOND + in HrtimerHandlerRunAddNode() 113 hrtimer->_softexpires.tv.usec) * HRTIMER_PERUS); in HrtimerHandlerRunAddNode() 115 HrtimerNodeAdd(hrtimer, handlerHead); in HrtimerHandlerRunAddNode() 122 struct hrtimer_list_node *hrtimer = NULL; in HrtimerHandlerRun() local 127 struct hrtimer time in HrtimerHandlerRun() 223 struct hrtimer_list_node *hrtimer = (struct hrtimer_list_node *)LOS_MemAlloc(m_aucSysMem0, HrtimerListNodeInit() local 367 struct hrtimer_list_node *hrtimer = NULL; linux_hrtimer_start() local [all...] |
| /third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/ |
| H A D | hrtimer.h | 101 struct hrtimer; 107 typedef enum hrtimer_restart (*Handler)(struct hrtimer *); 113 struct hrtimer { struct 184 * <li>hrtimer.h: the header file that contains the API declaration.</li> 188 void linux_hrtimer_init(struct hrtimer *timer, clockid_t clockID, enum hrtimer_mode mode); 211 * <li>hrtimer.h: the header file that contains the API declaration.</li> 215 int linux_hrtimer_create(struct hrtimer *timer, union ktime time, Handler handler); 239 * <li>hrtimer.h: the header file that contains the API declaration.</li> 243 int linux_hrtimer_start(struct hrtimer *timer, union ktime time, const enum hrtimer_mode mode); 267 * <li>hrtimer [all...] |
| /third_party/libwebsockets/lib/event-libs/uloop/ |
| H A D | uloop.c | 35 struct lws_pt_eventlibs_uloop, hrtimer); in lws_uloop_hrtimer_cb() 78 /* account for hrtimer */ in lws_uloop_idle_timer_cb() 84 uloop_timeout_cancel(&upt->hrtimer); in lws_uloop_idle_timer_cb() 85 uloop_timeout_set(&upt->hrtimer, in lws_uloop_idle_timer_cb() 162 ptpr->hrtimer.cb = lws_uloop_hrtimer_cb; in elops_init_pt_uloop() 165 uloop_timeout_add(&ptpr->hrtimer); in elops_init_pt_uloop() 168 uloop_timeout_set(&ptpr->hrtimer, 1); in elops_init_pt_uloop() 236 uloop_timeout_cancel(&ptpr->hrtimer); in elops_destroy_pt_uloop()
|
| H A D | private-lib-event-libs-uloop.h | 29 struct uloop_timeout hrtimer; member
|
| /third_party/libwebsockets/lib/event-libs/glib/ |
| H A D | glib.c | 94 lws_gs_destroy(pt_to_priv_glib(pt)->hrtimer); in lws_glib_set_timeout() 96 pt_to_priv_glib(pt)->hrtimer.gs = g_timeout_source_new(ms); in lws_glib_set_timeout() 97 if (!pt_to_priv_glib(pt)->hrtimer.gs) in lws_glib_set_timeout() 100 g_source_set_callback(pt_to_priv_glib(pt)->hrtimer.gs, in lws_glib_set_timeout() 102 pt_to_priv_glib(pt)->hrtimer.tag = g_source_attach( in lws_glib_set_timeout() 103 pt_to_priv_glib(pt)->hrtimer.gs, in lws_glib_set_timeout() 175 lws_gs_destroy(pt_to_priv_glib(pt)->hrtimer); in lws_glib_hrtimer_cb() 444 lws_gs_destroy(ptpr->hrtimer); in elops_destroy_pt_glib()
|
| H A D | private-lib-event-libs-glib.h | 35 lws_glib_tag_t hrtimer; member
|
| /third_party/libwebsockets/lib/event-libs/libev/ |
| H A D | libev.c | 36 struct lws_pt_eventlibs_libev, hrtimer); in lws_ev_hrtimer_cb() 44 ev_timer_set(&ptpr->hrtimer, ((float)us) / 1000000.0, 0); in lws_ev_hrtimer_cb() 45 ev_timer_start(ptpr->io_loop, &ptpr->hrtimer); in lws_ev_hrtimer_cb() 68 /* account for hrtimer */ in lws_ev_idle_cb() 74 ev_timer_set(&ptpr->hrtimer, ((float)us) / 1000000.0, 0); in lws_ev_idle_cb() 75 ev_timer_start(ptpr->io_loop, &ptpr->hrtimer); in lws_ev_idle_cb() 232 ev_timer_init(&ptpr->hrtimer, lws_ev_hrtimer_cb, 0, 0); in elops_init_pt_ev() 233 ptpr->hrtimer.data = pt; in elops_init_pt_ev() 264 ev_timer_stop(ptpr->io_loop, &ptpr->hrtimer); in elops_destroy_pt_ev()
|
| H A D | private-lib-event-libs-libev.h | 43 struct ev_timer hrtimer; member
|
| /third_party/libwebsockets/lib/event-libs/libevent/ |
| H A D | libevent.c | 50 evtimer_add(ptpr->hrtimer, &tv); in lws_event_hrtimer_cb() 86 /* account for hrtimer */ in lws_event_idle_timer_cb() 94 evtimer_add(ptpr->hrtimer, &tv); in lws_event_idle_timer_cb() 221 ptpr->hrtimer = event_new(loop, -1, EV_PERSIST, in elops_init_pt_event() 230 evtimer_add(ptpr->hrtimer, &tv); in elops_init_pt_event() 359 event_free(ptpr->hrtimer); in elops_destroy_pt_event()
|
| H A D | private-lib-event-libs-libevent.h | 34 struct event *hrtimer; member
|
| /third_party/ltp/testcases/kdump/lib/lkdtm/ |
| H A D | lkdtm.c | 56 #include <linux/hrtimer.h> 172 int jp_hrtimer_start(struct hrtimer *timer, ktime_t tim, in jp_hrtimer_start()
|