23 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_SNSCM 57 return M0_RC(-ENOMEM);
61 (*service)->
rs_ops = svc_ops;
99 "ioservice xprt:endpoints: %s:%s",
101 ep->ex_xprt,
ep->ex_endpoint);
140 #undef M0_TRACE_SUBSYSTEM
M0_INTERNAL void m0_sns_cm_svc_stop(struct m0_reqh_service *service)
M0_INTERNAL struct m0_sns_cm * cm2sns(struct m0_cm *cm)
const struct m0_cm_ops * cm_ops
#define M0_LOG(level,...)
M0_INTERNAL int m0_sns_cm_svc_start(struct m0_reqh_service *service)
#define container_of(ptr, type, member)
M0_INTERNAL void m0_cm_fini(struct m0_cm *cm)
M0_INTERNAL int m0_sns_cm_svc_allocate(struct m0_reqh_service **service, const struct m0_reqh_service_type *stype, const struct m0_reqh_service_ops *svc_ops, const struct m0_cm_ops *cm_ops)
M0_INTERNAL int m0_cm_init(struct m0_cm *cm, struct m0_cm_type *cm_type, const struct m0_cm_ops *cm_ops)
struct m0_reqh_context rctx
M0_INTERNAL void m0_sns_cm_svc_fini(struct m0_reqh_service *service)
static const struct socktype stype[]
struct m0_reqh_context * rs_reqh_ctx
M0_INTERNAL int m0_cm_setup(struct m0_cm *cm)
#define M0_ALLOC_PTR(ptr)
struct m0_reqh_service cm_service
#define m0_tl_for(name, head, obj)
static struct m0_reqh_service * service[REQH_IN_UT_MAX]
const struct m0_reqh_service_ops * rs_ops