Home
last modified time | relevance | path

Searched refs:head_size (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/crypto/hisilicon/zip/
Dzip_crypto.c184 int head_size = TO_HEAD_SIZE(req_type); in add_comp_head() local
188 ret = sg_copy_from_buffer(dst, sg_nents(dst), head, head_size); in add_comp_head()
189 if (unlikely(ret != head_size)) { in add_comp_head()
194 return head_size; in add_comp_head()
219 size_t head_size, bool is_comp) in hisi_zip_create_req() argument
244 req_cache->dskip = head_size; in hisi_zip_create_req()
246 req_cache->sskip = head_size; in hisi_zip_create_req()
417 u32 status, dlen, head_size; in hisi_zip_acomp_cb() local
435 head_size = (qp->alg_type == 0) ? TO_HEAD_SIZE(qp->req_type) : 0; in hisi_zip_acomp_cb()
436 acomp_req->dlen = dlen + head_size; in hisi_zip_acomp_cb()
[all …]
/linux-6.1.9/fs/orangefs/
Ddevorangefs-req.c373 int head_size = sizeof(head); in orangefs_devreq_write_iter() local
388 if (!copy_from_iter_full(&head, head_size, iter)) { in orangefs_devreq_write_iter()
436 if ((head_size + downcall_size + op->downcall.trailer_size) != total) { in orangefs_devreq_write_iter()
441 head_size, in orangefs_devreq_write_iter()
/linux-6.1.9/arch/ia64/kernel/
Dmca_drv.c200 u64 head_size = sizeof(sal_log_mod_error_info_t) * total_check_num in mca_make_peidx() local
206 (slpi->valid.cpuid_info ? ((char*)slpi + head_size) : NULL); in mca_make_peidx()
209 ((char*)slpi + head_size + mid_size) : NULL); in mca_make_peidx()
/linux-6.1.9/drivers/staging/media/meson/vdec/
Dcodec_hevc_common.c34 u32 head_size = amvdec_am21c_head_size(sess->width, sess->height); in codec_hevc_setup_decode_head() local
52 amvdec_write_dos(core, HEVC_CM_HEADER_LENGTH, head_size); in codec_hevc_setup_decode_head()
/linux-6.1.9/drivers/net/wireless/ralink/rt2x00/
Drt2x00queue.c30 unsigned int head_size = 0; in rt2x00queue_alloc_rxskb() local
44 head_size = 4; in rt2x00queue_alloc_rxskb()
52 head_size += 8; in rt2x00queue_alloc_rxskb()
59 skb = __dev_alloc_skb(frame_size + head_size + tail_size, gfp); in rt2x00queue_alloc_rxskb()
67 skb_reserve(skb, head_size); in rt2x00queue_alloc_rxskb()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c1979 u16 head_size = cqe->shampo.header_size; in mlx5e_skb_from_cqe_shampo() local
1987 frag_size = MLX5_SKB_FRAG_SZ(rx_headroom + head_size); in mlx5e_skb_from_cqe_shampo()
1994 skb = mlx5e_build_linear_skb(rq, hdr, frag_size, rx_headroom, head_size, 0); in mlx5e_skb_from_cqe_shampo()
2006 ALIGN(head_size, sizeof(long))); in mlx5e_skb_from_cqe_shampo()
2015 rx_headroom, head_size); in mlx5e_skb_from_cqe_shampo()
2017 skb->tail += head_size; in mlx5e_skb_from_cqe_shampo()
2018 skb->len += head_size; in mlx5e_skb_from_cqe_shampo()
2080 u16 head_size = cqe->shampo.header_size; in mlx5e_handle_rx_cqe_mpwrq_shampo() local
2112 if (likely(head_size)) in mlx5e_handle_rx_cqe_mpwrq_shampo()
2121 skb_shinfo(*skb)->gso_size = cqe_bcnt - head_size; in mlx5e_handle_rx_cqe_mpwrq_shampo()
[all …]
/linux-6.1.9/drivers/input/mouse/
Dcyapa_gen5.c228 u8 head_size; /* Unit: bytes, including itself. */ member
1037 int head_size; in cyapa_get_image_record_data_num() local
1039 head_size = fw->data[0] + 1; in cyapa_get_image_record_data_num()
1040 *record_num = (fw->size - head_size) / in cyapa_get_image_record_data_num()
1042 return (struct cyapa_tsg_bin_image_data_record *)&fw->data[head_size]; in cyapa_get_image_record_data_num()
1211 if (image_head->head_size != 0x0C && image_head->head_size != 0x12) in cyapa_pip_fw_head_check()
1223 if (image_head->head_size == 0x0C) in cyapa_pip_fw_head_check()
/linux-6.1.9/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c496 unsigned int head_size; in atl1c_set_rxbufsize() local
502 head_size = SKB_DATA_ALIGN(adapter->rx_buffer_len + NET_SKB_PAD + NET_IP_ALIGN) + in atl1c_set_rxbufsize()
504 adapter->rx_frag_size = roundup_pow_of_two(head_size); in atl1c_set_rxbufsize()
/linux-6.1.9/net/wireless/
Dutil.c679 int head_size = skb->len - skb->data_len; in __ieee80211_amsdu_copy_frag() local
684 frag_size = head_size; in __ieee80211_amsdu_copy_frag()