Home
last modified time | relevance | path

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

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