photon  1.1
Data Structures | Typedefs | Functions
photon_rdma_EAGER_buf.h File Reference
#include <stdint.h>
#include "photon.h"
#include "photon_buffer_internal.h"

Go to the source code of this file.

Data Structures

struct  photon_rdma_eager_buf_entry
 
struct  photon_rdma_eager_buf
 

Typedefs

typedef struct photon_rdma_eager_buf_entry_t * photonEagerBufEntry
 
typedef struct photon_rdma_eager_buf_t * photonEagerBuf
 

Functions

PHOTON_INTERNAL photonEagerBuf photon_rdma_eager_buf_create_reuse (uint8_t *eager_buffer, int size, int prefix)
 
PHOTON_INTERNAL void photon_rdma_eager_buf_free (photonEagerBuf buf)
 
PHOTON_INTERNAL int photon_rdma_eager_buf_get_offset (int proc, photonEagerBuf buf, int size, int lim)
 

Typedef Documentation

◆ photonEagerBuf

typedef struct photon_rdma_eager_buf_t* photonEagerBuf

Definition at line 40 of file photon_rdma_EAGER_buf.h.

◆ photonEagerBufEntry

typedef struct photon_rdma_eager_buf_entry_t* photonEagerBufEntry

Definition at line 39 of file photon_rdma_EAGER_buf.h.

Function Documentation

◆ photon_rdma_eager_buf_create_reuse()

PHOTON_INTERNAL photonEagerBuf photon_rdma_eager_buf_create_reuse ( uint8_t *  eager_buffer,
int  size,
int  prefix 
)

Definition at line 25 of file photon_rdma_EAGER_buf.c.

◆ photon_rdma_eager_buf_free()

PHOTON_INTERNAL void photon_rdma_eager_buf_free ( photonEagerBuf  buf)

Definition at line 47 of file photon_rdma_EAGER_buf.c.

◆ photon_rdma_eager_buf_get_offset()

PHOTON_INTERNAL int photon_rdma_eager_buf_get_offset ( int  proc,
photonEagerBuf  buf,
int  size,
int  lim 
)

Definition at line 51 of file photon_rdma_EAGER_buf.c.