Searched refs:overhead (Results 1 - 25 of 62) sorted by last modified time

123

/linux-master/net/
H A Dsocket.c3680 * kernel_sock_ip_overhead - returns the IP overhead imposed by a socket
3683 * This routine returns the IP overhead imposed by a socket i.e.
3693 u32 overhead = 0; local
3700 return overhead;
3705 overhead += sizeof(struct iphdr);
3709 overhead += opt->opt.optlen;
3710 return overhead;
3714 overhead += sizeof(struct ipv6hdr);
3719 overhead += (optv6->opt_flen + optv6->opt_nflen);
3720 return overhead;
[all...]
/linux-master/net/mptcp/
H A Dprotocol.c985 int len = dfrag->data_len + dfrag->overhead;
1108 dfrag->overhead = offset - orig_offset + sizeof(struct mptcp_data_frag);
1854 frag_truesize = dfrag->overhead;
H A Dprotocol.h252 u16 overhead; member in struct:mptcp_data_frag
/linux-master/fs/ext4/
H A Dsuper.c3412 * Note, this does *not* consider any metadata overhead for vfs i_blocks.
4111 * Note: calculating the overhead so we can be compatible with
4115 * Calculating the exact overhead in the face of clustered allocation
4186 * Compute the overhead and stash it in sbi->s_overhead
4195 ext4_fsblk_t overhead = 0; local
4202 * Compute the overhead (FS structures). This is constant
4208 * All of the blocks before first_data_block are overhead
4210 overhead = EXT4_B2C(sbi, le32_to_cpu(es->s_first_data_block));
4213 * Add the overhead found in each block group
4219 overhead
6800 ext4_fsblk_t overhead = 0, resv_blocks; local
[all...]
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_dp_mst.c69 * Bspec/49259 suggests that the FEC overhead needs to be
71 * or any other overhead is applicable here (that is the actual
82 * overhead needs to be accounted for.
97 int overhead; local
111 overhead = drm_dp_bw_overhead(crtc_state->lane_count,
118 * TODO: clarify whether a minimum required by the fixed FEC overhead
121 return max(overhead, intel_dp_bw_fec_overhead(crtc_state->fec_enable));
126 int overhead,
137 overhead,
150 * to calculate PBN with the BW overhead passe
124 intel_dp_mst_compute_m_n(const struct intel_crtc_state *crtc_state, const struct intel_connector *connector, int overhead, int bpp_x16, struct intel_link_m_n *m_n) argument
[all...]
/linux-master/drivers/gpu/drm/display/
H A Ddrm_dp_mst_topology.c4756 * peak_kbps *= SSC overhead / 1000000
4762 * the overhead. For now it's assumed that these are
4764 * significant data padding overhead and that there is no DSC
4765 * or FEC overhead.
4767 int overhead = drm_dp_bw_overhead(4, 4096, 0, bpp, local
4771 return DIV64_U64_ROUND_UP(mul_u32_u32(clock * bpp, 64 * overhead >> 4),
H A Ddrm_dp_helper.c4120 * drm_dp_bw_overhead - Calculate the BW overhead of a DP link stream
4127 * Calculate the BW allocation overhead of a DP link stream, depending
4138 * Note that this overhead doesn't account for the 8b/10b, 128b/132b
4142 * Returns the overhead as 100% + overhead% in 1ppm units.
4150 u32 overhead = 1000000; local
4154 DRM_DEBUG_KMS("Invalid BW overhead params: lane_count %d, hactive %d, bpp_x16 %d.%04d\n",
4166 overhead += 6000;
4182 overhead += 24016;
4186 * The FEC overhead fo
[all...]
/linux-master/net/sched/
H A Dsch_taprio.c289 /* Compensate for L1 overhead from size table,
293 max_frm_len -= stab->szopts.overhead;
H A Dsch_htb.c1794 if (hopt->rate.overhead || hopt->ceil.overhead) {
1795 NL_SET_ERR_MSG(extack, "HTB offload doesn't support the overhead parameter");
H A Dsch_generic.c770 * the overhead of the second spin_trylock() in
1544 r->overhead = conf->overhead;
H A Dsch_api.c574 pkt_len = skb->len + stab->szopts.overhead;
/linux-master/net/dsa/
H A Duser.c2064 int overhead; local
2093 overhead = dsa_tag_protocol_overhead(cpu_dp->tag_ops);
2094 mtu_limit = min_t(int, conduit->max_mtu, dev->max_mtu + overhead);
2096 new_conduit_mtu = largest_mtu + overhead;
2131 dsa_port_mtu_change(cpu_dp, old_conduit_mtu - overhead);
/linux-master/include/net/
H A Dsch_generic.h1261 u16 overhead; member in struct:psched_ratecfg
1270 len += r->overhead;
1296 res->overhead = r->overhead;
H A Dflow_offload.h283 u16 overhead; member in struct:flow_action_entry::__anon2718::__anon2724
/linux-master/drivers/net/usb/
H A Dsmsc95xx.c1933 int overhead = csum ? SMSC95XX_TX_OVERHEAD_CSUM : SMSC95XX_TX_OVERHEAD; local
1940 /* Make writable and expand header space by overhead if required */
1941 if (skb_cow_head(skb, overhead)) {
/linux-master/drivers/net/ethernet/ti/
H A Dcpsw_priv.c1474 act->police.avrate || act->police.overhead) {
1476 "Offload not supported when bytes per second/peakrate/avrate/overhead is configured");
H A Dam65-cpsw-qos.c1086 act->police.avrate || act->police.overhead) {
1088 "Offload not supported when bytes per second/peakrate/avrate/overhead is configured");
/linux-master/drivers/net/ethernet/sfc/siena/
H A Defx_common.c276 * framing, overhead and XDP headroom + tailroom.
278 int overhead = EFX_MAX_FRAME_LEN(0) + sizeof(struct efx_rx_page_state) + local
282 return PAGE_SIZE - overhead;
/linux-master/drivers/net/ethernet/sfc/
H A Defx_common.c272 * framing, overhead and XDP headroom + tailroom.
274 int overhead = EFX_MAX_FRAME_LEN(0) + sizeof(struct efx_rx_page_state) + local
278 return PAGE_SIZE - overhead;
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_flower.c43 act->police.avrate || act->police.overhead) {
45 "Offload not supported when peakrate/avrate/overhead is configured");
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c4954 act->police.avrate || act->police.overhead) {
4956 "Offload not supported when peakrate/avrate/overhead is configured");
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_tc.c224 act->police.avrate || act->police.overhead) {
226 "Offload not supported when peakrate/avrate/overhead is configured");
/linux-master/drivers/net/dsa/sja1105/
H A Dsja1105_flower.c331 act->police.avrate || act->police.overhead) {
333 "Offload not supported when peakrate/avrate/overhead is configured");
/linux-master/net/l2tp/
H A Dl2tp_eth.c201 unsigned int overhead = 0; local
207 overhead += sizeof(struct udphdr);
223 /* Adjust MTU, factor overhead - underlay L3, overlay L2 hdr
224 * UDP overhead, if any, was already factored in above.
226 overhead += session->hdr_len + ETH_HLEN + l3_overhead;
228 mtu = l2tp_tunnel_dst_mtu(tunnel) - overhead;
230 dev->mtu = ETH_DATA_LEN - overhead;
/linux-master/drivers/usb/host/
H A Dxhci.h614 /* Each device speed has a protocol overhead (CRC, bit stuffing, etc) associated
615 * with each byte transferred. SuperSpeed devices have an initial overhead to
616 * set up bursts. These are in blocks, see above. LS overhead has already been
628 * of overhead associated with split transfers crossing microframe boundaries.
629 * 31 blocks is pure protocol overhead.
711 unsigned int overhead[3]; member in struct:xhci_interval_bw

Completed in 645 milliseconds

123