Searched refs:head_size (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/drivers/crypto/hisilicon/zip/ |
D | zip_crypto.c | 184 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/ |
D | devorangefs-req.c | 373 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/ |
D | mca_drv.c | 200 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/ |
D | codec_hevc_common.c | 34 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/ |
D | rt2x00queue.c | 30 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/ |
D | en_rx.c | 1979 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/ |
D | cyapa_gen5.c | 228 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/ |
D | atl1c_main.c | 496 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/ |
D | util.c | 679 int head_size = skb->len - skb->data_len; in __ieee80211_amsdu_copy_frag() local 684 frag_size = head_size; in __ieee80211_amsdu_copy_frag()
|