/linux-master/net/batman-adv/ |
H A D | multicast_forw.c | 1090 int hdr_size = VLAN_ETH_HLEN + IPV6_MIN_MTU - skb->len; local 1096 if (hdr_size < 0) { 1104 if (skb_headroom(skb) < hdr_size && 1105 pskb_expand_head(skb, hdr_size, 0, GFP_ATOMIC) < 0)
|
H A D | send.c | 228 * @hdr_size: amount of bytes to push at the beginning of the skb 234 batadv_send_skb_push_fill_unicast(struct sk_buff *skb, int hdr_size, argument 240 if (batadv_skb_head_push(skb, hdr_size) < 0)
|
H A D | soft-interface.c | 402 * @hdr_size: size of already parsed batman-adv header 406 * skb->data has still point to the batman-adv header with the size @hdr_size. 408 * @hdr_size bytes are still available for pull in @skb. 416 struct sk_buff *skb, int hdr_size, 429 skb_pull_rcsum(skb, hdr_size); 415 batadv_interface_rx(struct net_device *soft_iface, struct sk_buff *skb, int hdr_size, struct batadv_orig_node *orig_node) argument
|
H A D | bridge_loop_avoidance.c | 1767 * @hdr_size: maximum length of the frame 1773 struct batadv_orig_node *orig_node, int hdr_size) 1782 if (!pskb_may_pull(skb, hdr_size + ETH_HLEN)) 1785 vid = batadv_get_vid(skb, hdr_size); 1772 batadv_bla_is_backbone_gw(struct sk_buff *skb, struct batadv_orig_node *orig_node, int hdr_size) argument
|
/linux-master/include/linux/soc/qcom/ |
H A D | apr.h | 81 uint32_t hdr_size:4; member in struct:gpr_hdr
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | opal-core.c | 302 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/drivers/infiniband/core/ |
H A D | mad_rmpp.c | 430 int hdr_size, data_size, pad; local 436 hdr_size = ib_get_mad_data_offset(rmpp_mad->mad_hdr.mgmt_class); 438 data_size = sizeof(struct opa_rmpp_mad) - hdr_size; 443 data_size = sizeof(struct ib_rmpp_mad) - hdr_size; 449 return hdr_size + rmpp_recv->seg_num * data_size - pad;
|
/linux-master/arch/powerpc/kernel/ |
H A D | nvram_64.c | 502 size_t length, hdr_size; local 507 hdr_size = sizeof(u16); 512 hdr_size = sizeof(*oops_hdr); 517 record->buf = kmemdup(buff + hdr_size, length, GFP_KERNEL);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | dynptr_fail.c | 1287 __u32 hdr_size = sizeof(struct ethhdr); variable 1300 hdr = bpf_dynptr_slice(&ptr, 0, buffer, hdr_size); 1318 if (hdr_size <= sizeof(buffer)) { 1320 hdr = bpf_dynptr_slice_rdwr(&ptr, 0, buffer, hdr_size);
|
/linux-master/drivers/net/ |
H A D | amt.c | 2249 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/wireless/intel/iwlwifi/fw/ |
H A D | acpi.c | 698 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/scsi/qla4xxx/ |
H A D | ql4_83xx.c | 810 tmplt_hdr_size = ha->reset_tmplt.hdr->hdr_size/sizeof(uint32_t); 818 addr = QLA83XX_RESET_TEMPLATE_ADDR + ha->reset_tmplt.hdr->hdr_size; 819 p_buff = ha->reset_tmplt.buff + ha->reset_tmplt.hdr->hdr_size; 821 ha->reset_tmplt.hdr->hdr_size) / sizeof(uint32_t); 852 ha->reset_tmplt.hdr->hdr_size;
|
H A D | ql4_83xx.h | 166 __le16 hdr_size; member in struct:qla4_83xx_reset_template_hdr
|
/linux-master/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-drv.c | 506 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/s390/crypto/ |
H A D | zcrypt_ep11misc.c | 938 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/net/mpls/ |
H A D | af_mpls.c | 2369 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/fs/smb/client/ |
H A D | smb2misc.c | 141 int hdr_size = sizeof(struct smb2_hdr); local 192 if ((len >= hdr_size)
|
/linux-master/drivers/infiniband/hw/erdma/ |
H A D | erdma_cm.c | 379 int hdr_size, int *rcvd_out) 385 if (hdr_rcvd < hdr_size) { 386 rcvd = ksock_recv(s, hdr + hdr_rcvd, hdr_size - hdr_rcvd, 397 if (hdr_rcvd < hdr_size) 378 __recv_mpa_hdr(struct erdma_cep *cep, int hdr_rcvd, char *hdr, int hdr_size, int *rcvd_out) argument
|
/linux-master/drivers/net/thunderbolt/ |
H A D | main.c | 811 unsigned int hdr_size = sizeof(*hdr); local 866 skb_reserve(skb, hdr_size); 872 page, hdr_size, frame_size, 873 TBNET_RX_PAGE_SIZE - hdr_size);
|
/linux-master/scripts/dtc/ |
H A D | flattree.c | 20 int hdr_size; member in struct:version_info 330 reserve_off = ALIGN(vi->hdr_size, 8); 405 blob = data_append_data(blob, &fdt, vi->hdr_size);
|
/linux-master/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_83xx_init.c | 52 u16 hdr_size; member in struct:qlc_83xx_reset_hdr 62 u16 hdr_size; 1716 addr = QLC_83XX_RESET_TEMPLATE_ADDR + ahw->reset.hdr->hdr_size; 1717 p_buff = ahw->reset.buff + ahw->reset.hdr->hdr_size; 1718 count = (ahw->reset.hdr->size - ahw->reset.hdr->hdr_size) / sizeof(u32); 1732 ahw->reset.stop_offset = ahw->reset.buff + ahw->reset.hdr->hdr_size;
|
H A D | qlcnic_sriov_common.c | 909 u8 i, max = 2, hdr_size, j; local 911 hdr_size = (sizeof(struct qlcnic_bc_hdr) / sizeof(u32)); 912 max = (size / sizeof(u32)) + hdr_size; 914 for (i = 2, j = 0; j < hdr_size; i++, j++)
|
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_nx2.h | 223 uint16_t hdr_size; member in struct:qla8044_reset_template_hdr
|
/linux-master/drivers/target/iscsi/cxgbit/ |
H A D | cxgbit_target.c | 166 u32 hdr_size = sizeof(*req); local 175 hdr_size += sizeof(struct cpl_tx_data_iso); 182 req = __skb_push(skb, hdr_size);
|
/linux-master/include/scsi/ |
H A D | iscsi_if.h | 131 uint32_t hdr_size; member in struct:iscsi_uevent::__anon1666::msg_send_pdu
|