Lines Matching refs:data
41 static int get_time(void *data, uint64_t *time)
43 assert(data != NULL);
45 ttc_ltimer_t *ttc_ltimer = data;
50 static int get_resolution(void *data, uint64_t *resolution)
55 static int set_timeout(void *data, uint64_t ns, timeout_type_t type)
57 assert(data != NULL);
58 ttc_ltimer_t *ttc_ltimer = data;
62 get_time(data, &time);
73 static int reset(void *data)
75 assert(data != NULL);
76 ttc_ltimer_t *ttc_ltimer = data;
87 static void destroy(void *data)
89 assert(data);
91 ttc_ltimer_t *ttc_ltimer = data;
116 int error = ps_calloc(&ops.malloc_ops, 1, sizeof(ttc_ltimer_t), <imer->data);
120 assert(ltimer->data != NULL);
132 ttc_ltimer_t *ttc_ltimer = ltimer->data;