MsgLen 584 drivers/scsi/pcmcia/nsp_cs.c int len = min(MSGBUF_SIZE, data->MsgLen); MsgLen 1224 drivers/scsi/pcmcia/nsp_cs.c data->MsgLen = i = 0; MsgLen 1239 drivers/scsi/pcmcia/nsp_cs.c data->MsgLen = i; MsgLen 1260 drivers/scsi/pcmcia/nsp_cs.c if (data->MsgLen >= 5 && MsgLen 1279 drivers/scsi/pcmcia/nsp_cs.c for (i = 0; i < data->MsgLen; i++) { MsgLen 1287 drivers/scsi/pcmcia/nsp_cs.c nsp_dbg(NSP_DEBUG_INTR, "message=0x%x len=%d", tmpSC->SCp.Message, data->MsgLen); MsgLen 266 drivers/scsi/pcmcia/nsp_cs.h int MsgLen; MsgLen 209 drivers/scsi/pcmcia/nsp_debug.c for(i=0; i < data->MsgLen; i++) { MsgLen 49 drivers/scsi/pcmcia/nsp_message.c data->MsgLen = len; MsgLen 57 drivers/scsi/pcmcia/nsp_message.c int len = data->MsgLen; MsgLen 499 drivers/staging/isdn/avm/b1.c unsigned MsgLen; MsgLen 519 drivers/staging/isdn/avm/b1.c MsgLen = b1_get_slice(card->port, card->msgbuf); MsgLen 523 drivers/staging/isdn/avm/b1.c if (MsgLen < 30) { /* not CAPI 64Bit */ MsgLen 524 drivers/staging/isdn/avm/b1.c memset(card->msgbuf + MsgLen, 0, 30-MsgLen); MsgLen 525 drivers/staging/isdn/avm/b1.c MsgLen = 30; MsgLen 528 drivers/staging/isdn/avm/b1.c if (!(skb = alloc_skb(DataB3Len + MsgLen, GFP_ATOMIC))) { MsgLen 532 drivers/staging/isdn/avm/b1.c skb_put_data(skb, card->msgbuf, MsgLen); MsgLen 541 drivers/staging/isdn/avm/b1.c MsgLen = b1_get_slice(card->port, card->msgbuf); MsgLen 542 drivers/staging/isdn/avm/b1.c if (!(skb = alloc_skb(MsgLen, GFP_ATOMIC))) { MsgLen 547 drivers/staging/isdn/avm/b1.c skb_put_data(skb, card->msgbuf, MsgLen); MsgLen 600 drivers/staging/isdn/avm/b1.c MsgLen = b1_get_slice(card->port, card->msgbuf); MsgLen 602 drivers/staging/isdn/avm/b1.c card->msgbuf[MsgLen] = 0; MsgLen 603 drivers/staging/isdn/avm/b1.c while (MsgLen > 0 MsgLen 604 drivers/staging/isdn/avm/b1.c && (card->msgbuf[MsgLen - 1] == '\n' MsgLen 605 drivers/staging/isdn/avm/b1.c || card->msgbuf[MsgLen - 1] == '\r')) { MsgLen 606 drivers/staging/isdn/avm/b1.c card->msgbuf[MsgLen - 1] = 0; MsgLen 607 drivers/staging/isdn/avm/b1.c MsgLen--; MsgLen 614 drivers/staging/isdn/avm/b1.c MsgLen = b1_get_slice(card->port, card->msgbuf); MsgLen 616 drivers/staging/isdn/avm/b1.c card->msgbuf[MsgLen] = 0; MsgLen 617 drivers/staging/isdn/avm/b1.c while (MsgLen > 0 MsgLen 618 drivers/staging/isdn/avm/b1.c && (card->msgbuf[MsgLen - 1] == '\n' MsgLen 619 drivers/staging/isdn/avm/b1.c || card->msgbuf[MsgLen - 1] == '\r')) { MsgLen 620 drivers/staging/isdn/avm/b1.c card->msgbuf[MsgLen - 1] = 0; MsgLen 621 drivers/staging/isdn/avm/b1.c MsgLen--; MsgLen 454 drivers/staging/isdn/avm/b1dma.c u32 ApplId, MsgLen, DataB3Len, NCCI, WindowSize; MsgLen 465 drivers/staging/isdn/avm/b1dma.c MsgLen = _get_slice(&p, card->msgbuf); MsgLen 468 drivers/staging/isdn/avm/b1dma.c if (MsgLen < 30) { /* not CAPI 64Bit */ MsgLen 469 drivers/staging/isdn/avm/b1dma.c memset(card->msgbuf + MsgLen, 0, 30 - MsgLen); MsgLen 470 drivers/staging/isdn/avm/b1dma.c MsgLen = 30; MsgLen 473 drivers/staging/isdn/avm/b1dma.c if (!(skb = alloc_skb(DataB3Len + MsgLen, GFP_ATOMIC))) { MsgLen 477 drivers/staging/isdn/avm/b1dma.c skb_put_data(skb, card->msgbuf, MsgLen); MsgLen 486 drivers/staging/isdn/avm/b1dma.c MsgLen = _get_slice(&p, card->msgbuf); MsgLen 487 drivers/staging/isdn/avm/b1dma.c if (!(skb = alloc_skb(MsgLen, GFP_ATOMIC))) { MsgLen 491 drivers/staging/isdn/avm/b1dma.c skb_put_data(skb, card->msgbuf, MsgLen); MsgLen 551 drivers/staging/isdn/avm/b1dma.c MsgLen = _get_slice(&p, card->msgbuf); MsgLen 552 drivers/staging/isdn/avm/b1dma.c card->msgbuf[MsgLen] = 0; MsgLen 553 drivers/staging/isdn/avm/b1dma.c while (MsgLen > 0 MsgLen 554 drivers/staging/isdn/avm/b1dma.c && (card->msgbuf[MsgLen - 1] == '\n' MsgLen 555 drivers/staging/isdn/avm/b1dma.c || card->msgbuf[MsgLen - 1] == '\r')) { MsgLen 556 drivers/staging/isdn/avm/b1dma.c card->msgbuf[MsgLen - 1] = 0; MsgLen 557 drivers/staging/isdn/avm/b1dma.c MsgLen--; MsgLen 564 drivers/staging/isdn/avm/b1dma.c MsgLen = _get_slice(&p, card->msgbuf); MsgLen 565 drivers/staging/isdn/avm/b1dma.c card->msgbuf[MsgLen] = 0; MsgLen 566 drivers/staging/isdn/avm/b1dma.c while (MsgLen > 0 MsgLen 567 drivers/staging/isdn/avm/b1dma.c && (card->msgbuf[MsgLen - 1] == '\n' MsgLen 568 drivers/staging/isdn/avm/b1dma.c || card->msgbuf[MsgLen - 1] == '\r')) { MsgLen 569 drivers/staging/isdn/avm/b1dma.c card->msgbuf[MsgLen - 1] = 0; MsgLen 570 drivers/staging/isdn/avm/b1dma.c MsgLen--; MsgLen 510 drivers/staging/isdn/avm/c4.c u32 ApplId, MsgLen, DataB3Len, NCCI, WindowSize; MsgLen 524 drivers/staging/isdn/avm/c4.c MsgLen = _get_slice(&p, card->msgbuf); MsgLen 530 drivers/staging/isdn/avm/c4.c if (MsgLen < 30) { /* not CAPI 64Bit */ MsgLen 531 drivers/staging/isdn/avm/c4.c memset(card->msgbuf + MsgLen, 0, 30 - MsgLen); MsgLen 532 drivers/staging/isdn/avm/c4.c MsgLen = 30; MsgLen 535 drivers/staging/isdn/avm/c4.c if (!(skb = alloc_skb(DataB3Len + MsgLen, GFP_ATOMIC))) { MsgLen 539 drivers/staging/isdn/avm/c4.c skb_put_data(skb, card->msgbuf, MsgLen); MsgLen 548 drivers/staging/isdn/avm/c4.c MsgLen = _get_slice(&p, card->msgbuf); MsgLen 554 drivers/staging/isdn/avm/c4.c if (!(skb = alloc_skb(MsgLen, GFP_ATOMIC))) { MsgLen 558 drivers/staging/isdn/avm/c4.c skb_put_data(skb, card->msgbuf, MsgLen); MsgLen 633 drivers/staging/isdn/avm/c4.c MsgLen = _get_slice(&p, card->msgbuf); MsgLen 634 drivers/staging/isdn/avm/c4.c card->msgbuf[MsgLen] = 0; MsgLen 635 drivers/staging/isdn/avm/c4.c while (MsgLen > 0 MsgLen 636 drivers/staging/isdn/avm/c4.c && (card->msgbuf[MsgLen - 1] == '\n' MsgLen 637 drivers/staging/isdn/avm/c4.c || card->msgbuf[MsgLen - 1] == '\r')) { MsgLen 638 drivers/staging/isdn/avm/c4.c card->msgbuf[MsgLen - 1] = 0; MsgLen 639 drivers/staging/isdn/avm/c4.c MsgLen--; MsgLen 646 drivers/staging/isdn/avm/c4.c MsgLen = _get_slice(&p, card->msgbuf); MsgLen 647 drivers/staging/isdn/avm/c4.c card->msgbuf[MsgLen] = 0; MsgLen 648 drivers/staging/isdn/avm/c4.c while (MsgLen > 0 MsgLen 649 drivers/staging/isdn/avm/c4.c && (card->msgbuf[MsgLen - 1] == '\n' MsgLen 650 drivers/staging/isdn/avm/c4.c || card->msgbuf[MsgLen - 1] == '\r')) { MsgLen 651 drivers/staging/isdn/avm/c4.c card->msgbuf[MsgLen - 1] = 0; MsgLen 652 drivers/staging/isdn/avm/c4.c MsgLen--; MsgLen 144 drivers/staging/isdn/avm/t1isa.c unsigned MsgLen; MsgLen 161 drivers/staging/isdn/avm/t1isa.c MsgLen = t1_get_slice(card->port, card->msgbuf); MsgLen 165 drivers/staging/isdn/avm/t1isa.c if (MsgLen < 30) { /* not CAPI 64Bit */ MsgLen 166 drivers/staging/isdn/avm/t1isa.c memset(card->msgbuf + MsgLen, 0, 30 - MsgLen); MsgLen 167 drivers/staging/isdn/avm/t1isa.c MsgLen = 30; MsgLen 170 drivers/staging/isdn/avm/t1isa.c if (!(skb = alloc_skb(DataB3Len + MsgLen, GFP_ATOMIC))) { MsgLen 174 drivers/staging/isdn/avm/t1isa.c skb_put_data(skb, card->msgbuf, MsgLen); MsgLen 183 drivers/staging/isdn/avm/t1isa.c MsgLen = t1_get_slice(card->port, card->msgbuf); MsgLen 184 drivers/staging/isdn/avm/t1isa.c if (!(skb = alloc_skb(MsgLen, GFP_ATOMIC))) { MsgLen 189 drivers/staging/isdn/avm/t1isa.c skb_put_data(skb, card->msgbuf, MsgLen); MsgLen 242 drivers/staging/isdn/avm/t1isa.c MsgLen = t1_get_slice(card->port, card->msgbuf); MsgLen 244 drivers/staging/isdn/avm/t1isa.c card->msgbuf[MsgLen] = 0; MsgLen 245 drivers/staging/isdn/avm/t1isa.c while (MsgLen > 0 MsgLen 246 drivers/staging/isdn/avm/t1isa.c && (card->msgbuf[MsgLen - 1] == '\n' MsgLen 247 drivers/staging/isdn/avm/t1isa.c || card->msgbuf[MsgLen - 1] == '\r')) { MsgLen 248 drivers/staging/isdn/avm/t1isa.c card->msgbuf[MsgLen - 1] = 0; MsgLen 249 drivers/staging/isdn/avm/t1isa.c MsgLen--; MsgLen 256 drivers/staging/isdn/avm/t1isa.c MsgLen = t1_get_slice(card->port, card->msgbuf); MsgLen 258 drivers/staging/isdn/avm/t1isa.c card->msgbuf[MsgLen] = 0; MsgLen 259 drivers/staging/isdn/avm/t1isa.c while (MsgLen > 0 MsgLen 260 drivers/staging/isdn/avm/t1isa.c && (card->msgbuf[MsgLen - 1] == '\n' MsgLen 261 drivers/staging/isdn/avm/t1isa.c || card->msgbuf[MsgLen - 1] == '\r')) { MsgLen 262 drivers/staging/isdn/avm/t1isa.c card->msgbuf[MsgLen - 1] = 0; MsgLen 263 drivers/staging/isdn/avm/t1isa.c MsgLen--; MsgLen 521 drivers/staging/isdn/hysdn/hycapi.c __u16 MsgLen, info; MsgLen 536 drivers/staging/isdn/hysdn/hycapi.c MsgLen = CAPIMSG_LEN(buf); MsgLen 540 drivers/staging/isdn/hysdn/hycapi.c if ((CapiCmd == CAPI_DATA_B3_IND) && (MsgLen < 30)) { MsgLen 541 drivers/staging/isdn/hysdn/hycapi.c len2 = len + (30 - MsgLen); MsgLen 547 drivers/staging/isdn/hysdn/hycapi.c skb_put_data(skb, buf, MsgLen); MsgLen 549 drivers/staging/isdn/hysdn/hycapi.c skb_put_data(skb, buf + MsgLen, len - MsgLen);