Searched refs:expected_offset (Results 1 – 9 of 9) sorted by relevance
/linux/include/linux/ |
H A D | build_bug.h | 84 #define ASSERT_STRUCT_OFFSET(type, field, expected_offset) \ argument 85 BUILD_BUG_ON_MSG(offsetof(type, field) != (expected_offset), \
|
H A D | btf.h | 222 u32 expected_offset, u32 expected_size);
|
/linux/tools/include/linux/ |
H A D | build_bug.h | 86 #define ASSERT_STRUCT_OFFSET(type, field, expected_offset) \ argument 87 BUILD_BUG_ON_MSG(offsetof(type, field) != (expected_offset), \
|
/linux/drivers/gpu/drm/tests/ |
H A D | drm_format_helper_test.c | 1245 unsigned int expected_offset; member 1254 .expected_offset = 0 1261 .expected_offset = 4, 1268 .expected_offset = 12, 1275 .expected_offset = 16, 1282 .expected_offset = 4, 1289 .expected_offset = 20, 1296 .expected_offset = 24, 1327 KUNIT_EXPECT_EQ(test, offset, params->expected_offset); in drm_test_fb_clip_offset()
|
/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_validate_shaders.c | 319 u32 expected_offset = validated_shader->uniforms_size + 4; in validate_uniform_address_write() local 366 if (validation_state->live_immediates[add_lri] != expected_offset) { in validate_uniform_address_write() 369 expected_offset); in validate_uniform_address_write()
|
/linux/tools/testing/selftests/bpf/ |
H A D | xskxceiver.c | 964 u32 offset = addr % umem->frame_size, expected_offset; in is_offset_correct() local 970 expected_offset = (pkt_offset + headroom + XDP_PACKET_HEADROOM) % umem->frame_size; in is_offset_correct() 972 if (offset == expected_offset) in is_offset_correct() 975 ksft_print_msg("[%s] expected [%u], got [%u]\n", __func__, expected_offset, offset); in is_offset_correct()
|
/linux/drivers/scsi/cxgbi/ |
H A D | libcxgbi.c | 2152 u32 expected_count, expected_offset; in cxgbi_conn_init_pdu() local 2190 expected_offset = tdata->total_offset; in cxgbi_conn_init_pdu() 2193 (offset != expected_offset)) { in cxgbi_conn_init_pdu()
|
/linux/tools/objtool/ |
H A D | check.c | 2776 int expected_offset) in check_reg_frame_pos() argument 2779 reg->offset == expected_offset; in check_reg_frame_pos()
|
/linux/kernel/bpf/ |
H A D | btf.c | 892 u32 expected_offset, u32 expected_size) in btf_member_is_reg_int() argument 913 BITS_ROUNDUP_BYTES(bit_offset) == expected_offset && in btf_member_is_reg_int() 919 BITS_ROUNDUP_BYTES(m->offset) != expected_offset || in btf_member_is_reg_int()
|