Searched refs:expectlen (Results 1 – 2 of 2) sorted by relevance
59 u16 expectlen = 0; in cfserl_receive() local66 cfpkt_append(layr->incomplete_frm, newpkt, expectlen); in cfserl_receive()116 expectlen = le16_to_cpu(tmp) + 2; in cfserl_receive()120 if (expectlen < SERIAL_MINIUM_PACKET_SIZE in cfserl_receive()121 || expectlen > SERIAL_MAX_FRAMESIZE) { in cfserl_receive()126 expectlen = 0; in cfserl_receive()133 if (pkt_len < expectlen) { in cfserl_receive()146 if (pkt_len > expectlen) in cfserl_receive()147 tail_pkt = cfpkt_split(pkt, expectlen); in cfserl_receive()
297 u16 expectlen) in cfpkt_append() argument309 if (expectlen > addlen) in cfpkt_append()310 neededtailspace = expectlen; in cfpkt_append()