Home
last modified time | relevance | path

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

/linux/net/bridge/netfilter/
H A 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/tools/perf/arch/x86/tests/
H A 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/drivers/iio/chemical/
H A Dpms7003.c68 u16 expected_length; member
223 if (!frame->expected_length) { in pms7003_receive_buf()
236 frame->expected_length = num; in pms7003_receive_buf()
243 num = min(size, (size_t)(frame->expected_length - frame->length)); in pms7003_receive_buf()
247 if (frame->length == frame->expected_length) { in pms7003_receive_buf()
251 frame->expected_length = 0; in pms7003_receive_buf()
/linux/drivers/hid/bpf/progs/
H A DThrustmaster__TCA-Yoke-Boeing.bpf.c102 const int expected_length = 148; in SEC() local
104 if (hctx->size != expected_length) in SEC()
/linux/drivers/net/usb/
H A Dsierra_net.c358 u32 expected_length; in sierra_net_parse_lsi() local
384 expected_length = SIERRA_NET_LSI_UMTS_STATUS_LEN; in sierra_net_parse_lsi()
386 expected_length = SIERRA_NET_LSI_UMTS_DS_STATUS_LEN; in sierra_net_parse_lsi()
393 if (be16_to_cpu(lsi->length) != expected_length) { in sierra_net_parse_lsi()
395 __func__, be16_to_cpu(lsi->length), expected_length); in sierra_net_parse_lsi()
/linux/drivers/pci/
H A Dpci-acpi.c607 u32 desc_count, expected_length, revision; in program_type3_hpx_record() local
616 expected_length = 3 + desc_count * 14; in program_type3_hpx_record()
618 if (record->package.count != expected_length) in program_type3_hpx_record()
621 for (i = 2; i < expected_length; i++) in program_type3_hpx_record()