Home
last modified time | relevance | path

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

/linux-6.12.1/net/bridge/netfilter/
Debt_among.c208 unsigned int expected_length = sizeof(struct ebt_among_info); in ebt_among_mt_check() local
212 if (expected_length > em->match_size) in ebt_among_mt_check()
223 expected_length += ebt_mac_wormhash_size(wh_dst); in ebt_among_mt_check()
224 if (expected_length > em->match_size) in ebt_among_mt_check()
239 expected_length += ebt_mac_wormhash_size(wh_src); in ebt_among_mt_check()
241 if (em->match_size != EBT_ALIGN(expected_length)) { in ebt_among_mt_check()
243 em->match_size, expected_length, in ebt_among_mt_check()
244 EBT_ALIGN(expected_length)); in ebt_among_mt_check()
/linux-6.12.1/tools/perf/arch/x86/tests/
Dinsn-x86.c14 int expected_length; member
113 if (insn.length != dat->expected_length) { in test_data_item()
115 insn.length, dat->expected_length, dat->asm_rep); in test_data_item()
155 for (dat = dat_set; dat->expected_length; dat++) { in test_data_set()
/linux-6.12.1/drivers/iio/chemical/
Dpms7003.c67 u16 expected_length; member
222 if (!frame->expected_length) { in pms7003_receive_buf()
235 frame->expected_length = num; in pms7003_receive_buf()
242 num = min(size, (size_t)(frame->expected_length - frame->length)); in pms7003_receive_buf()
246 if (frame->length == frame->expected_length) { in pms7003_receive_buf()
250 frame->expected_length = 0; in pms7003_receive_buf()
/linux-6.12.1/drivers/hid/bpf/progs/
DThrustmaster__TCA-Yoke-Boeing.bpf.c102 const int expected_length = 148; in SEC() local
104 if (hctx->size != expected_length) in SEC()
/linux-6.12.1/drivers/gpu/drm/mgag200/
Dmgag200_g200.c236 static const unsigned int expected_length[6] = { in mgag200_g200_interpret_bios() local
274 if (pins_len != expected_length[version]) { in mgag200_g200_interpret_bios()
276 pins_len, expected_length[version]); in mgag200_g200_interpret_bios()
/linux-6.12.1/drivers/net/usb/
Dsierra_net.c360 u32 expected_length; in sierra_net_parse_lsi() local
386 expected_length = SIERRA_NET_LSI_UMTS_STATUS_LEN; in sierra_net_parse_lsi()
388 expected_length = SIERRA_NET_LSI_UMTS_DS_STATUS_LEN; in sierra_net_parse_lsi()
395 if (be16_to_cpu(lsi->length) != expected_length) { in sierra_net_parse_lsi()
397 __func__, be16_to_cpu(lsi->length), expected_length); in sierra_net_parse_lsi()
/linux-6.12.1/drivers/pci/
Dpci-acpi.c615 u32 desc_count, expected_length, revision; in program_type3_hpx_record() local
624 expected_length = 3 + desc_count * 14; in program_type3_hpx_record()
626 if (record->package.count != expected_length) in program_type3_hpx_record()
629 for (i = 2; i < expected_length; i++) in program_type3_hpx_record()