Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_skb_cgroup_id_user.c118 __u64 actual_ids[NUM_CGROUP_LEVELS], expected_ids[NUM_CGROUP_LEVELS]; in check_ancestor_cgroup_ids() local
123 expected_ids[0] = 0x100000001; /* root cgroup */ in check_ancestor_cgroup_ids()
124 expected_ids[1] = get_cgroup_id(""); in check_ancestor_cgroup_ids()
125 expected_ids[2] = get_cgroup_id(CGROUP_PATH); in check_ancestor_cgroup_ids()
126 expected_ids[3] = 0; /* non-existent cgroup */ in check_ancestor_cgroup_ids()
137 if (actual_ids[level] != expected_ids[level]) { in check_ancestor_cgroup_ids()
139 actual_ids[level], expected_ids[level], level); in check_ancestor_cgroup_ids()