Home
last modified time | relevance | path

Searched refs:side_effect (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dmodify_return.c18 __u16 side_effect; in run_test() local
35 side_effect = UPPER(topts.retval); in run_test()
39 ASSERT_EQ(side_effect, want_side_effect, "modify_return side_effect"); in run_test()
/linux-6.1.9/drivers/regulator/
Dmax8997-regulator.c545 int side_effect[8]; in max8997_assess_side_effect() local
576 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()
/linux-6.1.9/net/bpf/
Dtest_run.c795 u16 side_effect = 0, ret = 0; in bpf_prog_test_run_tracing() local
818 side_effect = 1; in bpf_prog_test_run_tracing()
824 retval = ((u32)side_effect << 16) | ret; in bpf_prog_test_run_tracing()
/linux-6.1.9/tools/testing/kunit/
Dkunit_tool_test.py417 mock.patch.object(tree._ops, 'start', side_effect=fake_start).start()