Home
last modified time | relevance | path

Searched refs:header_size (Results 1 – 25 of 80) sorted by relevance

1234

/Linux-v5.4/arch/um/drivers/
Dvector_transports.c259 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 …]
Dvector_kern.c281 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 …]
Dvector_kern.h101 int header_size; member
/Linux-v5.4/crypto/asymmetric_keys/
Dverify_pefile.c62 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()
Dverify_pefile.h12 unsigned header_size; member
/Linux-v5.4/drivers/net/wireless/rsi/
Drsi_91x_hal.c68 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/
Dishtp-hid.c61 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/
Dfragmentation.c409 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/
Dgelic_udbg.c70 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/
Duvc_video.c432 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/
Drave-sp-eeprom.c71 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/
Dnfp_net_debugdump.c453 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/
Drfd_ftl.c79 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/
Dplatform.c415 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/
Dcore-iso.c140 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/
Defi.c358 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()
Defi.h59 __le32 header_size; member
/Linux-v5.4/drivers/mmc/host/
Dvub300.c61 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/
Ddebugfs.c270 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/
Dhva-h264.c419 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/
Dvsp1_dl.c1092 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/
Dtrace_probe_tmpl.h192 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/
Dbnx2x_dump.h39 u32 header_size; /* Size in DWORDs excluding this field */ member
/Linux-v5.4/drivers/tty/ipwireless/
Dhardware.c463 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/
Dcdn-dp-core.h49 u32 header_size; /* size of just the header in bytes */ member

1234