1UMAD_ALLOC(3)             OpenIB Programmer´s Manual             UMAD_ALLOC(3)
2
3
4

NAME

6       umad_alloc - allocate memory for umad buffers
7

SYNOPSIS

9       #include <infiniband/umad.h>
10
11       void * umad_alloc(int num, size_t size);
12

DESCRIPTION

14       umad_alloc()  allocates memory for an array of num umad buffers of size
15       bytes.  Note that size should include the umad_size() plus  the  length
16       (MAD_BLOCK_SIZE for normal MADs or the length returned from umad_recv()
17       for RMPP MADs).
18

RETURN VALUE

20       umad_alloc() returns NULL if out of memory.
21

SEE ALSO

23       umad_free(3)
24

AUTHOR

26       Hal Rosenstock <halr@voltaire.com>
27
28
29
30OpenIB                           May 21, 2007                    UMAD_ALLOC(3)
Impressum