Searched refs:expected_offset (Results 1 – 3 of 3) sorted by relevance
86 #define ASSERT_STRUCT_OFFSET(type, field, expected_offset) \ argument87 BUILD_BUG_ON_MSG(offsetof(type, field) != (expected_offset), \
964 u32 offset = addr % umem->frame_size, expected_offset; in is_offset_correct() local970 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()
2765 int expected_offset) in check_reg_frame_pos() argument2768 reg->offset == expected_offset; in check_reg_frame_pos()