/drivers/isdn/i4l/ |
D | isdn_v110.c | 325 EncodeMatrix(unsigned char *buf, int len, unsigned char *m, int mlen) in EncodeMatrix() argument 334 while ((i < len) && (line < mlen)) { /* while we still have input data */ in EncodeMatrix() 345 if (line >= mlen) { in EncodeMatrix() 353 if (line >= mlen) { in EncodeMatrix() 385 if ((line) && ((line + 10) < mlen)) in EncodeMatrix() 455 int mlen; in isdn_v110_encode() local 493 mlen = EncodeMatrix(skb->data, rlen, v110buf, size); in isdn_v110_encode() 499 for (i = 0; i < mlen; i++) { in isdn_v110_encode()
|
/drivers/staging/gdm724x/ |
D | netlink_k.c | 43 u32 mlen; in netlink_rcv_cb() local 67 mlen = ND_NLMSG_R_LEN(nlh); in netlink_rcv_cb() 71 rcv_cb(dev, nlh->nlmsg_type, msg, mlen); in netlink_rcv_cb()
|
/drivers/w1/ |
D | w1_netlink.c | 455 u16 mlen = node->msg->len; in w1_process_cb() local 467 while (mlen && !err) { in w1_process_cb() 468 if (cmd->len + sizeof(struct w1_netlink_cmd) > mlen) { in w1_process_cb() 484 mlen -= len; in w1_process_cb() 511 u16 mlen = msg->len; in w1_list_count_cmds() local 514 while (mlen) { in w1_list_count_cmds() 515 if (cmd->len + sizeof(struct w1_netlink_cmd) > mlen) in w1_list_count_cmds() 527 mlen -= len; in w1_list_count_cmds()
|
/drivers/isdn/mISDN/ |
D | l1oip_core.c | 470 int m, mlen; in l1oip_socket_parse() local 572 mlen = *buf++; in l1oip_socket_parse() 574 if (mlen == 0) in l1oip_socket_parse() 575 mlen = 256; in l1oip_socket_parse() 576 if (len < mlen + 3) { in l1oip_socket_parse() 579 __func__, mlen, len_start-len - 1, len_start); in l1oip_socket_parse() 582 if (len == mlen + 3) { in l1oip_socket_parse() 586 __func__, mlen, len_start-len + 1); in l1oip_socket_parse() 590 mlen = len - 2; /* single frame, subtract timebase */ in l1oip_socket_parse() 615 l1oip_socket_recv(hc, remotecodec, channel, timebase, buf, mlen); in l1oip_socket_parse() [all …]
|
/drivers/staging/lustre/lustre/llite/ |
D | rw.c | 433 unsigned long len, mlen = 0; in ll_readahead() local 526 mlen = vio->vui_ra_start + vio->vui_ra_count - ria->ria_start; in ll_readahead() 529 mlen = min(mlen, ras->ras_rpc_size - remainder); in ll_readahead() 530 ria->ria_end_min = ria->ria_start + mlen; in ll_readahead() 533 ria->ria_reserved = ll_ra_count_get(ll_i2sbi(inode), ria, len, mlen); in ll_readahead() 538 ria->ria_reserved, len, mlen, in ll_readahead()
|
/drivers/net/ethernet/amd/ |
D | ni65.h | 108 volatile unsigned short mlen; member
|
D | ni65.c | 843 rmdp->mlen = 0; in ni65_lance_reinit() 1065 printk(KERN_ERR "%s: recv, packet too long: %d\n",dev->name,rmdp->mlen & 0x0fff); in ni65_recv_intr() 1084 else if( (len = (rmdp->mlen & 0x0fff) - 4) >= 60) in ni65_recv_intr() 1129 rmdp->mlen = 0; in ni65_recv_intr()
|
/drivers/staging/lustre/include/linux/lnet/ |
D | lib-lnet.h | 489 unsigned int offset, unsigned int mlen); 565 int delayed, unsigned int offset, unsigned int mlen, 569 unsigned int mlen, unsigned int rlen);
|
/drivers/net/wireless/ath/ar5523/ |
D | ar5523.c | 1518 int mlen = min(len, AR5523_MAX_FWBLOCK_SIZE); in ar5523_load_firmware() local 1520 txblock->remain = cpu_to_be32(len - mlen); in ar5523_load_firmware() 1521 txblock->len = cpu_to_be32(mlen); in ar5523_load_firmware() 1534 memcpy(fwbuf, fw->data + offset, mlen); in ar5523_load_firmware() 1536 fwbuf, mlen, &foolen, in ar5523_load_firmware() 1554 len -= mlen; in ar5523_load_firmware() 1555 offset += mlen; in ar5523_load_firmware()
|
/drivers/staging/lustre/lnet/lnet/ |
D | lib-move.c | 368 int delayed, unsigned int offset, unsigned int mlen, in lnet_ni_recv() argument 378 LASSERT(!mlen || msg); in lnet_ni_recv() 384 LASSERT(mlen <= msg->msg_len); in lnet_ni_recv() 386 LASSERT(msg->msg_wanted == mlen); in lnet_ni_recv() 390 if (mlen) { in lnet_ni_recv() 401 iov_iter_kvec(&to, ITER_KVEC | READ, iov, niov, mlen + offset); in lnet_ni_recv() 404 iov_iter_bvec(&to, ITER_BVEC | READ, kiov, niov, mlen + offset); in lnet_ni_recv()
|
D | lib-msg.c | 310 unsigned int offset, unsigned int mlen) in lnet_msg_attach_md() argument 324 msg->msg_wanted = mlen; in lnet_msg_attach_md()
|
/drivers/isdn/capi/ |
D | capi.c | 685 u16 mlen; in capi_write() local 701 mlen = CAPIMSG_LEN(skb->data); in capi_write() 704 (size_t)(mlen + CAPIMSG_DATALEN(skb->data)) != count) { in capi_write() 709 if (mlen != count) { in capi_write()
|
/drivers/crypto/ |
D | omap-sham.c | 523 int mlen; in omap_sham_xmit_cpu() local 547 mlen = 0; in omap_sham_xmit_cpu() 554 if (!mlen) { in omap_sham_xmit_cpu() 556 mlen = mi.length; in omap_sham_xmit_cpu() 557 if (!mlen) { in omap_sham_xmit_cpu() 566 mlen -= 4; in omap_sham_xmit_cpu()
|