/drivers/scsi/libfc/ |
H A D | fc_frame.c | 74 struct fc_frame *fc_frame_alloc_fill(struct fc_lport *lp, size_t payload_len) argument 79 fill = payload_len % 4; 82 fp = _fc_frame_alloc(payload_len + fill); 84 memset((char *) fr_hdr(fp) + payload_len, 0, fill); 87 payload_len + sizeof(struct fc_frame_header));
|
/drivers/net/wireless/rt2x00/ |
H A D | rt2x00crypto.c | 159 unsigned int payload_len = rxdesc->size - header_length; local 234 payload_len); 242 transfer += payload_len;
|
/drivers/misc/ti-st/ |
H A D | st_core.c | 242 unsigned short payload_len = 0; local 293 payload_len = *(unsigned char *)plen; 295 payload_len = 302 payload_len); 304 proto->offset_len_in_hdr, payload_len);
|
/drivers/net/wireless/ti/wl1251/ |
H A D | tx.c | 117 u16 payload_len, frag_threshold, mem_blocks; local 123 payload_len = le16_to_cpu(tx_hdr->length) + MAX_MSDU_SECURITY_LENGTH; 125 if (payload_len > frag_threshold) { 129 num_mpdus = payload_len / frag_threshold; 131 payload_len -= num_mpdus * frag_threshold; 140 mem_blocks += (payload_len / HW_BLOCK_SIZE) + 1;
|
/drivers/net/wireless/ath/ath10k/ |
H A D | htc.c | 327 u16 payload_len; local 357 payload_len = __le16_to_cpu(hdr->len); 359 if (payload_len + sizeof(*hdr) > ATH10K_HTC_MAX_LEN) { 361 payload_len + sizeof(*hdr)); 368 if (skb->len < payload_len) { 371 skb->len, payload_len); 387 (trailer_len > payload_len)) { 396 trailer += payload_len; 406 if (((int)payload_len - (int)trailer_len) <= 0)
|
/drivers/net/wireless/p54/ |
H A D | fwio.c | 191 u16 payload_len, u16 type, gfp_t memflags) 195 size_t frame_len = sizeof(*hdr) + payload_len; 210 hdr->len = cpu_to_le16(payload_len); 190 p54_alloc_skb(struct p54_common *priv, u16 hdr_flags, u16 payload_len, u16 type, gfp_t memflags) argument
|
H A D | eeprom.c | 707 size_t payload_len, entries, entry_size, offset; local 709 payload_len = le16_to_cpu(src->len); 713 if (((entries * entry_size + offset) != payload_len) || 714 (payload_len + sizeof(*src) != total_len)) 717 dst = kmalloc(sizeof(*dst) + payload_len, GFP_KERNEL); 724 dst->len = payload_len; 726 memcpy(dst->data, src->data, payload_len);
|
/drivers/staging/vt6655/ |
H A D | rxtx.h | 48 __be16 payload_len; member in struct:vnt_mic_hdr
|
/drivers/net/ethernet/sfc/ |
H A D | mcdi_port.c | 744 unsigned int payload_len; local 770 payload_len = MCDI_DWORD(outbuf, 772 if (payload_len != SFP_PAGE_SIZE) 776 payload_len -= page_off; 777 to_copy = (space_remaining < payload_len) ? 778 space_remaining : payload_len;
|
/drivers/net/ppp/ |
H A D | pptp.c | 87 __be16 payload_len; member in struct:pptp_gre_header 254 hdr->payload_len = htons(len); 299 int headersize, payload_len, seq; local 337 payload_len = ntohs(header->payload_len); 341 if (!pskb_may_pull(skb, headersize + payload_len))
|
/drivers/net/wireless/ath/ath9k/ |
H A D | htc_hst.h | 62 __be16 payload_len; member in struct:htc_frame_hdr
|
/drivers/staging/vt6656/ |
H A D | rxtx.c | 708 u16 payload_len, struct vnt_mic_hdr *mic_hdr) 715 payload_len -= ieee80211_get_hdrlen_from_skb(skb); 716 payload_len -= tx_key->icv_len; 741 mic_hdr->payload_len = cpu_to_be16(payload_len); 706 vnt_fill_txkey(struct vnt_usb_send_context *tx_context, u8 *key_buffer, struct ieee80211_key_conf *tx_key, struct sk_buff *skb, u16 payload_len, struct vnt_mic_hdr *mic_hdr) argument
|
H A D | rxtx.h | 45 __be16 payload_len; member in struct:vnt_mic_hdr
|
/drivers/media/usb/gspca/ |
H A D | ov534.c | 1399 int payload_len; local 1401 payload_len = gspca_dev->cam.bulk ? 2048 : 2040; 1403 len = min(remaining_len, payload_len);
|
H A D | ov534_9.c | 1645 int payload_len; local 1647 payload_len = gspca_dev->cam.bulk ? 2048 : 2040; 1649 len = min(remaining_len, payload_len);
|
/drivers/net/usb/ |
H A D | sierra_net.c | 245 struct param payload_len; member in struct:hip_hdr 259 curp = save16bit(&hh->payload_len, curp); 271 hh->payload_len.word &= 0x3FFF; /* 14 bits */ 278 hh->payload_len.word &= 0x07FF; /* 11 bits */ 284 hh->payload_len.word--; 288 if (buflen < (hh->hdrlen + hh->payload_len.word)) 407 hh->payload_len.word); 495 if (len != hh.hdrlen + hh.payload_len.word) { 498 hh.hdrlen + hh.payload_len.word); 841 if (hh.payload_len [all...] |
/drivers/net/wireless/ |
H A D | adm8211.c | 1564 static void adm8211_calc_durations(int *dur, int *plcp, size_t payload_len, int len, argument 1583 *dur = (80 * (24 + payload_len) + plcp_signal - 1) 1669 size_t payload_len, hdrlen; local 1685 payload_len = skb->len; 1691 txhdr->frame_body_size = cpu_to_le16(payload_len); 1694 len = hdrlen + payload_len + FCS_LEN; 1697 adm8211_calc_durations(&dur, &plcp, payload_len,
|
/drivers/net/wireless/ath/ath6kl/ |
H A D | htc_pipe.c | 208 u16 payload_len; local 228 payload_len = packet->act_len; 242 put_unaligned((u16) payload_len, &htc_hdr->payld_len); 961 u16 payload_len; local 994 payload_len = le16_to_cpu(get_unaligned(&htc_hdr->payld_len)); 996 if (netlen < (payload_len + HTC_HDR_LENGTH)) { 999 netlen, payload_len + HTC_HDR_LENGTH); 1010 (hdr_info > payload_len)) { 1013 payload_len, hdr_info); 1021 payload_len [all...] |
H A D | htc_mbox.c | 1810 u16 payload_len; local 1821 payload_len = le16_to_cpu(get_unaligned(&htc_hdr->payld_len)); 1832 packet->act_len = payload_len + HTC_HDR_LENGTH; 1837 payload_len, lk_ahd); 1868 htc_hdr->ctrl[0] > payload_len) { 1870 __func__, payload_len, htc_hdr->ctrl[0]); 1881 + payload_len - htc_hdr->ctrl[0],
|
/drivers/scsi/be2iscsi/ |
H A D | be_cmds.c | 746 void be_wrb_hdr_prepare(struct be_mcc_wrb *wrb, int payload_len, argument 754 wrb->payload_length = payload_len;
|
/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_hwi.c | 558 u32 payload_len; local 572 payload_len = frame_len - sizeof(struct fc_frame_header); 574 fp = fc_frame_alloc(lport, payload_len);
|
/drivers/staging/lustre/lustre/obdclass/ |
H A D | genops.c | 1776 int kuc_len(int payload_len) argument 1778 return sizeof(struct kuc_hdr) + payload_len; 1812 void *kuc_alloc(int payload_len, int transport, int type) argument 1815 int len = kuc_len(payload_len); 1831 inline void kuc_free(void *p, int payload_len) argument 1834 OBD_FREE(lh, kuc_len(payload_len));
|
/drivers/media/radio/wl128x/ |
H A D | fmdrv_common.c | 391 int payload_len, struct completion *wait_completion) 407 FM_CMD_MSG_HDR_SIZE + ((payload == NULL) ? 0 : payload_len); 409 size = payload_len; 427 hdr->len = ((payload == NULL) ? 0 : payload_len) + 3; 434 hdr->dlen = payload_len; 449 memcpy(skb_put(skb, payload_len), payload, payload_len); local 460 unsigned int payload_len, void *response, int *response_len) 468 ret = fm_send_cmd(fmdev, fm_op, type, payload, payload_len, 390 fm_send_cmd(struct fmdev *fmdev, u8 fm_op, u16 type, void *payload, int payload_len, struct completion *wait_completion) argument 459 fmc_send_cmd(struct fmdev *fmdev, u8 fm_op, u16 type, void *payload, unsigned int payload_len, void *response, int *response_len) argument
|
/drivers/nfc/ |
H A D | port100.c | 742 int payload_len = skb->len; local 748 port100_tx_update_payload_len(skb->data, payload_len);
|
/drivers/scsi/bfa/ |
H A D | bfad_bsg.c | 158 unsigned int payload_len) 165 if (bfad_chk_iocmd_sz(payload_len, 327 unsigned int payload_len) 334 if (bfad_chk_iocmd_sz(payload_len, 560 unsigned int payload_len) 571 if (bfad_chk_iocmd_sz(payload_len, 877 unsigned int payload_len) 891 if (bfad_chk_iocmd_sz(payload_len, 1384 bfad_iocmd_cee_attr(struct bfad_s *bfad, void *cmd, unsigned int payload_len) argument 1392 if (bfad_chk_iocmd_sz(payload_len, 157 bfad_iocmd_ioc_get_fwstats(struct bfad_s *bfad, void *cmd, unsigned int payload_len) argument 326 bfad_iocmd_port_get_stats(struct bfad_s *bfad, void *cmd, unsigned int payload_len) argument 559 bfad_iocmd_lport_get_rports(struct bfad_s *bfad, void *cmd, unsigned int payload_len) argument 876 bfad_iocmd_fabric_get_lports(struct bfad_s *bfad, void *cmd, unsigned int payload_len) argument 1420 bfad_iocmd_cee_get_stats(struct bfad_s *bfad, void *cmd, unsigned int payload_len) argument 1555 bfad_iocmd_flash_update_part(struct bfad_s *bfad, void *cmd, unsigned int payload_len) argument 1587 bfad_iocmd_flash_read_part(struct bfad_s *bfad, void *cmd, unsigned int payload_len) argument 1922 bfad_iocmd_phy_read(struct bfad_s *bfad, void *cmd, unsigned int payload_len) argument 1973 bfad_iocmd_phy_update(struct bfad_s *bfad, void *cmd, unsigned int payload_len) argument 2023 bfad_iocmd_debug_fw_core(struct bfad_s *bfad, void *cmd, unsigned int payload_len) argument 2757 bfad_iocmd_handler(struct bfad_s *bfad, unsigned int cmd, void *iocmd, unsigned int payload_len) argument 3253 bfad_fcxp_map_sg(struct bfad_s *bfad, void *payload_kbuf, uint32_t payload_len, uint32_t *num_sgles) argument [all...] |