Home
last modified time | relevance | path

Searched refs:MERGEABLE_BUFFER_ALIGN (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/drivers/net/
Dvirtio_net.c51 #define MERGEABLE_BUFFER_ALIGN max(L1_CACHE_BYTES, 256) macro
229 unsigned int truesize = mrg_ctx & (MERGEABLE_BUFFER_ALIGN - 1); in mergeable_ctx_to_buf_truesize()
230 return (truesize + 1) * MERGEABLE_BUFFER_ALIGN; in mergeable_ctx_to_buf_truesize()
235 return (void *)(mrg_ctx & -MERGEABLE_BUFFER_ALIGN); in mergeable_ctx_to_buf_address()
241 unsigned int size = truesize / MERGEABLE_BUFFER_ALIGN; in mergeable_buf_to_ctx()
616 return ALIGN(len, MERGEABLE_BUFFER_ALIGN); in get_mergeable_buf_len()