Lines Matching refs:errcode

73 	int errcode;  in tsc_null()  local
75 errcode = pt_time_update_tsc(NULL, &packet, &tfix->config); in tsc_null()
76 ptu_int_eq(errcode, -pte_internal); in tsc_null()
78 errcode = pt_time_update_tsc(&tfix->time, NULL, &tfix->config); in tsc_null()
79 ptu_int_eq(errcode, -pte_internal); in tsc_null()
87 int errcode; in cbr_null() local
89 errcode = pt_time_update_cbr(NULL, &packet, &tfix->config); in cbr_null()
90 ptu_int_eq(errcode, -pte_internal); in cbr_null()
92 errcode = pt_time_update_cbr(&tfix->time, NULL, &tfix->config); in cbr_null()
93 ptu_int_eq(errcode, -pte_internal); in cbr_null()
101 int errcode; in tma_null() local
103 errcode = pt_time_update_tma(NULL, &packet, &tfix->config); in tma_null()
104 ptu_int_eq(errcode, -pte_internal); in tma_null()
106 errcode = pt_time_update_tma(&tfix->time, NULL, &tfix->config); in tma_null()
107 ptu_int_eq(errcode, -pte_internal); in tma_null()
109 errcode = pt_time_update_tma(&tfix->time, &packet, NULL); in tma_null()
110 ptu_int_eq(errcode, -pte_internal); in tma_null()
118 int errcode; in mtc_null() local
120 errcode = pt_time_update_mtc(NULL, &packet, &tfix->config); in mtc_null()
121 ptu_int_eq(errcode, -pte_internal); in mtc_null()
123 errcode = pt_time_update_mtc(&tfix->time, NULL, &tfix->config); in mtc_null()
124 ptu_int_eq(errcode, -pte_internal); in mtc_null()
126 errcode = pt_time_update_mtc(&tfix->time, &packet, NULL); in mtc_null()
127 ptu_int_eq(errcode, -pte_internal); in mtc_null()
135 int errcode; in cyc_null() local
137 errcode = pt_time_update_cyc(NULL, &packet, &tfix->config, 0ull); in cyc_null()
138 ptu_int_eq(errcode, -pte_internal); in cyc_null()
140 errcode = pt_time_update_cyc(&tfix->time, NULL, &tfix->config, 0ull); in cyc_null()
141 ptu_int_eq(errcode, -pte_internal); in cyc_null()
143 errcode = pt_time_update_cyc(&tfix->time, &packet, NULL, 0ull); in cyc_null()
144 ptu_int_eq(errcode, -pte_internal); in cyc_null()
152 int errcode; in query_tsc_null() local
154 errcode = pt_time_query_tsc(NULL, NULL, NULL, &tfix->time); in query_tsc_null()
155 ptu_int_eq(errcode, -pte_internal); in query_tsc_null()
157 errcode = pt_time_query_tsc(&tsc, NULL, NULL, NULL); in query_tsc_null()
158 ptu_int_eq(errcode, -pte_internal); in query_tsc_null()
166 int errcode; in query_tsc_none() local
168 errcode = pt_time_query_tsc(&tsc, NULL, NULL, &tfix->time); in query_tsc_none()
169 ptu_int_eq(errcode, -pte_no_time); in query_tsc_none()
177 int errcode; in query_cbr_null() local
179 errcode = pt_time_query_cbr(NULL, &tfix->time); in query_cbr_null()
180 ptu_int_eq(errcode, -pte_internal); in query_cbr_null()
182 errcode = pt_time_query_cbr(&cbr, NULL); in query_cbr_null()
183 ptu_int_eq(errcode, -pte_internal); in query_cbr_null()
191 int errcode; in query_cbr_none() local
193 errcode = pt_time_query_cbr(&cbr, &tfix->time); in query_cbr_none()
194 ptu_int_eq(errcode, -pte_no_cbr); in query_cbr_none()
202 int errcode; in tcal_cbr_null() local
204 errcode = pt_tcal_update_cbr(NULL, &packet, &tfix->config); in tcal_cbr_null()
205 ptu_int_eq(errcode, -pte_internal); in tcal_cbr_null()
214 int errcode; in tcal_cbr_zero() local
220 errcode = pt_tcal_update_cbr(&tfix->tcal, &packet, &config); in tcal_cbr_zero()
221 ptu_int_eq(errcode, -pte_bad_packet); in tcal_cbr_zero()
229 int errcode; in tcal_mtc_null() local
231 errcode = pt_tcal_update_mtc(NULL, &packet, &tfix->config); in tcal_mtc_null()
232 ptu_int_eq(errcode, -pte_internal); in tcal_mtc_null()
234 errcode = pt_tcal_update_mtc(&tfix->tcal, NULL, &tfix->config); in tcal_mtc_null()
235 ptu_int_eq(errcode, -pte_internal); in tcal_mtc_null()
237 errcode = pt_tcal_update_mtc(&tfix->tcal, &packet, NULL); in tcal_mtc_null()
238 ptu_int_eq(errcode, -pte_internal); in tcal_mtc_null()
246 int errcode; in tcal_cyc_null() local
248 errcode = pt_tcal_update_cyc(NULL, &packet, &tfix->config); in tcal_cyc_null()
249 ptu_int_eq(errcode, -pte_internal); in tcal_cyc_null()
251 errcode = pt_tcal_update_cyc(&tfix->tcal, NULL, &tfix->config); in tcal_cyc_null()
252 ptu_int_eq(errcode, -pte_internal); in tcal_cyc_null()
262 int errcode; in tsc() local
266 errcode = pt_time_update_tsc(&tfix->time, &packet, &tfix->config); in tsc()
267 ptu_int_eq(errcode, 0); in tsc()
269 errcode = pt_time_query_tsc(&tsc, &lost_mtc, &lost_cyc, &tfix->time); in tsc()
270 ptu_int_eq(errcode, 0); in tsc()
283 int errcode; in cbr() local
287 errcode = pt_time_update_cbr(&tfix->time, &packet, &tfix->config); in cbr()
288 ptu_int_eq(errcode, 0); in cbr()
290 errcode = pt_time_query_cbr(&cbr, &tfix->time); in cbr()
291 ptu_int_eq(errcode, 0); in cbr()
301 int errcode; in cbr_zero() local
305 errcode = pt_time_update_cbr(&tfix->time, &packet, &tfix->config); in cbr_zero()
306 ptu_int_eq(errcode, -pte_bad_packet); in cbr_zero()
314 int errcode; in tma() local
319 errcode = pt_time_update_tma(&tfix->time, &packet, &tfix->config); in tma()
320 ptu_int_eq(errcode, -pte_bad_context); in tma()
329 int errcode; in mtc() local
333 errcode = pt_time_update_mtc(&tfix->time, &packet, &tfix->config); in mtc()
334 ptu_int_eq(errcode, 0); in mtc()
336 errcode = pt_time_query_tsc(&tsc, NULL, NULL, &tfix->time); in mtc()
337 ptu_int_eq(errcode, -pte_no_time); in mtc()
346 int errcode; in cyc() local
348 errcode = pt_tcal_fcr(&fcr, &tfix->tcal); in cyc()
349 ptu_int_eq(errcode, 0); in cyc()
353 errcode = pt_time_update_cyc(&tfix->time, &packet, &tfix->config, fcr); in cyc()
354 ptu_int_eq(errcode, 0); in cyc()
356 errcode = pt_time_query_tsc(&tsc, NULL, NULL, &tfix->time); in cyc()
357 ptu_int_eq(errcode, -pte_no_time); in cyc()