Lines Matching refs:errcode
56 int errcode; in tfix_init() local
67 errcode = pt_blk_decoder_init(&tfix->decoder, config); in tfix_init()
68 ptu_int_eq(errcode, 0); in tfix_init()
77 int errcode; in decoder_init_null() local
79 errcode = pt_blk_decoder_init(NULL, &config); in decoder_init_null()
80 ptu_int_eq(errcode, -pte_internal); in decoder_init_null()
82 errcode = pt_blk_decoder_init(&decoder, NULL); in decoder_init_null()
83 ptu_int_eq(errcode, -pte_invalid); in decoder_init_null()
114 int errcode; in sync_forward_null() local
116 errcode = pt_blk_sync_forward(NULL); in sync_forward_null()
117 ptu_int_eq(errcode, -pte_invalid); in sync_forward_null()
124 int errcode; in sync_backward_null() local
126 errcode = pt_blk_sync_backward(NULL); in sync_backward_null()
127 ptu_int_eq(errcode, -pte_invalid); in sync_backward_null()
134 int errcode; in sync_set_null() local
136 errcode = pt_blk_sync_set(NULL, 0ull); in sync_set_null()
137 ptu_int_eq(errcode, -pte_invalid); in sync_set_null()
144 int errcode; in sync_set_eos() local
146 errcode = pt_blk_sync_set(&tfix->decoder, sizeof(tfix->buffer) + 1); in sync_set_eos()
147 ptu_int_eq(errcode, -pte_eos); in sync_set_eos()
156 int errcode; in get_offset_null() local
158 errcode = pt_blk_get_offset(NULL, &offset); in get_offset_null()
159 ptu_int_eq(errcode, -pte_invalid); in get_offset_null()
161 errcode = pt_blk_get_offset(&decoder, NULL); in get_offset_null()
162 ptu_int_eq(errcode, -pte_invalid); in get_offset_null()
170 int errcode; in get_offset_init() local
172 errcode = pt_blk_get_offset(&tfix->decoder, &offset); in get_offset_init()
173 ptu_int_eq(errcode, -pte_nosync); in get_offset_init()
182 int errcode; in get_sync_offset_null() local
184 errcode = pt_blk_get_sync_offset(NULL, &offset); in get_sync_offset_null()
185 ptu_int_eq(errcode, -pte_invalid); in get_sync_offset_null()
187 errcode = pt_blk_get_sync_offset(&decoder, NULL); in get_sync_offset_null()
188 ptu_int_eq(errcode, -pte_invalid); in get_sync_offset_null()
206 int errcode; in set_image_null() local
208 errcode = pt_blk_set_image(NULL, &image); in set_image_null()
209 ptu_int_eq(errcode, -pte_invalid); in set_image_null()
211 errcode = pt_blk_set_image(NULL, NULL); in set_image_null()
212 ptu_int_eq(errcode, -pte_invalid); in set_image_null()
242 int errcode; in time_null() local
244 errcode = pt_blk_time(NULL, &time, &lost_mtc, &lost_cyc); in time_null()
245 ptu_int_eq(errcode, -pte_invalid); in time_null()
247 errcode = pt_blk_time(&decoder, NULL, &lost_mtc, &lost_cyc); in time_null()
248 ptu_int_eq(errcode, -pte_invalid); in time_null()
257 int errcode; in cbr_null() local
259 errcode = pt_blk_core_bus_ratio(NULL, &cbr); in cbr_null()
260 ptu_int_eq(errcode, -pte_invalid); in cbr_null()
262 errcode = pt_blk_core_bus_ratio(&decoder, NULL); in cbr_null()
263 ptu_int_eq(errcode, -pte_invalid); in cbr_null()
272 int errcode; in asid_null() local
274 errcode = pt_blk_asid(NULL, &asid, sizeof(asid)); in asid_null()
275 ptu_int_eq(errcode, -pte_invalid); in asid_null()
277 errcode = pt_blk_asid(&decoder, NULL, sizeof(asid)); in asid_null()
278 ptu_int_eq(errcode, -pte_invalid); in asid_null()
287 int errcode; in next_null() local
289 errcode = pt_blk_next(NULL, &block, sizeof(block)); in next_null()
290 ptu_int_eq(errcode, -pte_invalid); in next_null()
292 errcode = pt_blk_next(&decoder, NULL, sizeof(block)); in next_null()
293 ptu_int_eq(errcode, -pte_invalid); in next_null()
302 int errcode; in event_null() local
304 errcode = pt_blk_event(NULL, &event, sizeof(event)); in event_null()
305 ptu_int_eq(errcode, -pte_invalid); in event_null()
307 errcode = pt_blk_event(&decoder, NULL, sizeof(event)); in event_null()
308 ptu_int_eq(errcode, -pte_invalid); in event_null()