/linux-3.4.99/fs/dlm/ |
D | midcomms.c | 69 uint16_t msglen; in dlm_process_incoming_buffer() local 81 msglen = le16_to_cpu(p->header.h_length); in dlm_process_incoming_buffer() 85 if (msglen < sizeof(struct dlm_header)) in dlm_process_incoming_buffer() 88 if (msglen < sizeof(struct dlm_message)) in dlm_process_incoming_buffer() 91 if (msglen < sizeof(struct dlm_rcom)) in dlm_process_incoming_buffer() 95 if (msglen > dlm_config.ci_buffer_size) { in dlm_process_incoming_buffer() 97 msglen, nodeid, len); in dlm_process_incoming_buffer() 107 if (msglen > len) in dlm_process_incoming_buffer() 114 if (msglen > sizeof(__tmp) && p == &__tmp.p) { in dlm_process_incoming_buffer() 120 copy_from_cb(p, base, offset, msglen, limit); in dlm_process_incoming_buffer() [all …]
|
/linux-3.4.99/drivers/staging/wlan-ng/ |
D | p80211metastruct.h | 52 u32 msglen; member 60 u32 msglen; member 68 u32 msglen; member 88 u32 msglen; member 137 u32 msglen; member 175 u32 msglen; member 183 u32 msglen; member 197 u32 msglen; member 206 u32 msglen; member 218 u32 msglen; member [all …]
|
D | p80211msg.h | 55 u32 msglen; member
|
D | prism2fw.c | 284 getmsg.msglen = sizeof(getmsg); in prism2_fwapply() 772 msg.msglen = sizeof(msg); in read_cardpda() 998 rstatemsg.msglen = sizeof(rstatemsg); in writeimage() 1012 rwritemsg.msglen = sizeof(rwritemsg); in writeimage()
|
/linux-3.4.99/Documentation/spi/ |
D | spidev_fdx.c | 109 int msglen = 0; in main() local 116 msglen = atoi(optarg); in main() 117 if (msglen < 0) in main() 150 if (msglen) in main() 151 do_msg(fd, msglen); in main()
|
/linux-3.4.99/arch/tile/kernel/ |
D | messaging.c | 74 if (rmi.msglen == 0) in hv_message_intr() 77 if (rmi.msglen < 0) in hv_message_intr() 78 panic("hv_receive_message failed: %d", rmi.msglen); in hv_message_intr() 86 BUG_ON(rmi.msglen != sizeof(int)); in hv_message_intr()
|
/linux-3.4.99/lib/ |
D | digsig.c | 34 unsigned long msglen, in pkcs_1_v1_5_decode_emsa() argument 44 if ((msglen > modulus_len) || (modulus_len < 11)) in pkcs_1_v1_5_decode_emsa() 63 if (*outlen < (msglen - (2 + ps_len + 1))) { in pkcs_1_v1_5_decode_emsa() 64 *outlen = msglen - (2 + ps_len + 1); in pkcs_1_v1_5_decode_emsa() 68 *outlen = (msglen - (2 + ps_len + 1)); in pkcs_1_v1_5_decode_emsa()
|
/linux-3.4.99/include/scsi/ |
D | scsi_netlink.h | 47 uint16_t msglen; member 119 (hdr)->msglen = mlen; \
|
/linux-3.4.99/drivers/staging/ft1000/ft1000-usb/ |
D | ft1000_debug.c | 668 int msglen; in ft1000_ioctl() local 701 msglen = ntohs(*(u16 *)pdpram_blk->pbuffer) + PSEUDOSZ; in ft1000_ioctl() 702 result = get_user(msglen, &pioctl_dpram->total_len); in ft1000_ioctl() 705 msglen = htons(msglen); in ft1000_ioctl() 707 if(copy_to_user (&pioctl_dpram->pseudohdr, pdpram_blk->pbuffer, msglen)) in ft1000_ioctl() 715 result = msglen; in ft1000_ioctl()
|
/linux-3.4.99/arch/powerpc/kernel/ |
D | rtas_flash.c | 381 int msglen; in manage_flash_read() local 387 msglen = sprintf(msg, "%d\n", args_buf->status); in manage_flash_read() 389 return simple_read_from_buffer(buf, count, ppos, msg, msglen); in manage_flash_read() 469 int msglen; in validate_flash_read() local 473 msglen = get_validate_flash_msg(args_buf, msg); in validate_flash_read() 475 return simple_read_from_buffer(buf, count, ppos, msg, msglen); in validate_flash_read()
|
/linux-3.4.99/drivers/scsi/ |
D | scsi_netlink.c | 120 if (nlh->nlmsg_len < (sizeof(*nlh) + hdr->msglen)) { in scsi_nl_rcv_msg() 566 len = NLMSG_SPACE(hdr->msglen); in scsi_nl_send_transport_msg() 583 memcpy(datab, hdr, hdr->msglen); in scsi_nl_send_transport_msg() 600 __func__, pid, hdr->transport, hdr->msgtype, hdr->msglen, in scsi_nl_send_transport_msg()
|
D | ncr53c8xx.c | 4063 int msglen = 0; in ncr_prepare_nego() local 4087 msglen += spi_populate_sync_msg(msgptr + msglen, in ncr_prepare_nego() 4091 msglen += spi_populate_width_msg(msgptr + msglen, tp->usrwide); in ncr_prepare_nego() 4105 return msglen; in ncr_prepare_nego() 4128 u32 msglen; in ncr_queue_command() local 4199 msglen = 0; in ncr_queue_command() 4200 msgptr[msglen++] = idmsg; in ncr_queue_command() 4235 msgptr[msglen++] = order; in ncr_queue_command() 4241 msgptr[msglen++] = (cp->tag << 1) + 1; in ncr_queue_command() 4276 msglen += ncr_prepare_nego (np, cp, msgptr + msglen); in ncr_queue_command() [all …]
|
/linux-3.4.99/drivers/scsi/arm/ |
D | fas216.c | 1052 static void fas216_parse_message(FAS216_Info *info, unsigned char *message, int msglen) in fas216_parse_message() argument 1058 if (msglen != 1) in fas216_parse_message() 1067 if (msglen != 1) in fas216_parse_message() 1086 if (msglen != 1) in fas216_parse_message() 1099 if (msglen != 1) in fas216_parse_message() 1106 if (msglen != 1) in fas216_parse_message() 1124 if (msglen < 3) in fas216_parse_message() 1145 for (i = 0; i < msglen; i++) in fas216_parse_message() 1229 unsigned int msglen = 1; in fas216_message() local 1242 for (msglen = 2; msglen < message[1] + 2; msglen++) { in fas216_message() [all …]
|
D | acornscsi.c | 1456 unsigned int msgidx = 0, msglen = 1; in acornscsi_message() local 1465 msglen = 2; in acornscsi_message() 1470 msglen += message[msgidx]; in acornscsi_message() 1474 if (msgidx < msglen) { in acornscsi_message() 1481 } while (msgidx < msglen); in acornscsi_message()
|
/linux-3.4.99/net/netfilter/ |
D | nf_conntrack_sip.c | 1418 unsigned int msglen, origlen; in sip_help_tcp() local 1469 msglen = origlen = end - dptr; in sip_help_tcp() 1470 if (msglen > datalen) in sip_help_tcp() 1473 ret = process_sip_msg(skb, ct, dataoff, &dptr, &msglen); in sip_help_tcp() 1476 diff = msglen - origlen; in sip_help_tcp() 1479 dataoff += msglen; in sip_help_tcp() 1480 dptr += msglen; in sip_help_tcp() 1481 datalen = datalen + diff - msglen; in sip_help_tcp()
|
/linux-3.4.99/drivers/scsi/sym53c8xx_2/ |
D | sym_hipd.c | 1424 int msglen = 0; local 1447 msglen += spi_populate_sync_msg(msgptr + msglen, goal->period, 1451 msglen += spi_populate_width_msg(msgptr + msglen, goal->width); 1454 msglen += spi_populate_ppr_msg(msgptr + msglen, goal->period, 1474 return msglen; 3048 int msglen; local 3109 msglen = 1; 3122 msglen += sym_prepare_nego(np, cp, &cp->scsi_smsg2[msglen]); 3127 cp->phys.smsg.size = cpu_to_scr(msglen); 5146 u_int msglen; local [all …]
|
/linux-3.4.99/kernel/ |
D | audit.c | 820 size_t msglen = nlmsg_len(nlh); in audit_receive_msg() local 824 if (msglen < 2 * sizeof(u32)) in audit_receive_msg() 828 msglen -= 2 * sizeof(u32); in audit_receive_msg() 829 old = audit_unpack_string(&bufp, &msglen, sizes[0]); in audit_receive_msg() 834 new = audit_unpack_string(&bufp, &msglen, sizes[1]); in audit_receive_msg()
|
/linux-3.4.99/drivers/isdn/gigaset/ |
D | capi.c | 1995 u16 msglen = CAPIMSG_LEN(skb->data); in do_data_b3_req() local 2012 if (msglen != CAPI_DATA_B3_REQ_LEN && msglen != CAPI_DATA_B3_REQ_LEN64) in do_data_b3_req() 2014 "DATA_B3_REQ", msglen); in do_data_b3_req() 2015 if (msglen + datalen != skb->len) in do_data_b3_req() 2017 "DATA_B3_REQ", msglen, datalen, skb->len); in do_data_b3_req() 2018 if (msglen + datalen > skb->len) { in do_data_b3_req() 2038 skb->mac_len = msglen; in do_data_b3_req() 2039 skb_pull(skb, msglen); in do_data_b3_req()
|
/linux-3.4.99/drivers/isdn/capi/ |
D | capidrv.c | 1850 int msglen; in if_sendbuf() local 1900 msglen = CAPIMSG_LEN(sendcmsg.buf); in if_sendbuf() 1901 if (skb_headroom(skb) < msglen) { in if_sendbuf() 1902 struct sk_buff *nskb = skb_realloc_headroom(skb, msglen); in if_sendbuf() 1910 card->contrnr, skb_headroom(skb), msglen); in if_sendbuf() 1911 memcpy(skb_push(nskb, msglen), sendcmsg.buf, msglen); in if_sendbuf() 1925 memcpy(skb_push(skb, msglen), sendcmsg.buf, msglen); in if_sendbuf() 1934 skb_pull(skb, msglen); in if_sendbuf()
|
/linux-3.4.99/crypto/ |
D | ccm.c | 58 static int set_msg_len(u8 *block, unsigned int msglen, int csize) in set_msg_len() argument 67 else if (msglen > (1 << (8 * csize))) in set_msg_len() 70 data = cpu_to_be32(msglen); in set_msg_len()
|
/linux-3.4.99/Documentation/networking/ |
D | phonet.txt | 106 sendto(fd, msg, msglen, 0, (struct sockaddr *)&addr, sizeof(addr)); 154 write(cfd, msg, msglen);
|
/linux-3.4.99/net/netlink/ |
D | af_netlink.c | 1856 int msglen; in netlink_rcv_skb() local 1881 msglen = NLMSG_ALIGN(nlh->nlmsg_len); in netlink_rcv_skb() 1882 if (msglen > skb->len) in netlink_rcv_skb() 1883 msglen = skb->len; in netlink_rcv_skb() 1884 skb_pull(skb, msglen); in netlink_rcv_skb()
|
/linux-3.4.99/drivers/net/wireless/brcm80211/brcmfmac/ |
D | dhd_sdio.c | 2895 brcmf_sdbrcm_bus_txctl(struct device *dev, unsigned char *msg, uint msglen) in brcmf_sdbrcm_bus_txctl() argument 2911 len = (msglen += SDPCM_HDRLEN); in brcmf_sdbrcm_bus_txctl() 2918 msglen += doff; in brcmf_sdbrcm_bus_txctl() 2948 *(__le16 *) frame = cpu_to_le16((u16) msglen); in brcmf_sdbrcm_bus_txctl() 2949 *(((__le16 *) frame) + 1) = cpu_to_le16(~msglen); in brcmf_sdbrcm_bus_txctl() 3007 brcmf_sdbrcm_bus_rxctl(struct device *dev, unsigned char *msg, uint msglen) in brcmf_sdbrcm_bus_rxctl() argument 3023 memcpy(msg, bus->rxctl, min(msglen, rxlen)); in brcmf_sdbrcm_bus_rxctl() 3029 rxlen, msglen); in brcmf_sdbrcm_bus_rxctl()
|
/linux-3.4.99/net/bluetooth/ |
D | mgmt.c | 2653 int mgmt_control(struct sock *sk, struct msghdr *msg, size_t msglen) in mgmt_control() argument 2663 BT_DBG("got %zu bytes", msglen); in mgmt_control() 2665 if (msglen < sizeof(*hdr)) in mgmt_control() 2668 buf = kmalloc(msglen, GFP_KERNEL); in mgmt_control() 2672 if (memcpy_fromiovec(buf, msg->msg_iov, msglen)) { in mgmt_control() 2682 if (len != msglen - sizeof(*hdr)) { in mgmt_control() 2729 err = msglen; in mgmt_control()
|
/linux-3.4.99/arch/tile/include/hv/ |
D | hypervisor.h | 1396 int msglen; /**< Message length in bytes, or an error code */ member
|