Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/hisilicon/zip/
H A 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 …]
/openbmc/linux/fs/orangefs/
H A 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()
/openbmc/linux/arch/ia64/kernel/
H A 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()
/openbmc/linux/drivers/staging/media/meson/vdec/
H A 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()
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c2202 u16 head_size = cqe->shampo.header_size; in mlx5e_skb_from_cqe_shampo() local
2210 frag_size = MLX5_SKB_FRAG_SZ(rx_headroom + head_size); in mlx5e_skb_from_cqe_shampo()
2217 skb = mlx5e_build_linear_skb(rq, hdr, frag_size, rx_headroom, head_size, 0); in mlx5e_skb_from_cqe_shampo()
2227 ALIGN(head_size, sizeof(long))); in mlx5e_skb_from_cqe_shampo()
2236 rx_headroom, head_size); in mlx5e_skb_from_cqe_shampo()
2238 skb->tail += head_size; in mlx5e_skb_from_cqe_shampo()
2239 skb->len += head_size; in mlx5e_skb_from_cqe_shampo()
2307 u16 head_size = cqe->shampo.header_size; in mlx5e_handle_rx_cqe_mpwrq_shampo() local
2338 if (likely(head_size)) in mlx5e_handle_rx_cqe_mpwrq_shampo()
2347 skb_shinfo(*skb)->gso_size = cqe_bcnt - head_size; in mlx5e_handle_rx_cqe_mpwrq_shampo()
[all …]
/openbmc/linux/drivers/input/mouse/
H A 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()
/openbmc/qemu/dump/
H A Ddump.c955 uint64_t head_size, name_size; in note_name_equal() local
957 get_note_sizes(s, note, &head_size, &name_size, NULL); in note_name_equal()
958 head_size = ROUND_UP(head_size, 4); in note_name_equal()
960 return name_size == len && memcmp(note + head_size, name, len) == 0; in note_name_equal()
/openbmc/linux/net/wireless/
H A Dutil.c707 int head_size = skb->len - skb->data_len; in __ieee80211_amsdu_copy_frag() local
712 frag_size = head_size; in __ieee80211_amsdu_copy_frag()