Lines Matching refs:obj

81 static void state_a_entry(void *obj)  in state_a_entry()  argument
83 struct test_object *o = TEST_OBJECT(obj); in state_a_entry()
90 smf_set_terminate(obj, -1); in state_a_entry()
97 static void state_a_run(void *obj) in state_a_run() argument
99 struct test_object *o = TEST_OBJECT(obj); in state_a_run()
107 smf_set_state(SMF_CTX(obj), &test_states[STATE_B]); in state_a_run()
110 static void state_a_exit(void *obj) in state_a_exit() argument
112 struct test_object *o = TEST_OBJECT(obj); in state_a_exit()
121 static void state_b_entry(void *obj) in state_b_entry() argument
123 struct test_object *o = TEST_OBJECT(obj); in state_b_entry()
132 static void state_b_run(void *obj) in state_b_run() argument
134 struct test_object *o = TEST_OBJECT(obj); in state_b_run()
141 smf_set_terminate(obj, -1); in state_b_run()
147 smf_set_state(SMF_CTX(obj), &test_states[STATE_C]); in state_b_run()
150 static void state_b_exit(void *obj) in state_b_exit() argument
152 struct test_object *o = TEST_OBJECT(obj); in state_b_exit()
160 static void state_c_entry(void *obj) in state_c_entry() argument
162 struct test_object *o = TEST_OBJECT(obj); in state_c_entry()
170 static void state_c_run(void *obj) in state_c_run() argument
172 struct test_object *o = TEST_OBJECT(obj); in state_c_run()
179 smf_set_state(SMF_CTX(obj), &test_states[STATE_D]); in state_c_run()
182 static void state_c_exit(void *obj) in state_c_exit() argument
184 struct test_object *o = TEST_OBJECT(obj); in state_c_exit()
191 smf_set_terminate(obj, -1); in state_c_exit()
198 static void state_d_entry(void *obj) in state_d_entry() argument
200 struct test_object *o = TEST_OBJECT(obj); in state_d_entry()
205 static void state_d_run(void *obj) in state_d_run() argument
210 static void state_d_exit(void *obj) in state_d_exit() argument