Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dxdp_adjust_tail.c145 __u32 exp_size; in test_xdp_adjust_frags_tail_shrink() local
172 exp_size = 8990; /* 9000 - 10 */ in test_xdp_adjust_frags_tail_shrink()
181 ASSERT_EQ(topts.data_size_out, exp_size, "9Kb-10b size"); in test_xdp_adjust_frags_tail_shrink()
185 exp_size = 4900; /* 9000 - 4100 */ in test_xdp_adjust_frags_tail_shrink()
192 ASSERT_EQ(topts.data_size_out, exp_size, "9Kb-4Kb size"); in test_xdp_adjust_frags_tail_shrink()
196 exp_size = 800; /* 9000 - 8200 */ in test_xdp_adjust_frags_tail_shrink()
202 ASSERT_EQ(topts.data_size_out, exp_size, "9Kb-9Kb size"); in test_xdp_adjust_frags_tail_shrink()
212 __u32 exp_size; in test_xdp_adjust_frags_tail_grow() local
235 exp_size = 9000 + 10; in test_xdp_adjust_frags_tail_grow()
245 ASSERT_EQ(topts.data_size_out, exp_size, "9Kb+10b size"); in test_xdp_adjust_frags_tail_grow()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_color.c823 uint32_t exp_size, size, dim_size = MAX_COLOR_3DLUT_SIZE; in amdgpu_dm_verify_lut3d_size() local
827 exp_size = has_3dlut ? MAX_COLOR_LUT_ENTRIES : 0; in amdgpu_dm_verify_lut3d_size()
830 if (shaper && size != exp_size) { in amdgpu_dm_verify_lut3d_size()
833 exp_size, size); in amdgpu_dm_verify_lut3d_size()
838 exp_size = has_3dlut ? dim_size * dim_size * dim_size : 0; in amdgpu_dm_verify_lut3d_size()
841 if (lut3d && size != exp_size) { in amdgpu_dm_verify_lut3d_size()
844 exp_size, size); in amdgpu_dm_verify_lut3d_size()