Motr  M0
svc_internal.h File Reference
#include "fop/fom_long_lock.h"
#include "rpc/link.h"
Include dependency graph for svc_internal.h:

Go to the source code of this file.

Data Structures

struct  dtm0_process
 

Macros

#define __MOTR_DTM0_SVC_INTERNAL_H__
 

Enumerations

enum  { DTM0_MAX_RPCS_IN_FLIGHT = 10, DTM0_DISCONNECT_TIMEOUT_SECS = 1 }
 

Functions

M0_INTERNAL int dtm0_process_init (struct dtm0_process *proc, struct m0_dtm0_service *dtms, const struct m0_fid *rem_svc_fid)
 
M0_INTERNAL void dtm0_process_fini (struct dtm0_process *proc)
 
M0_INTERNAL void dtm0_service_conns_term (struct m0_dtm0_service *service)
 
M0_INTERNAL struct dtm0_processdtm0_service_process__lookup (struct m0_reqh_service *reqh_dtm0_svc, const struct m0_fid *remote_dtm0)
 

Macro Definition Documentation

◆ __MOTR_DTM0_SVC_INTERNAL_H__

#define __MOTR_DTM0_SVC_INTERNAL_H__

Definition at line 26 of file svc_internal.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DTM0_MAX_RPCS_IN_FLIGHT 
DTM0_DISCONNECT_TIMEOUT_SECS 

Definition at line 38 of file svc_internal.h.

Function Documentation

◆ dtm0_process_fini()

M0_INTERNAL void dtm0_process_fini ( struct dtm0_process proc)

Definition at line 464 of file service.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dtm0_process_init()

M0_INTERNAL int dtm0_process_init ( struct dtm0_process proc,
struct m0_dtm0_service dtms,
const struct m0_fid rem_svc_fid 
)

Definition at line 421 of file service.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dtm0_service_conns_term()

M0_INTERNAL void dtm0_service_conns_term ( struct m0_dtm0_service service)

Terminates all the connections established from a local service.

Definition at line 471 of file service.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dtm0_service_process__lookup()

M0_INTERNAL struct dtm0_process* dtm0_service_process__lookup ( struct m0_reqh_service reqh_dtm0_svc,
const struct m0_fid remote_dtm0 
)

Definition at line 149 of file service.c.

Here is the call graph for this function:
Here is the caller graph for this function: