Lines Matching refs:state
39 struct state { struct
237 struct thread *thread, struct state *state) in read_object_code() argument
297 for (d = 0; d < state->done_cnt; d++) { in read_object_code()
298 if (state->done[d] == al.map->start) { in read_object_code()
304 if (state->done_cnt >= ARRAY_SIZE(state->done)) { in read_object_code()
308 state->done[state->done_cnt++] = al.map->start; in read_object_code()
375 union perf_event *event, struct state *state) in process_sample_event() argument
392 ret = read_object_code(sample.ip, READLEN, sample.cpumode, thread, state); in process_sample_event()
398 union perf_event *event, struct state *state) in process_event() argument
401 return process_sample_event(machine, evlist, event, state); in process_event()
421 struct state *state) in process_events() argument
433 ret = process_event(machine, evlist, event, state); in process_events()
565 struct state state = { in do_test_code_reading() local
702 ret = process_events(machine, evlist, &state); in do_test_code_reading()