Searched refs:sh_len (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/crypto/caam/
H A Dcaamhash.c797 int sh_len; ahash_update_ctx() local
851 sh_len = desc_len(sh_desc); ahash_update_ctx()
853 init_job_desc_shared(desc, ptr, sh_len, HDR_SHARE_DEFER | ahash_update_ctx()
918 int sh_len; ahash_final_ctx() local
931 sh_len = desc_len(sh_desc); ahash_final_ctx()
933 init_job_desc_shared(desc, ptr, sh_len, HDR_SHARE_DEFER | HDR_REVERSE); ahash_final_ctx()
1002 int sh_len; ahash_finup_ctx() local
1017 sh_len = desc_len(sh_desc); ahash_finup_ctx()
1019 init_job_desc_shared(desc, ptr, sh_len, HDR_SHARE_DEFER | HDR_REVERSE); ahash_finup_ctx()
1086 int sh_len; ahash_digest() local
1104 sh_len = desc_len(sh_desc); ahash_digest()
1106 init_job_desc_shared(desc, ptr, sh_len, HDR_SHARE_DEFER | HDR_REVERSE); ahash_digest()
1163 int sh_len; ahash_final_no_ctx() local
1173 sh_len = desc_len(sh_desc); ahash_final_no_ctx()
1175 init_job_desc_shared(desc, ptr, sh_len, HDR_SHARE_DEFER | HDR_REVERSE); ahash_final_no_ctx()
1229 int sh_len; ahash_update_no_ctx() local
1270 sh_len = desc_len(sh_desc); ahash_update_no_ctx()
1272 init_job_desc_shared(desc, ptr, sh_len, HDR_SHARE_DEFER | ahash_update_no_ctx()
1341 int sh_len; ahash_finup_no_ctx() local
1357 sh_len = desc_len(sh_desc); ahash_finup_no_ctx()
1359 init_job_desc_shared(desc, ptr, sh_len, HDR_SHARE_DEFER | HDR_REVERSE); ahash_finup_no_ctx()
1425 int sh_len; ahash_update_first() local
1476 sh_len = desc_len(sh_desc); ahash_update_first()
1478 init_job_desc_shared(desc, ptr, sh_len, HDR_SHARE_DEFER | ahash_update_first()
H A Dcaamrng.c226 int sh_len = desc_len(ctx->sh_desc); rng_create_job_desc() local
228 init_job_desc_shared(desc, ctx->sh_desc_dma, sh_len, HDR_SHARE_DEFER | rng_create_job_desc()
/linux-4.4.14/drivers/net/ethernet/tile/
H A Dtilegx.c1679 unsigned int sh_len = skb_transport_offset(skb) + tcp_hdrlen(skb); tso_count_edescs() local
1680 unsigned int data_len = skb->len - sh_len; tso_count_edescs()
1683 long f_size = skb_headlen(skb) - sh_len; /* current fragment size */ tso_count_edescs()
1728 unsigned int sh_len = skb_transport_offset(skb) + tcp_hdrlen(skb); tso_headers_prepare() local
1729 unsigned int data_len = skb->len - sh_len; tso_headers_prepare()
1736 long f_size = skb_headlen(skb) - sh_len; /* current fragment size */ tso_headers_prepare()
1770 memcpy(buf, data, sh_len); tso_headers_prepare()
1775 ih6->payload_len = htons(sh_len + p_len - ih_off - tso_headers_prepare()
1779 ih->tot_len = htons(sh_len + p_len - ih_off); tso_headers_prepare()
1788 th->check = csum_long(tsum_seed + htons(sh_len + p_len)); tso_headers_prepare()
1836 unsigned int sh_len = skb_transport_offset(skb) + tcp_hdrlen(skb); tso_egress() local
1837 unsigned int data_len = skb->len - sh_len; tso_egress()
1842 long f_size = skb_headlen(skb) - sh_len; /* current fragment size */ tso_egress()
1844 void *f_data = skb->data + sh_len; tso_egress()
1855 edesc_head.xfer_size = sh_len; tso_egress()
1903 tx_bytes += sh_len + p_len; tso_egress()
H A Dtilepro.c1655 * Usually, "data" will contain the header template, of size "sh_len",
1695 unsigned int sh_len = eh_len + ih_len + th_len; tile_net_tx_tso() local
1697 /* The number of payload bytes at "skb->data + sh_len". */ tile_net_tx_tso()
1699 unsigned int b_len = skb_headlen(skb) - sh_len; tile_net_tx_tso()
1716 tile_net_tx_frags(cmd->frags, skb, data + sh_len, b_len); tile_net_tx_tso()
1719 size_t cmd_size = LEPP_TSO_CMD_SIZE(num_frags, sh_len); tile_net_tx_tso()
1724 .header_size = sh_len, tile_net_tx_tso()
1758 memcpy(&cmd->frags[num_frags], data, sh_len); tile_net_tx_tso()
1829 stats->tx_bytes += (num_segs * sh_len) + d_len; tile_net_tx_tso()
/linux-4.4.14/arch/sh/kernel/
H A Dhw_breakpoint.c138 int arch_bp_generic_fields(int sh_len, int sh_type, arch_bp_generic_fields() argument
142 switch (sh_len) { arch_bp_generic_fields()
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_queues.c918 unsigned int sh_len = skb_transport_offset(skb) + tcp_hdrlen(skb); nicvf_tso_count_subdescs() local
919 unsigned int data_len = skb->len - sh_len; nicvf_tso_count_subdescs()
922 long f_size = skb_headlen(skb) - sh_len; /* current fragment size */ nicvf_tso_count_subdescs()

Completed in 515 milliseconds