Searched refs:head_size (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/drivers/crypto/hisilicon/zip/ |
| D | zip_crypto.c | 323 u32 status, dlen, head_size; in hisi_zip_acomp_cb() local 339 head_size = (qp->alg_type == 0) ? TO_HEAD_SIZE(qp->req_type) : 0; in hisi_zip_acomp_cb() 340 acomp_req->dlen = dlen + head_size; in hisi_zip_acomp_cb() 398 int head_size = TO_HEAD_SIZE(req_type); in add_comp_head() local 402 ret = sg_copy_from_buffer(dst, sg_nents(dst), head, head_size); in add_comp_head() 403 if (ret != head_size) in add_comp_head() 406 return head_size; in add_comp_head() 447 size_t head_size, bool is_comp) in hisi_zip_create_req() argument 465 len = req->dlen - head_size; in hisi_zip_create_req() 468 len = req->slen - head_size; in hisi_zip_create_req() [all …]
|
| /Linux-v5.4/include/linux/wimax/ |
| D | debug.h | 149 void __d_head(char *head, size_t head_size, in __d_head() argument 158 snprintf(head, head_size, "%s %s: ", in __d_head()
|
| /Linux-v5.4/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-v5.4/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-v5.4/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-v5.4/drivers/input/mouse/ |
| D | cyapa_gen5.c | 228 u8 head_size; /* Unit: bytes, including itself. */ member 1036 int head_size; in cyapa_get_image_record_data_num() local 1038 head_size = fw->data[0] + 1; in cyapa_get_image_record_data_num() 1039 *record_num = (fw->size - head_size) / in cyapa_get_image_record_data_num() 1041 return (struct cyapa_tsg_bin_image_data_record *)&fw->data[head_size]; in cyapa_get_image_record_data_num() 1210 if (image_head->head_size != 0x0C && image_head->head_size != 0x12) in cyapa_pip_fw_head_check() 1222 if (image_head->head_size == 0x0C) in cyapa_pip_fw_head_check()
|
| /Linux-v5.4/net/wireless/ |
| D | util.c | 581 int head_size = skb->len - skb->data_len; in __ieee80211_amsdu_copy_frag() local 586 frag_size = head_size; in __ieee80211_amsdu_copy_frag()
|
| /Linux-v5.4/drivers/net/ethernet/atheros/atl1c/ |
| D | atl1c_main.c | 470 unsigned int head_size; in atl1c_set_rxbufsize() local 476 head_size = SKB_DATA_ALIGN(adapter->rx_buffer_len + NET_SKB_PAD) + in atl1c_set_rxbufsize() 478 adapter->rx_frag_size = roundup_pow_of_two(head_size); in atl1c_set_rxbufsize()
|