/Linux-v5.4/arch/um/drivers/ |
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 …]
|
D | vector_kern.c | 281 if (vp->header_size > 0) { in prep_msg() 282 iov[iov_index].iov_len = vp->header_size; in prep_msg() 484 if ((vp->header_size > 0) && in destroy_queue() 502 int header_size, in create_queue() argument 538 if (vp->header_size > 0) in create_queue() 557 if (vp->header_size > 0) { in create_queue() 558 iov->iov_base = kmalloc(header_size, GFP_KERNEL); in create_queue() 561 iov->iov_len = header_size; in create_queue() 616 if (vp->header_size > 0) in prep_skb() 832 if (vp->header_size > 0) { in vector_legacy_rx() [all …]
|
D | vector_kern.h | 101 int header_size; member
|
/Linux-v5.4/crypto/asymmetric_keys/ |
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()
|
D | verify_pefile.h | 12 unsigned header_size; member
|
/Linux-v5.4/drivers/net/wireless/rsi/ |
D | rsi_91x_hal.c | 68 u8 header_size; in rsi_prepare_mgmt_desc() local 81 header_size = FRAME_DESC_SZ + sizeof(struct rsi_xtended_desc); in rsi_prepare_mgmt_desc() 82 if (header_size > skb_headroom(skb)) { in rsi_prepare_mgmt_desc() 88 skb_push(skb, header_size); in rsi_prepare_mgmt_desc() 96 header_size += dword_align_bytes; in rsi_prepare_mgmt_desc() 98 tx_params->internal_hdr_size = header_size; in rsi_prepare_mgmt_desc() 99 memset(&skb->data[0], 0, header_size); in rsi_prepare_mgmt_desc() 100 wh = (struct ieee80211_hdr *)&skb->data[header_size]; in rsi_prepare_mgmt_desc() 109 mgmt_desc->xtend_desc_size = header_size - FRAME_DESC_SZ; in rsi_prepare_mgmt_desc() 162 u8 header_size; in rsi_prepare_data_desc() local [all …]
|
/Linux-v5.4/drivers/hid/intel-ish-hid/ |
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-v5.4/net/batman-adv/ |
D | fragmentation.c | 409 unsigned int header_size = sizeof(*frag_head); in batadv_frag_create() local 410 unsigned int mtu = fragment_size + header_size; in batadv_frag_create() 419 skb_reserve(skb_fragment, header_size + ETH_HLEN); in batadv_frag_create() 423 skb_push(skb_fragment, header_size); in batadv_frag_create() 424 memcpy(skb_fragment->data, frag_head, header_size); in batadv_frag_create() 447 unsigned int header_size = sizeof(frag_header); in batadv_frag_send_packet() local 455 max_fragment_size = mtu - header_size; in batadv_frag_send_packet() 526 if (batadv_skb_head_push(skb, header_size) < 0 || in batadv_frag_send_packet() 527 pskb_expand_head(skb, header_size + ETH_HLEN, 0, GFP_ATOMIC) < 0) { in batadv_frag_send_packet() 532 memcpy(skb->data, &frag_header, header_size); in batadv_frag_send_packet()
|
/Linux-v5.4/arch/powerpc/platforms/ps3/ |
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-v5.4/drivers/media/usb/uvc/ |
D | uvc_video.c | 432 unsigned int header_size; in uvc_video_clock_decode() local 442 header_size = 12; in uvc_video_clock_decode() 447 header_size = 6; in uvc_video_clock_decode() 451 header_size = 8; in uvc_video_clock_decode() 455 header_size = 2; in uvc_video_clock_decode() 460 if (len < header_size) in uvc_video_clock_decode() 479 dev_sof = get_unaligned_le16(&data[header_size - 2]); in uvc_video_clock_decode() 520 sample->dev_stc = get_unaligned_le32(&data[header_size - 6]); in uvc_video_clock_decode() 765 unsigned int header_size; in uvc_video_stats_decode() local 778 header_size = 12; in uvc_video_stats_decode() [all …]
|
/Linux-v5.4/drivers/nvmem/ |
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-v5.4/drivers/net/ethernet/netronome/nfp/ |
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() 569 total_size = header_size + ALIGN8(reg_data_length); 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() [all …]
|
/Linux-v5.4/drivers/mtd/ |
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() 206 part->header_size, &retlen, in scan_header() 209 if (!rc && retlen != part->header_size) in scan_header() 335 map = kmalloc(part->header_size, GFP_KERNEL); in move_block_contents() 340 part->header_size, &retlen, (u_char *)map); in move_block_contents() 342 if (!rc && retlen != part->header_size) in move_block_contents() 529 part->header_size, &retlen, in find_writable_block() 532 if (!rc && retlen != part->header_size) in find_writable_block()
|
/Linux-v5.4/fs/pstore/ |
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(dumper, 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-v5.4/drivers/firewire/ |
D | core-iso.c | 140 int type, int channel, int speed, size_t header_size, in fw_iso_context_create() argument 146 type, channel, header_size); in fw_iso_context_create() 154 ctx->header_size = header_size; in fw_iso_context_create()
|
/Linux-v5.4/block/partitions/ |
D | efi.c | 358 if (le32_to_cpu((*gpt)->header_size) > in is_gpt_valid() 361 le32_to_cpu((*gpt)->header_size), in is_gpt_valid() 367 if (le32_to_cpu((*gpt)->header_size) < sizeof(gpt_header)) { in is_gpt_valid() 369 le32_to_cpu((*gpt)->header_size), in is_gpt_valid() 377 crc = efi_crc32((const unsigned char *) (*gpt), le32_to_cpu((*gpt)->header_size)); in is_gpt_valid()
|
D | efi.h | 59 __le32 header_size; member
|
/Linux-v5.4/drivers/mmc/host/ |
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-v5.4/drivers/net/wireless/intel/iwlwifi/fw/ |
D | debugfs.c | 270 size_t header_size = (sizeof(u32) * 2 + sizeof(u16)) * 2; in iwl_dbgfs_send_hcmd_write() local 283 if (count < header_size + 1 || count > 1024 * 4) in iwl_dbgfs_send_hcmd_write() 299 if (count != header_size + hcmd.len[0] * 2 + 1) { in iwl_dbgfs_send_hcmd_write()
|
/Linux-v5.4/drivers/media/platform/sti/hva/ |
D | hva-h264.c | 419 u16 *header_size, in hva_h264_fill_slice_header() argument 444 *header_size = 56; in hva_h264_fill_slice_header() 455 *header_size += 4; in hva_h264_fill_slice_header() 461 *header_size += 2; in hva_h264_fill_slice_header() 468 *header_size += 1; in hva_h264_fill_slice_header() 482 pctx->name, __func__, frame_order, idr_pic_id, *header_size); in hva_h264_fill_slice_header()
|
/Linux-v5.4/drivers/media/platform/vsp1/ |
D | vsp1_dl.c | 1092 size_t header_size; in vsp1_dlm_create() local 1113 header_size = vsp1_feature(vsp1, VSP1_HAS_EXT_DL) ? in vsp1_dlm_create() 1117 header_size = ALIGN(header_size, 8); in vsp1_dlm_create() 1120 VSP1_DL_NUM_ENTRIES, header_size); in vsp1_dlm_create()
|
/Linux-v5.4/kernel/trace/ |
D | trace_probe_tmpl.h | 192 int header_size, int maxlen) in store_trace_args() argument 195 void *base = data - header_size; in store_trace_args()
|
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_dump.h | 39 u32 header_size; /* Size in DWORDs excluding this field */ member
|
/Linux-v5.4/drivers/tty/ipwireless/ |
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()
|
/Linux-v5.4/drivers/gpu/drm/rockchip/ |
D | cdn-dp-core.h | 49 u32 header_size; /* size of just the header in bytes */ member
|