Searched refs:head_size (Results 1 – 8 of 8) sorted by relevance
| /linux/arch/powerpc/perf/ |
| H A D | vpa-dtl.c | 88 u64 head_size; member 251 if ((size + aux_buf->head_size) > aux_buf->size) { in vpa_dtl_dump_sample_data() 252 size = aux_buf->size - aux_buf->head_size; in vpa_dtl_dump_sample_data() 255 aux_buf->head_size = 0; in vpa_dtl_dump_sample_data() 257 aux_buf->head_size += (n_read * sizeof(struct dtl_entry)); in vpa_dtl_dump_sample_data() 268 if ((size + aux_buf->head_size) > aux_buf->size) { in vpa_dtl_dump_sample_data() 269 size = aux_buf->size - aux_buf->head_size; in vpa_dtl_dump_sample_data() 272 aux_buf->head_size = 0; in vpa_dtl_dump_sample_data() 274 aux_buf->head_size += ((n_req + n_read) * sizeof(struct dtl_entry)); in vpa_dtl_dump_sample_data() 542 buf->head_size = 0; in vpa_dtl_setup_aux()
|
| /linux/tools/testing/selftests/futex/functional/ |
| H A D | robust_list.c | 252 size_t head_size = sizeof(head); in TEST() local 255 ret = set_robust_list(&head, head_size); in TEST() 258 ret = set_robust_list(&head, head_size * 2); in TEST() 262 ret = set_robust_list(&head, head_size - 1); in TEST() 279 size_t head_size = sizeof(head), len_ptr; in TEST() local 282 ret = set_robust_list(&head, head_size); in TEST() 288 ASSERT_EQ(head_size, len_ptr); in TEST() 290 ret = set_robust_list(&head2, head_size); in TEST() 296 ASSERT_EQ(head_size, len_ptr); in TEST()
|
| /linux/fs/orangefs/ |
| H A 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/drivers/staging/media/meson/vdec/ |
| H A 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/drivers/net/wireless/ralink/rt2x00/ |
| H A 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/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_rx.c | 2105 u16 head_size = cqe->shampo.header_size; in mlx5e_skb_from_cqe_shampo() local 2111 len = ALIGN(head_size, sizeof(long)); in mlx5e_skb_from_cqe_shampo() 2123 __skb_put(skb, head_size); in mlx5e_skb_from_cqe_shampo() 2185 u16 head_size = cqe->shampo.header_size; in mlx5e_handle_rx_cqe_mpwrq_shampo() local 2214 if (likely(head_size)) { in mlx5e_handle_rx_cqe_mpwrq_shampo() 2235 skb_shinfo(*skb)->gso_size = cqe_bcnt - head_size; in mlx5e_handle_rx_cqe_mpwrq_shampo() 2252 if (likely(head_size)) { in mlx5e_handle_rx_cqe_mpwrq_shampo() 2260 stats->hds_nodata_bytes += head_size; in mlx5e_handle_rx_cqe_mpwrq_shampo()
|
| /linux/net/netlink/ |
| H A D | af_netlink.c | 1179 size_t head_size = SKB_HEAD_ALIGN(size); in netlink_alloc_large_skb() local 1183 if (head_size <= PAGE_SIZE || broadcast) in netlink_alloc_large_skb() 1186 data = kvmalloc(head_size, GFP_KERNEL); in netlink_alloc_large_skb() 1190 skb = __build_skb(data, head_size); in netlink_alloc_large_skb()
|
| /linux/net/wireless/ |
| H A D | util.c | 674 int head_size = skb->len - skb->data_len; in __ieee80211_amsdu_copy_frag() local 679 frag_size = head_size; in __ieee80211_amsdu_copy_frag()
|