Lines Matching refs:room
1419 unsigned int headroom, tailroom, room; in virtnet_build_xdp_buff_mrg() local
1468 room = SKB_DATA_ALIGN(headroom + tailroom); in virtnet_build_xdp_buff_mrg()
1472 if (unlikely(len > truesize - room || cur_frag_size > PAGE_SIZE)) { in virtnet_build_xdp_buff_mrg()
1475 dev->name, len, (unsigned long)(truesize - room)); in virtnet_build_xdp_buff_mrg()
1651 unsigned int room = SKB_DATA_ALIGN(headroom + tailroom); in receive_mergeable() local
1656 if (unlikely(len > truesize - room)) { in receive_mergeable()
1658 dev->name, len, (unsigned long)(truesize - room)); in receive_mergeable()
1701 room = SKB_DATA_ALIGN(headroom + tailroom); in receive_mergeable()
1702 if (unlikely(len > truesize - room)) { in receive_mergeable()
1704 dev->name, len, (unsigned long)(truesize - room)); in receive_mergeable()
1932 unsigned int room) in get_mergeable_buf_len() argument
1938 if (room) in get_mergeable_buf_len()
1939 return PAGE_SIZE - room; in get_mergeable_buf_len()
1953 unsigned int room = SKB_DATA_ALIGN(headroom + tailroom); in add_recvbuf_mergeable() local
1963 len = get_mergeable_buf_len(rq, &rq->mrg_avg_pkt_len, room); in add_recvbuf_mergeable()
1965 buf = virtnet_rq_alloc(rq, len + room, gfp); in add_recvbuf_mergeable()
1971 if (hole < len + room) { in add_recvbuf_mergeable()
1985 ctx = mergeable_len_to_ctx(len + room, headroom); in add_recvbuf_mergeable()
3773 unsigned int room = SKB_DATA_ALIGN(VIRTIO_XDP_HEADROOM + in virtnet_xdp_set() local
3775 unsigned int max_sz = PAGE_SIZE - room - ETH_HLEN; in virtnet_xdp_set()