Lines Matching refs:MsgLen

448 	unsigned MsgLen;  in b1_handle_interrupt()  local
463 MsgLen = b1_get_slice(card->port, card->msgbuf); in b1_handle_interrupt()
466 if (MsgLen < 30) { /* not CAPI 64Bit */ in b1_handle_interrupt()
467 memset(card->msgbuf+MsgLen, 0, 30-MsgLen); in b1_handle_interrupt()
468 MsgLen = 30; in b1_handle_interrupt()
471 if (!(skb = alloc_skb(DataB3Len + MsgLen, GFP_ATOMIC))) { in b1_handle_interrupt()
475 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in b1_handle_interrupt()
484 MsgLen = b1_get_slice(card->port, card->msgbuf); in b1_handle_interrupt()
485 if (!(skb = alloc_skb(MsgLen, GFP_ATOMIC))) { in b1_handle_interrupt()
489 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in b1_handle_interrupt()
536 MsgLen = b1_get_slice(card->port, card->msgbuf); in b1_handle_interrupt()
537 card->msgbuf[MsgLen] = 0; in b1_handle_interrupt()
538 while ( MsgLen > 0 in b1_handle_interrupt()
539 && ( card->msgbuf[MsgLen-1] == '\n' in b1_handle_interrupt()
540 || card->msgbuf[MsgLen-1] == '\r')) { in b1_handle_interrupt()
541 card->msgbuf[MsgLen-1] = 0; in b1_handle_interrupt()
542 MsgLen--; in b1_handle_interrupt()
549 MsgLen = b1_get_slice(card->port, card->msgbuf); in b1_handle_interrupt()
550 card->msgbuf[MsgLen] = 0; in b1_handle_interrupt()
551 while ( MsgLen > 0 in b1_handle_interrupt()
552 && ( card->msgbuf[MsgLen-1] == '\n' in b1_handle_interrupt()
553 || card->msgbuf[MsgLen-1] == '\r')) { in b1_handle_interrupt()
554 card->msgbuf[MsgLen-1] = 0; in b1_handle_interrupt()
555 MsgLen--; in b1_handle_interrupt()