photon  1.1
Data Structures | Macros | Typedefs | Functions
photon_rdma_ledger.h File Reference
#include "photon_buffer_internal.h"

Go to the source code of this file.

Data Structures

struct  photon_rdma_ledger_entry
 
struct  photon_cid_recv_hdr
 
struct  photon_cid_hdr
 
struct  photon_cid_ledger_entry
 
struct  photon_cid_recv_ledger_entry
 
struct  photon_rdma_ledger
 

Macros

#define PHOTON_CID_ENTRY_SIZE   (sizeof(photon_cid_ledger_entry)+_photon_idsize)
 
#define PHOTON_CID_RECV_ENTRY_SIZE   (sizeof(photon_cid_recv_ledger_entry)+_photon_idsize)
 

Typedefs

typedef struct photon_rdma_ledger_entry_t * photonRDMALedgerEntry
 
typedef struct photon_cid_ledger_entry_t * photonCIDLedgerEntry
 
typedef struct photon_cid_recv_ledger_entry_t * photonCIDRecvLedgerEntry
 
typedef struct photon_rdma_ledger_t * photonLedger
 

Functions

PHOTON_INTERNAL photonLedger photon_rdma_ledger_create_reuse (void *ledger_buffer, int num_entries, int entry_size, int prefix)
 
PHOTON_INTERNAL void photon_rdma_ledger_free (photonLedger ledger)
 
PHOTON_INTERNAL int photon_rdma_ledger_get_next (int proc, photonLedger ledger)
 

Macro Definition Documentation

◆ PHOTON_CID_ENTRY_SIZE

#define PHOTON_CID_ENTRY_SIZE   (sizeof(photon_cid_ledger_entry)+_photon_idsize)

Definition at line 65 of file photon_rdma_ledger.h.

◆ PHOTON_CID_RECV_ENTRY_SIZE

#define PHOTON_CID_RECV_ENTRY_SIZE   (sizeof(photon_cid_recv_ledger_entry)+_photon_idsize)

Definition at line 66 of file photon_rdma_ledger.h.

Typedef Documentation

◆ photonCIDLedgerEntry

typedef struct photon_cid_ledger_entry_t* photonCIDLedgerEntry

Definition at line 61 of file photon_rdma_ledger.h.

◆ photonCIDRecvLedgerEntry

typedef struct photon_cid_recv_ledger_entry_t* photonCIDRecvLedgerEntry

Definition at line 62 of file photon_rdma_ledger.h.

◆ photonLedger

typedef struct photon_rdma_ledger_t* photonLedger

Definition at line 63 of file photon_rdma_ledger.h.

◆ photonRDMALedgerEntry

typedef struct photon_rdma_ledger_entry_t* photonRDMALedgerEntry

Definition at line 60 of file photon_rdma_ledger.h.

Function Documentation

◆ photon_rdma_ledger_create_reuse()

PHOTON_INTERNAL photonLedger photon_rdma_ledger_create_reuse ( void *  ledger_buffer,
int  num_entries,
int  entry_size,
int  prefix 
)

Definition at line 27 of file photon_rdma_ledger.c.

◆ photon_rdma_ledger_free()

PHOTON_INTERNAL void photon_rdma_ledger_free ( photonLedger  ledger)

Definition at line 56 of file photon_rdma_ledger.c.

◆ photon_rdma_ledger_get_next()

PHOTON_INTERNAL int photon_rdma_ledger_get_next ( int  proc,
photonLedger  ledger 
)

Definition at line 60 of file photon_rdma_ledger.c.