1RELAY_ALLOC_BUF(9) relay interface support RELAY_ALLOC_BUF(9)
23
4
NAME
6relay_alloc_buf - allocate a channel buffer
7
SYNOPSIS
9void * relay_alloc_buf(struct rchan_buf * buf, size_t * size);
10
ARGUMENTS
12buf
13the buffer struct
1415
size
16total size of the buffer
17
DESCRIPTION
19Returns a pointer to the resulting buffer, NULL if unsuccessful. The
20passed in size will get page aligned, if it isnĀ“t already.
21
COPYRIGHT
23Kernel Hackers Manual 2.6. June 2019 RELAY_ALLOC_BUF(9)