Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
Dbuild_bug.h84 #define ASSERT_STRUCT_OFFSET(type, field, expected_offset) \ argument
85 BUILD_BUG_ON_MSG(offsetof(type, field) != (expected_offset), \
Dbtf.h206 u32 expected_offset, u32 expected_size);
/Linux-v6.6/tools/include/linux/
Dbuild_bug.h86 #define ASSERT_STRUCT_OFFSET(type, field, expected_offset) \ argument
87 BUILD_BUG_ON_MSG(offsetof(type, field) != (expected_offset), \
/Linux-v6.6/drivers/gpu/drm/vc4/
Dvc4_validate_shaders.c319 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-v6.6/tools/testing/selftests/bpf/
Dxskxceiver.c820 u32 offset = addr % umem->frame_size, expected_offset; in is_offset_correct() local
826 expected_offset = (pkt_offset + headroom + XDP_PACKET_HEADROOM) % umem->frame_size; in is_offset_correct()
828 if (offset == expected_offset) in is_offset_correct()
831 ksft_print_msg("[%s] expected [%u], got [%u]\n", __func__, expected_offset, offset); in is_offset_correct()
/Linux-v6.6/drivers/scsi/cxgbi/
Dlibcxgbi.c2152 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-v6.6/tools/objtool/
Dcheck.c2692 int expected_offset) in check_reg_frame_pos() argument
2695 reg->offset == expected_offset; in check_reg_frame_pos()
/Linux-v6.6/kernel/bpf/
Dbtf.c866 u32 expected_offset, u32 expected_size) in btf_member_is_reg_int() argument
887 BITS_ROUNDUP_BYTES(bit_offset) == expected_offset && in btf_member_is_reg_int()
893 BITS_ROUNDUP_BYTES(m->offset) != expected_offset || in btf_member_is_reg_int()