/linux-4.4.14/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-4.4.14/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 | 287 getmsg.msglen = sizeof(getmsg); in prism2_fwapply() 772 msg->msglen = sizeof(msg); in read_cardpda() 1004 rstmsg->msglen = sizeof(*rstmsg); in writeimage() 1017 rwrmsg->msglen = sizeof(*rwrmsg); in writeimage()
|
D | p80211netdev.c | 634 dot11req.msglen = sizeof(struct p80211msg_dot11req_mibset); in p80211knetdev_set_mac_address()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | vendor.c | 40 u16 msglen, maxmsglen = PAGE_SIZE - 0x100; in brcmf_cfg80211_vndr_cmds_dcmd_handler() local 88 msglen = ret_len > maxmsglen ? maxmsglen : ret_len; in brcmf_cfg80211_vndr_cmds_dcmd_handler() 89 ret_len -= msglen; in brcmf_cfg80211_vndr_cmds_dcmd_handler() 90 payload = msglen + sizeof(msglen); in brcmf_cfg80211_vndr_cmds_dcmd_handler() 97 if (nla_put(reply, BRCMF_NLATTR_DATA, msglen, wr_pointer) || in brcmf_cfg80211_vndr_cmds_dcmd_handler() 98 nla_put_u16(reply, BRCMF_NLATTR_LEN, msglen)) { in brcmf_cfg80211_vndr_cmds_dcmd_handler() 108 wr_pointer += msglen; in brcmf_cfg80211_vndr_cmds_dcmd_handler()
|
D | sdio.c | 2938 brcmf_sdio_bus_txctl(struct device *dev, unsigned char *msg, uint msglen) in brcmf_sdio_bus_txctl() argument 2951 bus->ctrl_frame_len = msglen; in brcmf_sdio_bus_txctl() 3229 brcmf_sdio_bus_rxctl(struct device *dev, unsigned char *msg, uint msglen) in brcmf_sdio_bus_rxctl() argument 3248 memcpy(msg, bus->rxctl, min(msglen, rxlen)); in brcmf_sdio_bus_rxctl() 3258 rxlen, msglen); in brcmf_sdio_bus_rxctl()
|
/linux-4.4.14/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-4.4.14/arch/tile/kernel/ |
D | messaging.c | 73 if (rmi.msglen == 0) in hv_message_intr() 76 if (rmi.msglen < 0) in hv_message_intr() 77 panic("hv_receive_message failed: %d", rmi.msglen); in hv_message_intr() 85 BUG_ON(rmi.msglen != sizeof(int)); in hv_message_intr()
|
/linux-4.4.14/net/netfilter/ |
D | nfnetlink.c | 324 int msglen, type; in nfnetlink_rcv_batch() local 419 msglen = NLMSG_ALIGN(nlh->nlmsg_len); in nfnetlink_rcv_batch() 420 if (msglen > skb->len) in nfnetlink_rcv_batch() 421 msglen = skb->len; in nfnetlink_rcv_batch() 422 skb_pull(skb, msglen); in nfnetlink_rcv_batch() 446 int msglen; in nfnetlink_rcv() local 460 msglen = NLMSG_ALIGN(nlh->nlmsg_len); in nfnetlink_rcv() 461 if (msglen > skb->len) in nfnetlink_rcv() 462 msglen = skb->len; in nfnetlink_rcv() 469 skb_pull(skb, msglen); in nfnetlink_rcv()
|
D | nf_conntrack_sip.c | 1488 unsigned int msglen, origlen; in sip_help_tcp() local 1538 msglen = origlen = end - dptr; in sip_help_tcp() 1539 if (msglen > datalen) in sip_help_tcp() 1543 &dptr, &msglen); in sip_help_tcp() 1547 diff = msglen - origlen; in sip_help_tcp() 1550 dataoff += msglen; in sip_help_tcp() 1551 dptr += msglen; in sip_help_tcp() 1552 datalen = datalen + diff - msglen; in sip_help_tcp()
|
/linux-4.4.14/drivers/infiniband/core/ |
D | netlink.c | 196 int msglen; in ibnl_rcv_reply_skb() local 215 msglen = NLMSG_ALIGN(nlh->nlmsg_len); in ibnl_rcv_reply_skb() 216 if (msglen > skb->len) in ibnl_rcv_reply_skb() 217 msglen = skb->len; in ibnl_rcv_reply_skb() 218 skb_pull(skb, msglen); in ibnl_rcv_reply_skb()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.c | 44 u16 msglen) in i40e_vc_vf_broadcast() argument 61 msg, msglen, NULL); in i40e_vc_vf_broadcast() 1079 u32 v_retval, u8 *msg, u16 msglen) in i40e_vc_send_msg_to_vf() argument 1114 msg, msglen, NULL); in i40e_vc_send_msg_to_vf() 1267 u8 *msg, u16 msglen) in i40e_vc_config_promiscuous_mode_msg() argument 1306 static int i40e_vc_config_queues_msg(struct i40e_vf *vf, u8 *msg, u16 msglen) in i40e_vc_config_queues_msg() argument 1363 static int i40e_vc_config_irq_map_msg(struct i40e_vf *vf, u8 *msg, u16 msglen) in i40e_vc_config_irq_map_msg() argument 1425 static int i40e_vc_enable_queues_msg(struct i40e_vf *vf, u8 *msg, u16 msglen) in i40e_vc_enable_queues_msg() argument 1465 static int i40e_vc_disable_queues_msg(struct i40e_vf *vf, u8 *msg, u16 msglen) in i40e_vc_disable_queues_msg() argument 1504 static int i40e_vc_get_stats_msg(struct i40e_vf *vf, u8 *msg, u16 msglen) in i40e_vc_get_stats_msg() argument [all …]
|
D | i40e_virtchnl_pf.h | 115 u32 v_retval, u8 *msg, u16 msglen);
|
D | i40e_prototype.h | 153 u32 v_opcode, u32 v_retval, u8 *msg, u16 msglen, 311 u8 *msg, u16 msglen,
|
D | i40e_common.c | 2492 u32 v_opcode, u32 v_retval, u8 *msg, u16 msglen, in i40e_aq_send_msg_to_vf() argument 2505 if (msglen) { in i40e_aq_send_msg_to_vf() 2508 if (msglen > I40E_AQ_LARGE_BUF) in i40e_aq_send_msg_to_vf() 2510 desc.datalen = cpu_to_le16(msglen); in i40e_aq_send_msg_to_vf() 2512 status = i40e_asq_send_command(hw, &desc, msg, msglen, cmd_details); in i40e_aq_send_msg_to_vf()
|
/linux-4.4.14/include/uapi/scsi/ |
D | scsi_netlink.h | 47 uint16_t msglen; member 119 (hdr)->msglen = mlen; \
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | rtas_flash.c | 395 int msglen, status; in manage_flash_read() local 401 msglen = sprintf(msg, "%d\n", status); in manage_flash_read() 402 return simple_read_from_buffer(buf, count, ppos, msg, msglen); in manage_flash_read() 470 char *msg, int msglen) in get_validate_flash_msg() argument 478 n += snprintf(msg + n, msglen - n, "%s\n", in get_validate_flash_msg() 492 int msglen; in validate_flash_read() local 495 msglen = get_validate_flash_msg(args_buf, msg, VALIDATE_MSG_LEN); in validate_flash_read() 498 return simple_read_from_buffer(buf, count, ppos, msg, msglen); in validate_flash_read()
|
/linux-4.4.14/lib/ |
D | digsig.c | 34 unsigned long msglen, in pkcs_1_v1_5_decode_emsa() argument 43 if ((msglen > modulus_len) || (modulus_len < 11)) in pkcs_1_v1_5_decode_emsa() 62 *outlen = (msglen - (2 + ps_len + 1)); in pkcs_1_v1_5_decode_emsa()
|
/linux-4.4.14/arch/arm64/crypto/ |
D | aes-ce-ccm-glue.c | 68 static int ccm_init_mac(struct aead_request *req, u8 maciv[], u32 msglen) in ccm_init_mac() argument 79 if (l < 4 && msglen >> (8 * l)) in ccm_init_mac() 87 n[1] = cpu_to_be32(msglen); in ccm_init_mac()
|
/linux-4.4.14/drivers/scsi/arm/ |
D | fas216.c | 1051 static void fas216_parse_message(FAS216_Info *info, unsigned char *message, int msglen) in fas216_parse_message() argument 1057 if (msglen != 1) in fas216_parse_message() 1066 if (msglen != 1) in fas216_parse_message() 1085 if (msglen != 1) in fas216_parse_message() 1098 if (msglen != 1) in fas216_parse_message() 1105 if (msglen != 1) in fas216_parse_message() 1123 if (msglen < 3) in fas216_parse_message() 1144 for (i = 0; i < msglen; i++) in fas216_parse_message() 1228 unsigned int msglen = 1; in fas216_message() local 1241 for (msglen = 2; msglen < message[1] + 2; msglen++) { in fas216_message() [all …]
|
D | acornscsi.c | 1447 unsigned int msgidx = 0, msglen = 1; in acornscsi_message() local 1456 msglen = 2; in acornscsi_message() 1461 msglen += message[msgidx]; in acornscsi_message() 1465 if (msgidx < msglen) { in acornscsi_message() 1472 } while (msgidx < msglen); in acornscsi_message()
|
/linux-4.4.14/net/bluetooth/ |
D | hci_sock.c | 1043 struct msghdr *msg, size_t msglen) in hci_mgmt_cmd() argument 1054 BT_DBG("got %zu bytes", msglen); in hci_mgmt_cmd() 1056 if (msglen < sizeof(*hdr)) in hci_mgmt_cmd() 1059 buf = kmalloc(msglen, GFP_KERNEL); in hci_mgmt_cmd() 1063 if (memcpy_from_msg(buf, msg, msglen)) { in hci_mgmt_cmd() 1073 if (len != msglen - sizeof(*hdr)) { in hci_mgmt_cmd() 1143 err = msglen; in hci_mgmt_cmd()
|
/linux-4.4.14/drivers/scsi/ |
D | scsi_netlink.c | 85 if (nlh->nlmsg_len < (sizeof(*nlh) + hdr->msglen)) { in scsi_nl_rcv_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-4.4.14/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-4.4.14/drivers/net/ethernet/intel/i40evf/ |
D | i40e_prototype.h | 95 u8 *msg, u16 msglen,
|
D | i40e_common.c | 923 u8 *msg, u16 msglen, in i40e_aq_send_msg_to_pf() argument 934 if (msglen) { in i40e_aq_send_msg_to_pf() 937 if (msglen > I40E_AQ_LARGE_BUF) in i40e_aq_send_msg_to_pf() 939 desc.datalen = cpu_to_le16(msglen); in i40e_aq_send_msg_to_pf() 946 status = i40evf_asq_send_command(hw, &desc, msg, msglen, cmd_details); in i40e_aq_send_msg_to_pf()
|
D | i40evf.h | 315 i40e_status v_retval, u8 *msg, u16 msglen);
|
D | i40evf_virtchnl.c | 690 u8 *msg, u16 msglen) in i40evf_virtchnl_completion() argument 753 memcpy(adapter->vf_res, msg, min(msglen, len)); in i40evf_virtchnl_completion()
|
/linux-4.4.14/drivers/crypto/nx/ |
D | nx-aes-ccm.c | 116 static int set_msg_len(u8 *block, unsigned int msglen, int csize) in set_msg_len() argument 125 else if (msglen > (unsigned int)(1 << (8 * csize))) in set_msg_len() 128 data = cpu_to_be32(msglen); in set_msg_len()
|
/linux-4.4.14/drivers/isdn/capi/ |
D | capidrv.c | 2056 int msglen; in if_sendbuf() local 2110 msglen = CAPIMSG_LEN(sendcmsg.buf); in if_sendbuf() 2111 if (skb_headroom(skb) < msglen) { in if_sendbuf() 2112 struct sk_buff *nskb = skb_realloc_headroom(skb, msglen); in if_sendbuf() 2120 card->contrnr, skb_headroom(skb), msglen); in if_sendbuf() 2121 memcpy(skb_push(nskb, msglen), sendcmsg.buf, msglen); in if_sendbuf() 2135 memcpy(skb_push(skb, msglen), sendcmsg.buf, msglen); in if_sendbuf() 2144 skb_pull(skb, msglen); in if_sendbuf()
|
/linux-4.4.14/drivers/isdn/gigaset/ |
D | capi.c | 2072 u16 msglen = CAPIMSG_LEN(skb->data); in do_data_b3_req() local 2089 if (msglen != CAPI_DATA_B3_REQ_LEN && msglen != CAPI_DATA_B3_REQ_LEN64) in do_data_b3_req() 2091 "DATA_B3_REQ", msglen); in do_data_b3_req() 2092 if (msglen + datalen != skb->len) in do_data_b3_req() 2094 "DATA_B3_REQ", msglen, datalen, skb->len); in do_data_b3_req() 2095 if (msglen + datalen > skb->len) { in do_data_b3_req() 2115 skb->mac_len = msglen; in do_data_b3_req() 2116 skb_pull(skb, msglen); in do_data_b3_req()
|
/linux-4.4.14/kernel/ |
D | audit.c | 974 size_t msglen = nlmsg_len(nlh); in audit_receive_msg() local 978 if (msglen < 2 * sizeof(u32)) in audit_receive_msg() 982 msglen -= 2 * sizeof(u32); in audit_receive_msg() 983 old = audit_unpack_string(&bufp, &msglen, sizes[0]); in audit_receive_msg() 988 new = audit_unpack_string(&bufp, &msglen, sizes[1]); in audit_receive_msg()
|
/linux-4.4.14/crypto/ |
D | ccm.c | 64 static int set_msg_len(u8 *block, unsigned int msglen, int csize) in set_msg_len() argument 73 else if (msglen > (1 << (8 * csize))) in set_msg_len() 76 data = cpu_to_be32(msglen); in set_msg_len()
|
/linux-4.4.14/arch/x86/crypto/ |
D | sha512-ssse3-asm.S | 60 msglen = %rdx define 280 cmp $0, msglen 352 dec msglen
|
D | sha512-avx-asm.S | 61 msglen = %rdx define 281 cmp $0, msglen 353 dec msglen
|
/linux-4.4.14/Documentation/networking/ |
D | phonet.txt | 106 sendto(fd, msg, msglen, 0, (struct sockaddr *)&addr, sizeof(addr)); 154 write(cfd, msg, msglen);
|
/linux-4.4.14/drivers/net/wireless/ath/ar5523/ |
D | ar5523_hw.h | 163 __be32 msglen; member
|
D | ar5523.c | 842 desc->msglen = cpu_to_be32(skb->len); in ar5523_tx_work_locked()
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
D | sec.c | 1970 int sptlrpc_svc_alloc_rs(struct ptlrpc_request *req, int msglen) in sptlrpc_svc_alloc_rs() argument 1982 rc = policy->sp_sops->alloc_rs(req, msglen); in sptlrpc_svc_alloc_rs() 1987 msglen + sizeof(struct ptlrpc_reply_state)) { in sptlrpc_svc_alloc_rs() 1990 msglen + sizeof(struct ptlrpc_reply_state), in sptlrpc_svc_alloc_rs() 2001 rc = policy->sp_sops->alloc_rs(req, msglen); in sptlrpc_svc_alloc_rs()
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/ |
D | lustre_sec.h | 1047 int sptlrpc_svc_alloc_rs(struct ptlrpc_request *req, int msglen);
|
/linux-4.4.14/net/netlink/ |
D | af_netlink.c | 2999 int msglen; in netlink_rcv_skb() local 3024 msglen = NLMSG_ALIGN(nlh->nlmsg_len); in netlink_rcv_skb() 3025 if (msglen > skb->len) in netlink_rcv_skb() 3026 msglen = skb->len; in netlink_rcv_skb() 3027 skb_pull(skb, msglen); in netlink_rcv_skb()
|
/linux-4.4.14/arch/tile/include/hv/ |
D | hypervisor.h | 1549 int msglen; /**< Message length in bytes, or an error code */ member
|
/linux-4.4.14/drivers/net/wireless/hostap/ |
D | hostap_wlan.h | 39 u32 msgcode, msglen; member
|
D | hostap_80211_rx.c | 138 hdr->msglen = sizeof(*hdr); in prism2_rx_80211()
|