Home
last modified time | relevance | path

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

/drivers/staging/lustre/lnet/lnet/
Dlo.c51 unsigned int offset, unsigned int mlen, unsigned int rlen) in lolnd_recv() argument
61 sendmsg->msg_offset, mlen); in lolnd_recv()
66 sendmsg->msg_offset, mlen); in lolnd_recv()
72 sendmsg->msg_offset, mlen); in lolnd_recv()
77 sendmsg->msg_offset, mlen); in lolnd_recv()
Dlib-msg.c309 unsigned int offset, unsigned int mlen) in lnet_msg_attach_md() argument
321 msg->msg_wanted = mlen; in lnet_msg_attach_md()
Dlib-move.c565 unsigned int offset, unsigned int mlen, unsigned int rlen) in lnet_ni_recv() argument
573 LASSERT(mlen == 0 || msg != NULL); in lnet_ni_recv()
579 LASSERT(mlen <= msg->msg_len); in lnet_ni_recv()
581 LASSERT(msg->msg_wanted == mlen); in lnet_ni_recv()
585 if (mlen != 0) { in lnet_ni_recv()
596 niov, iov, kiov, offset, mlen, rlen); in lnet_ni_recv()
/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.c48 u32 mlen; in netlink_rcv_cb() local
72 mlen = ND_NLMSG_R_LEN(nlh); in netlink_rcv_cb()
76 rcv_cb(dev, nlh->nlmsg_type, msg, mlen); in netlink_rcv_cb()
/drivers/staging/gdm72xx/
Dnetlink_k.c51 u32 mlen; in netlink_rcv_cb() local
67 mlen = ND_NLMSG_R_LEN(nlh); in netlink_rcv_cb()
72 rcv_cb(dev, nlh->nlmsg_type, msg, mlen); in netlink_rcv_cb()
/drivers/w1/
Dw1_netlink.c465 u16 mlen = node->msg->len; in w1_process_cb() local
477 while (mlen && !err) { in w1_process_cb()
478 if (cmd->len + sizeof(struct w1_netlink_cmd) > mlen) { in w1_process_cb()
494 mlen -= len; in w1_process_cb()
521 u16 mlen = msg->len; in w1_list_count_cmds() local
524 while (mlen) { in w1_list_count_cmds()
525 if (cmd->len + sizeof(struct w1_netlink_cmd) > mlen) in w1_list_count_cmds()
537 mlen -= len; in w1_list_count_cmds()
/drivers/isdn/mISDN/
Dl1oip_core.c468 int m, mlen; in l1oip_socket_parse() local
570 mlen = *buf++; in l1oip_socket_parse()
572 if (mlen == 0) in l1oip_socket_parse()
573 mlen = 256; in l1oip_socket_parse()
574 if (len < mlen + 3) { in l1oip_socket_parse()
577 __func__, mlen, len_start-len - 1, len_start); in l1oip_socket_parse()
580 if (len == mlen + 3) { in l1oip_socket_parse()
584 __func__, mlen, len_start-len + 1); in l1oip_socket_parse()
588 mlen = len - 2; /* single frame, subtract timebase */ in l1oip_socket_parse()
613 l1oip_socket_recv(hc, remotecodec, channel, timebase, buf, mlen); in l1oip_socket_parse()
[all …]
/drivers/scsi/
Dscsi_devinfo.c405 size_t vmax, mmax, mlen; in scsi_dev_info_list_find() local
455 mlen = strnlen(devinfo->model, sizeof(devinfo->model)); in scsi_dev_info_list_find()
456 if (mmax < mlen || memcmp(devinfo->model, mskip, mlen)) in scsi_dev_info_list_find()
/drivers/net/ethernet/amd/
Dni65.h108 volatile unsigned short mlen; member
Dni65.c844 rmdp->mlen = 0; in ni65_lance_reinit()
1066 printk(KERN_ERR "%s: recv, packet too long: %d\n",dev->name,rmdp->mlen & 0x0fff); in ni65_recv_intr()
1085 else if( (len = (rmdp->mlen & 0x0fff) - 4) >= 60) in ni65_recv_intr()
1130 rmdp->mlen = 0; in ni65_recv_intr()
/drivers/net/wireless/ath/ar5523/
Dar5523.c1527 int mlen = min(len, AR5523_MAX_FWBLOCK_SIZE); in ar5523_load_firmware() local
1529 txblock->remain = cpu_to_be32(len - mlen); in ar5523_load_firmware()
1530 txblock->len = cpu_to_be32(mlen); in ar5523_load_firmware()
1543 memcpy(fwbuf, fw->data + offset, mlen); in ar5523_load_firmware()
1545 fwbuf, mlen, &foolen, in ar5523_load_firmware()
1563 len -= mlen; in ar5523_load_firmware()
1564 offset += mlen; in ar5523_load_firmware()
/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd_cb.c1313 unsigned int offset, unsigned int mlen, unsigned int rlen) in ksocknal_recv() argument
1318 LASSERT(mlen <= rlen); in ksocknal_recv()
1322 conn->ksnc_rx_nob_wanted = mlen; in ksocknal_recv()
1325 if (mlen == 0 || iov != NULL) { in ksocknal_recv()
1331 niov, iov, offset, mlen); in ksocknal_recv()
1338 niov, kiov, offset, mlen); in ksocknal_recv()
1341 LASSERT(mlen == in ksocknal_recv()
Dsocklnd.h621 unsigned int offset, unsigned int mlen, unsigned int rlen);
/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/staging/lustre/include/linux/lnet/
Dlib-lnet.h456 unsigned int offset, unsigned int mlen);
526 unsigned int offset, unsigned int mlen, unsigned int rlen);
Dlib-types.h219 unsigned int offset, unsigned int mlen,
/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd_cb.c1651 unsigned int offset, unsigned int mlen, unsigned int rlen) in kiblnd_recv() argument
1661 LASSERT(mlen <= rlen); in kiblnd_recv()
1684 mlen); in kiblnd_recv()
1689 mlen); in kiblnd_recv()
1697 if (mlen == 0) { in kiblnd_recv()
1717 niov, iov, offset, mlen); in kiblnd_recv()
1720 niov, kiov, offset, mlen); in kiblnd_recv()
Do2iblnd.h984 unsigned int offset, unsigned int mlen, unsigned int rlen);