Motr  M0
formation2_internal.h File Reference
#include "lib/types.h"
#include "lib/tlist.h"
Include dependency graph for formation2_internal.h:

Go to the source code of this file.

Data Structures

struct  m0_rpc_frm_constraints
 
struct  m0_rpc_frm
 
struct  m0_rpc_frm_ops
 

Macros

#define __MOTR_RPC_FORMATION2_H__
 

Enumerations

enum  frm_state { FRM_UNINITIALISED, FRM_IDLE, FRM_BUSY, FRM_NR_STATES }
 
enum  m0_rpc_frm_itemq_type { FRMQ_URGENT, FRMQ_WAITING, FRMQ_NR_QUEUES }
 

Functions

M0_INTERNAL void m0_rpc_frm_constraints_get_defaults (struct m0_rpc_frm_constraints *c)
 
M0_INTERNAL void m0_rpc_frm_init (struct m0_rpc_frm *frm, struct m0_rpc_frm_constraints *constraints, const struct m0_rpc_frm_ops *ops)
 
M0_INTERNAL void m0_rpc_frm_fini (struct m0_rpc_frm *frm)
 
M0_INTERNAL void m0_rpc_frm_enq_item (struct m0_rpc_frm *frm, struct m0_rpc_item *item)
 
M0_INTERNAL void m0_rpc_frm_remove_item (struct m0_rpc_frm *frm, struct m0_rpc_item *item)
 
M0_INTERNAL void m0_rpc_frm_item_deadline_passed (struct m0_rpc_frm *frm, struct m0_rpc_item *item)
 
M0_INTERNAL void m0_rpc_frm_packet_done (struct m0_rpc_packet *p)
 
M0_INTERNAL void m0_rpc_frm_run_formation (struct m0_rpc_frm *frm)
 
M0_INTERNAL struct m0_rpc_frmsession_frm (const struct m0_rpc_session *s)
 
 M0_TL_DESCR_DECLARE (itemq, M0_EXTERN)
 
 M0_TL_DECLARE (itemq, M0_INTERNAL, struct m0_rpc_item)
 
M0_INTERNAL struct m0_rpc_chanfrm_rchan (const struct m0_rpc_frm *frm)
 
M0_INTERNAL struct m0_rpc_machinefrm_rmachine (const struct m0_rpc_frm *frm)
 
M0_INTERNAL bool item_is_in_waiting_queue (const struct m0_rpc_item *item, const struct m0_rpc_frm *frm)
 

Variables

const struct m0_rpc_frm_ops m0_rpc_frm_default_ops
 

Macro Definition Documentation

◆ __MOTR_RPC_FORMATION2_H__

#define __MOTR_RPC_FORMATION2_H__

Definition at line 26 of file formation2_internal.h.