Lines Matching refs:headroom
1044 size_t headroom = 0; in iucv_sock_sendmsg() local
1124 headroom = sizeof(struct af_iucv_trans_hdr) + ETH_HLEN; in iucv_sock_sendmsg()
1133 headroom = sizeof(struct iucv_array) * in iucv_sock_sendmsg()
1135 linear = PAGE_SIZE - headroom; in iucv_sock_sendmsg()
1138 skb = sock_alloc_send_pskb(sk, headroom + linear, len - linear, in iucv_sock_sendmsg()
1142 if (headroom) in iucv_sock_sendmsg()
1143 skb_reserve(skb, headroom); in iucv_sock_sendmsg()
1247 size_t headroom, linear; in alloc_iucv_recv_skb() local
1252 headroom = 0; in alloc_iucv_recv_skb()
1255 headroom = sizeof(struct iucv_array) * (MAX_SKB_FRAGS + 1); in alloc_iucv_recv_skb()
1256 linear = PAGE_SIZE - headroom; in alloc_iucv_recv_skb()
1258 skb = alloc_skb_with_frags(headroom + linear, len - linear, in alloc_iucv_recv_skb()
1264 if (headroom) in alloc_iucv_recv_skb()
1265 skb_reserve(skb, headroom); in alloc_iucv_recv_skb()