Searched refs:hdr_size (Results 1 - 25 of 73) sorted by last modified time

123

/linux-master/net/bluetooth/
H A Dl2cap_core.c5556 int hdr_size; local
5559 hdr_size = L2CAP_EXT_HDR_SIZE;
5561 hdr_size = L2CAP_ENH_HDR_SIZE;
5566 our_fcs = crc16(0, skb->data - hdr_size, skb->len + hdr_size);
/linux-master/drivers/s390/crypto/
H A Dzcrypt_ep11misc.c938 size_t hdr_size, pl_size; local
951 &hdr, &hdr_size, &pl, &pl_size);
960 *keybufsize = hdr_size + pl_size;
1263 size_t hdr_size, pl_size; local
1268 &hdr, &hdr_size, &pl, &pl_size);
1278 *keybufsize = hdr_size + pl_size;
/linux-master/drivers/bluetooth/
H A Dbtusb.c3712 size_t hdr_size)
3726 size = min_t(size_t, count, hdr_size);
3710 btusb_setup_qca_download_fw(struct hci_dev *hdev, const struct firmware *firmware, size_t hdr_size) argument
/linux-master/fs/smb/client/
H A Dsmb2misc.c141 int hdr_size = sizeof(struct smb2_hdr); local
192 if ((len >= hdr_size)
/linux-master/net/batman-adv/
H A Dtranslation-table.c562 int hdr_size; local
572 hdr_size = sizeof(struct batadv_unicast_tvlv_packet);
573 hdr_size += sizeof(struct batadv_tvlv_hdr);
574 hdr_size += sizeof(struct batadv_tvlv_tt_data);
575 hdr_size += num_vlan * sizeof(struct batadv_tvlv_tt_vlan_data);
577 return hdr_size + batadv_tt_len(tt_local_entries);
H A Ddistributed-arp-table.c227 * @hdr_size: size of the possible header before the ARP packet
231 static u8 *batadv_arp_hw_src(struct sk_buff *skb, int hdr_size) argument
235 addr = (u8 *)(skb->data + hdr_size);
244 * @hdr_size: size of the possible header before the ARP packet
248 static __be32 batadv_arp_ip_src(struct sk_buff *skb, int hdr_size) argument
250 return *(__force __be32 *)(batadv_arp_hw_src(skb, hdr_size) + ETH_ALEN);
256 * @hdr_size: size of the possible header before the ARP packet
260 static u8 *batadv_arp_hw_dst(struct sk_buff *skb, int hdr_size) argument
262 return batadv_arp_hw_src(skb, hdr_size) + ETH_ALEN + 4;
268 * @hdr_size
272 batadv_arp_ip_dst(struct sk_buff *skb, int hdr_size) argument
423 batadv_dbg_arp(struct batadv_priv *bat_priv, struct sk_buff *skb, int hdr_size, char *msg) argument
490 batadv_dbg_arp(struct batadv_priv *bat_priv, struct sk_buff *skb, int hdr_size, char *msg) argument
999 batadv_arp_get_type(struct batadv_priv *bat_priv, struct sk_buff *skb, int hdr_size) argument
1074 batadv_dat_get_vid(struct sk_buff *skb, int *hdr_size) argument
1146 int hdr_size = 0; local
1232 batadv_dat_snoop_incoming_arp_request(struct batadv_priv *bat_priv, struct sk_buff *skb, int hdr_size) argument
1303 int hdr_size = 0; local
1344 batadv_dat_snoop_incoming_arp_reply(struct batadv_priv *bat_priv, struct sk_buff *skb, int hdr_size) argument
1744 batadv_dat_snoop_incoming_dhcp_ack(struct batadv_priv *bat_priv, struct sk_buff *skb, int hdr_size) argument
1796 int hdr_size = sizeof(struct batadv_bcast_packet); local
[all...]
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c727 if (info->hdr_size > ((2 * 1024) - 64)) {
731 rx_ctx.hbuff = info->hdr_size >> I40E_RXQ_CTX_HBUFF_SHIFT;
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_sli4.h547 uint32_t hdr_size; member in struct:lpfc_pc_sli4_params
/linux-master/drivers/thunderbolt/
H A Dnvm.c59 u32 val, nvm_size, hdr_size; local
74 hdr_size = sw->generation < 3 ? SZ_8K : SZ_16K;
76 nvm_size = (nvm_size - hdr_size) / 2;
92 unsigned int image_size, hdr_size; local
102 hdr_size = (*(u32 *)buf) & 0xffffff;
103 if (hdr_size + INTEL_NVM_DEVID + 2 >= image_size)
107 if (!IS_ALIGNED(hdr_size, SZ_4K))
114 ds_size = *(u16 *)(buf + hdr_size);
125 device_id = *(u16 *)(buf + hdr_size + INTEL_NVM_DEVID);
130 nvm->buf_data_start = buf + hdr_size;
226 unsigned int image_size, hdr_size; local
[all...]
/linux-master/drivers/vhost/
H A Dnet.c608 size_t hdr_size, int out)
614 iov_iter_advance(iter, hdr_size);
607 init_iov_iter(struct vhost_virtqueue *vq, struct iov_iter *iter, size_t hdr_size, int out) argument
/linux-master/drivers/scsi/
H A Dscsi_transport_iscsi.c3885 if ((ev->u.send_pdu.hdr_size > pdu_len) ||
3886 (ev->u.send_pdu.data_size > (pdu_len - ev->u.send_pdu.hdr_size))) {
3893 (char *)ev + sizeof(*ev) + ev->u.send_pdu.hdr_size,
/linux-master/fs/xfs/libxfs/
H A Dxfs_attr_remote.c296 int hdr_size = 0; local
310 hdr_size = sizeof(struct xfs_attr3_rmt_hdr);
313 memcpy(*dst, src + hdr_size, byte_cnt);
345 int hdr_size; local
349 hdr_size = xfs_attr3_rmt_hdr_set(mp, dst, ino, *offset,
352 memcpy(dst + hdr_size, *src, byte_cnt);
358 if (byte_cnt + hdr_size < blksize) {
361 memset(dst + hdr_size + byte_cnt, 0,
362 blksize - hdr_size - byte_cnt);
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-core.c302 u32 hdr_size, cpu_notes_size, count; local
313 hdr_size = (sizeof(Elf64_Ehdr) +
322 oc_conf->opalcorebuf_sz = PAGE_ALIGN(hdr_size + cpu_notes_size);
386 phdr->p_offset = cpu_to_be64(hdr_size);
/linux-master/net/mpls/
H A Daf_mpls.c2369 unsigned int hdr_size = 0; local
2431 hdr_size = n_labels * sizeof(struct mpls_shim_hdr);
2442 if (hdr_size) {
2446 if (skb_cow(skb, hdr_size)) {
2451 skb_reserve(skb, hdr_size);
2452 skb_push(skb, hdr_size);
2471 if (hdr_size) {
2472 skb_pull(skb, hdr_size);
/linux-master/include/linux/soc/qcom/
H A Dapr.h81 uint32_t hdr_size:4; member in struct:gpr_hdr
/linux-master/drivers/thermal/intel/
H A Dintel_hfi.c137 * @hdr_size: Size of the table header
144 unsigned int hdr_size; member in struct:hfi_features
350 hfi_instance->data = hfi_instance->hdr + hfi_features.hdr_size;
565 hfi_features.hdr_size = DIV_ROUND_UP(nr_capabilities, 8) * 8;
/linux-master/drivers/soc/qcom/
H A Dapr.c192 uint16_t hdr_size, msg_type, ver, svc_id; local
207 hdr_size = APR_HDR_FIELD_SIZE_BYTES(hdr->hdr_field);
208 if (hdr_size < APR_HDR_SIZE) {
209 dev_err(apr->dev, "APR: Wrong hdr size:%d\n", hdr_size);
248 resp.payload_size = hdr->pkt_size - hdr_size;
251 * NOTE: hdr_size is not same as APR_HDR_SIZE as remote can include
255 resp.payload = buf + hdr_size;
264 uint16_t hdr_size, ver; local
277 hdr_size = hdr->hdr_size;
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/
H A Diwl-drv.c506 u32 api_ver, hdr_size, build; local
515 hdr_size = 28;
516 if (ucode_raw->size < hdr_size) {
534 hdr_size = 24;
535 if (ucode_raw->size < hdr_size) {
568 if (ucode_raw->size != hdr_size +
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/
H A Dacpi.c698 u32 hdr_size = 1 + !!rev_data[idx].min_profiles; local
701 u32 max_size = hdr_size + profile_size * rev_data[idx].profiles;
707 min_size = hdr_size +
739 hdr_size + profile_size * num_profiles) {
/linux-master/drivers/net/wireless/intel/iwlegacy/
H A D4965-mac.c4698 u32 api_ver, hdr_size; local
4709 hdr_size = 24;
4710 if (ucode_raw->size < hdr_size) {
4725 hdr_size + pieces->inst_size + pieces->data_size +
/linux-master/drivers/net/ethernet/wangxun/libwx/
H A Dwx_hw.c298 u32 hdr_size = sizeof(struct wx_hic_hdr); local
364 dword_len = hdr_size >> 2;
377 if (length < buf_len + hdr_size) {
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.c3683 u32 hdr_size = sizeof(struct ixgbe_hic_hdr); local
3707 dword_len = hdr_size >> 2;
3720 if (length < round_up(buf_len, 4) + hdr_size) {
/linux-master/drivers/net/
H A Damt.c2249 int hdr_size; local
2251 hdr_size = sizeof(*amta) + sizeof(struct udphdr);
2252 if (!pskb_may_pull(skb, hdr_size))
2281 int hdr_size, len, err; local
2288 hdr_size = sizeof(*amtmd) + sizeof(struct udphdr);
2289 if (!pskb_may_pull(skb, hdr_size))
2296 if (iptunnel_pull_header(skb, hdr_size, htons(ETH_P_IP), false))
2352 int hdr_size, len; local
2354 hdr_size = sizeof(*amtmq) + sizeof(struct udphdr);
2355 if (!pskb_may_pull(skb, hdr_size))
2452 int len, hdr_size; local
[all...]
/linux-master/drivers/net/arcnet/
H A Drfc1201.c96 int hdr_size = ARC_HDR_SIZE + RFC1201_HDR_SIZE; local
100 skb_pull(skb, hdr_size);
382 int hdr_size = ARC_HDR_SIZE + RFC1201_HDR_SIZE; local
383 struct archdr *pkt = skb_push(skb, hdr_size);
436 return hdr_size;
440 return hdr_size;
H A Drfc1051.c92 int hdr_size = ARC_HDR_SIZE + RFC1051_HDR_SIZE; local
96 skb_pull(skb, hdr_size);
165 int hdr_size = ARC_HDR_SIZE + RFC1051_HDR_SIZE; local
166 struct archdr *pkt = skb_push(skb, hdr_size);
200 return hdr_size;
205 return hdr_size; /* success */

Completed in 434 milliseconds

123