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 | 265 size_t head_size = sizeof(head); in TEST() 268 ret = set_robust_list(&head, head_size); in TEST() 271 ret = set_robust_list(&head, head_size * 2); in TEST() 275 ret = set_robust_list(&head, head_size - 1); 292 size_t head_size = sizeof(head), len_ptr; in TEST() 295 ret = set_robust_list(&head, head_size); in TEST() 301 ASSERT_EQ(head_size, len_ptr); in child_list() 303 ret = set_robust_list(&head2, head_size); in child_list() 309 ASSERT_EQ(head_size, len_ptr); in child_list() 252 size_t head_size = sizeof(head); TEST() local 279 size_t head_size = sizeof(head), len_ptr; TEST() local
|
| /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 | 2159 u16 head_size = cqe->shampo.header_size; in mlx5e_skb_from_cqe_shampo() 2165 len = ALIGN(head_size, sizeof(long)); in mlx5e_skb_from_cqe_shampo() 2177 __skb_put(skb, head_size); in mlx5e_shampo_align_fragment() 2238 u16 head_size = cqe->shampo.header_size; in mlx5e_handle_rx_cqe_mpwrq_shampo() 2274 if (likely(head_size)) { in mlx5e_handle_rx_cqe_mpwrq_shampo() 2295 skb_shinfo(*skb)->gso_size = cqe_bcnt - head_size; in mlx5e_handle_rx_cqe_mpwrq_shampo() 2312 if (likely(head_size)) { in mlx5e_handle_rx_cqe_mpwrq_shampo() 2320 stats->hds_nodata_bytes += head_size; in mlx5e_handle_rx_cqe_mpwrq_shampo() 2148 u16 head_size = cqe->shampo.header_size; mlx5e_skb_from_cqe_shampo() local 2227 u16 head_size = cqe->shampo.header_size; mlx5e_handle_rx_cqe_mpwrq_shampo() local
|
| /linux/net/netlink/ |
| H A D | af_netlink.c | 1180 size_t head_size = SKB_HEAD_ALIGN(size); in netlink_alloc_large_skb() 1184 if (head_size <= PAGE_SIZE || broadcast) in netlink_alloc_large_skb() 1187 data = kvmalloc(head_size, GFP_KERNEL); in netlink_alloc_large_skb() 1191 skb = __build_skb(data, head_size); in netlink_alloc_large_skb() 1179 size_t head_size = SKB_HEAD_ALIGN(size); netlink_alloc_large_skb() local
|
| /linux/net/wireless/ |
| H A D | util.c | 700 int head_size = skb->len - skb->data_len; in __ieee80211_amsdu_copy_frag() 705 frag_size = head_size; in __ieee80211_amsdu_copy_frag() 674 int head_size = skb->len - skb->data_len; __ieee80211_amsdu_copy_frag() local
|