Searched refs:side_effect (Results 1 – 4 of 4) sorted by relevance
18 __u16 side_effect; in run_test() local35 side_effect = UPPER(topts.retval); in run_test()39 ASSERT_EQ(side_effect, want_side_effect, "modify_return side_effect"); in run_test()
545 int side_effect[8]; in max8997_assess_side_effect() local576 side_effect[i] = -1; in max8997_assess_side_effect()580 side_effect[i] = 0; in max8997_assess_side_effect()591 side_effect[i] += diff; in max8997_assess_side_effect()593 side_effect[i] -= diff; in max8997_assess_side_effect()595 if (side_effect[i] == 0) { in max8997_assess_side_effect()599 if (side_effect[i] < min_side_effect) { in max8997_assess_side_effect()600 min_side_effect = side_effect[i]; in max8997_assess_side_effect()608 return side_effect[*best]; in max8997_assess_side_effect()
687 u16 side_effect = 0, ret = 0; in bpf_prog_test_run_tracing() local711 side_effect++; in bpf_prog_test_run_tracing()715 side_effect++; in bpf_prog_test_run_tracing()721 retval = ((u32)side_effect << 16) | ret; in bpf_prog_test_run_tracing()
470 mock.patch.object(tree._ops, 'start', side_effect=fake_start).start()