Home
last modified time | relevance | path

Searched refs:mlen (Results 1 – 13 of 13) sorted by relevance

/drivers/isdn/i4l/
Disdn_v110.c325 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/
Dnetlink_k.c43 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/
Dw1_netlink.c455 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/
Dl1oip_core.c470 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/
Drw.c433 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/
Dni65.h108 volatile unsigned short mlen; member
Dni65.c843 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/
Dlib-lnet.h489 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/
Dar5523.c1518 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/
Dlib-move.c368 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()
Dlib-msg.c310 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/
Dcapi.c685 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/
Domap-sham.c523 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()