/linux/arch/um/drivers/ |
A D | vector_transports.c | 259 vp->header_size = 4; in build_gre_transport_data() 276 vp->header_size += 4; in build_gre_transport_data() 286 vp->header_size += 4; in build_gre_transport_data() 296 vp->rx_header_size = vp->header_size; in build_gre_transport_data() 322 vp->header_size = 4; in build_l2tpv3_transport_data() 357 vp->header_size += 8; in build_l2tpv3_transport_data() 362 vp->header_size += 4; in build_l2tpv3_transport_data() 374 vp->header_size += 4; in build_l2tpv3_transport_data() 386 vp->header_size += 4; in build_l2tpv3_transport_data() 393 vp->rx_header_size = vp->header_size; in build_l2tpv3_transport_data() [all …]
|
A D | vector_kern.c | 305 if (vp->header_size > 0) { in prep_msg() 526 int header_size, in create_queue() argument 562 if (vp->header_size > 0) in create_queue() 581 if (vp->header_size > 0) { in create_queue() 585 iov->iov_len = header_size; in create_queue() 640 if (vp->header_size > 0) in prep_skb() 856 if (vp->header_size > 0) { in vector_legacy_rx() 881 if (vp->header_size > 0) { in vector_legacy_rx() 994 if (vp->header_size > 0) { in vector_mmsg_rx() 1259 vp->header_size, in vector_net_open() [all …]
|
/linux/crypto/asymmetric_keys/ |
A D | verify_pefile.c | 62 ctx->header_size = pe32->header_size; in pefile_parse_binary() 71 ctx->header_size = pe64->header_size; in pefile_parse_binary() 82 pr_debug("header size = %x\n", ctx->header_size); in pefile_parse_binary() 84 if (cursor >= ctx->header_size || ctx->header_size >= datalen) in pefile_parse_binary() 87 if (ctx->n_data_dirents > (ctx->header_size - cursor) / sizeof(*dde)) in pefile_parse_binary() 102 chkaddr(ctx->header_size, ddir->certs.virtual_address, in pefile_parse_binary() 111 if (ctx->n_sections > (ctx->header_size - cursor) / sizeof(*sec)) in pefile_parse_binary() 262 ret = crypto_shash_update(desc, pebuf + tmp, ctx->header_size - tmp); in pefile_digest_pe_contents() 286 hashed_bytes = ctx->header_size; in pefile_digest_pe_contents()
|
A D | verify_pefile.h | 12 unsigned header_size; member
|
/linux/drivers/net/wireless/rsi/ |
A D | rsi_91x_hal.c | 68 u8 header_size; in rsi_prepare_mgmt_desc() local 88 skb_push(skb, header_size); in rsi_prepare_mgmt_desc() 96 header_size += dword_align_bytes; in rsi_prepare_mgmt_desc() 162 u8 header_size; in rsi_prepare_data_desc() local 176 skb_push(skb, header_size); in rsi_prepare_data_desc() 183 header_size += dword_align_bytes; in rsi_prepare_data_desc() 187 memset(data_desc, 0, header_size); in rsi_prepare_data_desc() 346 u8 header_size; in rsi_send_mgmt_pkt() local 390 u8 header_size = 0; in rsi_send_bt_pkt() local 401 header_size = FRAME_DESC_SZ; in rsi_send_bt_pkt() [all …]
|
/linux/net/batman-adv/ |
A D | fragmentation.c | 410 unsigned int header_size = sizeof(*frag_head); in batadv_frag_create() local 411 unsigned int mtu = fragment_size + header_size; in batadv_frag_create() 420 skb_reserve(skb_fragment, ll_reserved + header_size); in batadv_frag_create() 424 skb_push(skb_fragment, header_size); in batadv_frag_create() 425 memcpy(skb_fragment->data, frag_head, header_size); in batadv_frag_create() 449 unsigned int header_size = sizeof(frag_header); in batadv_frag_send_packet() local 457 max_fragment_size = mtu - header_size; in batadv_frag_send_packet() 530 ret = skb_cow_head(skb, ETH_HLEN + header_size); in batadv_frag_send_packet() 534 skb_push(skb, header_size); in batadv_frag_send_packet() 535 memcpy(skb->data, &frag_header, header_size); in batadv_frag_send_packet()
|
/linux/drivers/hid/intel-ish-hid/ |
A D | ishtp-hid.c | 61 unsigned int header_size = sizeof(struct hostif_msg); in ishtp_raw_request() local 80 ishtp_buf_len = len + header_size; in ishtp_raw_request() 85 memcpy(ishtp_buf + header_size, buf, len); in ishtp_raw_request() 111 unsigned int header_size = sizeof(struct hostif_msg); in ishtp_hid_request() local 113 len += header_size; in ishtp_hid_request() 130 hid_output_report(rep, buf + header_size); in ishtp_hid_request()
|
/linux/arch/powerpc/platforms/ps3/ |
A D | gelic_udbg.c | 70 static int header_size; variable 149 header_size = sizeof(struct ethhdr); in gelic_debug_init() 158 header_size += sizeof(struct vlan_hdr); in gelic_debug_init() 168 header_size += sizeof(struct iphdr); in gelic_debug_init() 176 header_size += sizeof(struct udphdr); in gelic_debug_init() 198 dbg.descr.buf_size = header_size + msgsize; in gelic_sendbuf()
|
/linux/drivers/media/usb/uvc/ |
A D | uvc_video.c | 477 header_size = 12; in uvc_video_clock_decode() 482 header_size = 6; in uvc_video_clock_decode() 486 header_size = 8; in uvc_video_clock_decode() 490 header_size = 2; in uvc_video_clock_decode() 495 if (len < header_size) in uvc_video_clock_decode() 813 header_size = 12; in uvc_video_stats_decode() 818 header_size = 6; in uvc_video_stats_decode() 822 header_size = 8; in uvc_video_stats_decode() 826 header_size = 2; in uvc_video_stats_decode() 831 if (len < header_size || data[0] < header_size) { in uvc_video_stats_decode() [all …]
|
/linux/drivers/net/ethernet/netronome/nfp/ |
A D | nfp_net_debugdump.c | 453 u32 reg_sz, header_size, total_size; in nfp_dump_csr_range() local 464 header_size = ALIGN8(sizeof(*dump_header)); in nfp_dump_csr_range() 465 total_size = header_size + in nfp_dump_csr_range() 467 dest = dump->p + header_size; in nfp_dump_csr_range() 556 u32 reg_sz, header_size, total_size; in nfp_dump_indirect_csr_range() local 566 header_size = ALIGN8(sizeof(*dump_header)); in nfp_dump_indirect_csr_range() 570 dest = dump->p + header_size; in nfp_dump_indirect_csr_range() 603 u32 header_size, total_size, sym_size; in nfp_dump_single_rtsym() local 620 header_size = in nfp_dump_single_rtsym() 622 total_size = header_size + ALIGN8(sym_size); in nfp_dump_single_rtsym() [all …]
|
/linux/drivers/nvmem/ |
A D | rave-sp-eeprom.c | 71 unsigned int header_size; member 97 const unsigned int cmd_size = eeprom->header_size + data_size; in rave_sp_eeprom_io() 117 if (offset < eeprom->header_size) in rave_sp_eeprom_io() 321 eeprom->header_size = RAVE_SP_EEPROM_HEADER_BIG; in rave_sp_eeprom_probe() 323 eeprom->header_size = RAVE_SP_EEPROM_HEADER_SMALL; in rave_sp_eeprom_probe()
|
/linux/drivers/mtd/ |
A D | rfd_ftl.c | 79 u_int header_size; /* bytes in header sector */ member 172 part->header_size = (HEADER_MAP_OFFSET + in scan_header() 184 part->header_cache = kmalloc(part->header_size, GFP_KERNEL); in scan_header() 203 part->header_size, &retlen, in scan_header() 206 if (!rc && retlen != part->header_size) in scan_header() 332 map = kmalloc(part->header_size, GFP_KERNEL); in move_block_contents() 337 part->header_size, &retlen, (u_char *)map); in move_block_contents() 339 if (!rc && retlen != part->header_size) in move_block_contents() 526 part->header_size, &retlen, in find_writable_block() 529 if (!rc && retlen != part->header_size) in find_writable_block()
|
/linux/fs/pstore/ |
A D | platform.c | 415 int header_size; in pstore_dump() local 436 header_size = snprintf(dst, dst_size, "%s#%d Part%u\n", why, in pstore_dump() 438 dst_size -= header_size; in pstore_dump() 441 if (!kmsg_dump_get_buffer(&iter, true, dst + header_size, in pstore_dump() 447 header_size + dump_size, in pstore_dump() 454 record.size = copy_kmsg_to_buffer(header_size, in pstore_dump() 458 record.size = header_size + dump_size; in pstore_dump()
|
/linux/drivers/staging/wfx/ |
A D | fwio.c | 237 int header_size; in load_firmware_secure() local 261 header_size = fw_offset + FW_SIGNATURE_SIZE + FW_HASH_SIZE; in load_firmware_secure() 276 sram_reg_write(wdev, WFX_DCA_IMAGE_SIZE, fw->size - header_size); in load_firmware_secure() 283 ret = upload_firmware(wdev, fw->data + header_size, in load_firmware_secure() 284 fw->size - header_size); in load_firmware_secure()
|
/linux/fs/ksmbd/ |
A D | smb2ops.c | 26 .header_size = sizeof(struct smb2_hdr), 51 .header_size = sizeof(struct smb2_hdr), 77 .header_size = sizeof(struct smb2_hdr), 103 .header_size = sizeof(struct smb2_hdr),
|
/linux/drivers/firewire/ |
A D | core-iso.c | 133 int type, int channel, int speed, size_t header_size, in fw_iso_context_create() argument 139 type, channel, header_size); in fw_iso_context_create() 147 ctx->header_size = header_size; in fw_iso_context_create()
|
/linux/block/partitions/ |
A D | efi.c | 356 if (le32_to_cpu((*gpt)->header_size) > in is_gpt_valid() 359 le32_to_cpu((*gpt)->header_size), in is_gpt_valid() 365 if (le32_to_cpu((*gpt)->header_size) < sizeof(gpt_header)) { in is_gpt_valid() 367 le32_to_cpu((*gpt)->header_size), in is_gpt_valid() 375 crc = efi_crc32((const unsigned char *) (*gpt), le32_to_cpu((*gpt)->header_size)); in is_gpt_valid()
|
/linux/drivers/mmc/host/ |
A D | vub300.c | 61 u8 header_size; member 76 u8 header_size; member 87 u8 header_size; member 93 u8 header_size; member 102 u8 header_size; member 113 u8 header_size; member 120 u8 header_size; member 132 u8 header_size; member 139 u8 header_size; member 482 vub300->cmnd.poll.header_size = 22; in send_irqpoll() [all …]
|
/linux/drivers/media/platform/sti/hva/ |
A D | hva-h264.c | 419 u16 *header_size, in hva_h264_fill_slice_header() argument 446 *header_size = 56; in hva_h264_fill_slice_header() 457 *header_size += 4; in hva_h264_fill_slice_header() 463 *header_size += 2; in hva_h264_fill_slice_header() 470 *header_size += 1; in hva_h264_fill_slice_header() 484 pctx->name, __func__, frame_order, idr_pic_id, *header_size); in hva_h264_fill_slice_header()
|
/linux/drivers/staging/media/hantro/ |
A D | hantro_h1_jpeg_enc.c | 154 ctx->vpu_dst_fmt->header_size, in hantro_jpeg_enc_done() 157 ctx->vpu_dst_fmt->header_size + bytesused); in hantro_jpeg_enc_done()
|
/linux/drivers/net/ipa/ |
A D | ipa_reg.h | 405 u32 header_size) in ipa_header_size_encoded() argument 407 u32 size = header_size & field_mask(HDR_LEN_FMASK); in ipa_header_size_encoded() 412 WARN_ON(header_size != size); in ipa_header_size_encoded() 417 size = header_size >> hweight32(HDR_LEN_FMASK); in ipa_header_size_encoded()
|
A D | ipa_endpoint.c | 485 u32 header_size = sizeof(struct rmnet_map_header); in ipa_qmap_header_size() local 489 return header_size; in ipa_qmap_header_size() 494 header_size += sizeof(struct rmnet_map_ul_csum_header); in ipa_qmap_header_size() 497 header_size += sizeof(struct rmnet_map_v5_csum_header); in ipa_qmap_header_size() 500 return header_size; in ipa_qmap_header_size() 532 size_t header_size; in ipa_endpoint_init_hdr() local 534 header_size = ipa_qmap_header_size(version, endpoint); in ipa_endpoint_init_hdr() 535 val = ipa_header_size_encoded(version, header_size); in ipa_endpoint_init_hdr()
|
/linux/drivers/staging/media/sunxi/cedrus/ |
A D | cedrus_vp8.c | 663 int header_size; in cedrus_vp8_setup() local 676 header_size = V4L2_VP8_FRAME_IS_KEY_FRAME(slice) ? 10 : 3; in cedrus_vp8_setup() 678 reg = slice->first_part_size + header_size; in cedrus_vp8_setup() 691 reg = header_size * 8; in cedrus_vp8_setup()
|
/linux/drivers/media/platform/vsp1/ |
A D | vsp1_dl.c | 1094 size_t header_size; in vsp1_dlm_create() local 1115 header_size = vsp1_feature(vsp1, VSP1_HAS_EXT_DL) ? in vsp1_dlm_create() 1119 header_size = ALIGN(header_size, 8); in vsp1_dlm_create() 1122 VSP1_DL_NUM_ENTRIES, header_size); in vsp1_dlm_create()
|
/linux/drivers/tty/ipwireless/ |
A D | hardware.c | 463 unsigned short header_size; in do_send_packet() local 466 header_size = in do_send_packet() 470 fragment_data_len = hw->ll_mtu - header_size; in do_send_packet() 490 memcpy(pkt.rawpkt + header_size, in do_send_packet() 499 do_send_fragment(hw, pkt.rawpkt, header_size + fragment_data_len); in do_send_packet() 1270 static void *alloc_ctrl_packet(int header_size, in alloc_ctrl_packet() argument 1280 struct ipw_control_packet *packet = kzalloc(header_size, GFP_ATOMIC); in alloc_ctrl_packet() 1288 packet->header.length = header_size - sizeof(struct ipw_tx_packet); in alloc_ctrl_packet()
|