Motr  M0
tm.c File Reference
#include "lib/arith.h"
#include "lib/assert.h"
#include "lib/errno.h"
#include "lib/misc.h"
#include "lib/trace.h"
#include "lib/finject.h"
#include "motr/magic.h"
#include "net/net_internal.h"
#include "net/buffer_pool.h"
Include dependency graph for tm.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_NET
 

Functions

 M0_TL_DESCR_DEFINE (m0_net_tm, "tm list", M0_INTERNAL, struct m0_net_buffer, nb_tm_linkage, nb_magic, M0_NET_BUFFER_LINK_MAGIC, M0_NET_BUFFER_HEAD_MAGIC)
 
 M0_TL_DEFINE (m0_net_tm, M0_INTERNAL, struct m0_net_buffer)
 
M0_INTERNAL bool m0_net__tm_state_is_valid (enum m0_net_tm_state ts)
 
M0_INTERNAL bool m0_net__tm_ev_type_is_valid (enum m0_net_tm_ev_type et)
 
M0_INTERNAL bool m0_net__tm_event_invariant (const struct m0_net_tm_event *ev)
 
M0_INTERNAL bool m0_net__tm_invariant (const struct m0_net_transfer_mc *tm)
 
M0_INTERNAL void m0_net_tm_event_post (const struct m0_net_tm_event *ev)
 
M0_INTERNAL void m0_net__tm_post_callback (struct m0_net_transfer_mc *tm)
 
static void m0_net__tm_cleanup (struct m0_net_transfer_mc *tm)
 
M0_INTERNAL void m0_net__tm_cancel (struct m0_net_transfer_mc *tm)
 
M0_INTERNAL int m0_net_tm_init (struct m0_net_transfer_mc *tm, struct m0_net_domain *dom)
 
M0_INTERNAL void m0_net_tm_fini (struct m0_net_transfer_mc *tm)
 
M0_INTERNAL int m0_net_tm_start (struct m0_net_transfer_mc *tm, const char *addr)
 
M0_INTERNAL int m0_net_tm_stop (struct m0_net_transfer_mc *tm, bool abort)
 
M0_INTERNAL int m0_net__tm_stats_get (struct m0_net_transfer_mc *tm, enum m0_net_queue_type qtype, struct m0_net_qstats *qs, bool reset)
 
M0_INTERNAL int m0_net_tm_stats_get (struct m0_net_transfer_mc *tm, enum m0_net_queue_type qtype, struct m0_net_qstats *qs, bool reset)
 
M0_INTERNAL int m0_net_tm_confine (struct m0_net_transfer_mc *tm, const struct m0_bitmap *processors)
 
M0_INTERNAL int m0_net_buffer_event_deliver_synchronously (struct m0_net_transfer_mc *tm)
 
M0_INTERNAL void m0_net_buffer_event_deliver_all (struct m0_net_transfer_mc *tm)
 
M0_INTERNAL bool m0_net_buffer_event_pending (struct m0_net_transfer_mc *tm)
 
M0_INTERNAL void m0_net_buffer_event_notify (struct m0_net_transfer_mc *tm, struct m0_chan *chan)
 
M0_INTERNAL void m0_net_tm_colour_set (struct m0_net_transfer_mc *tm, uint32_t colour)
 
M0_INTERNAL uint32_t m0_net_tm_colour_get (struct m0_net_transfer_mc *tm)
 
M0_INTERNAL int m0_net_tm_pool_attach (struct m0_net_transfer_mc *tm, struct m0_net_buffer_pool *bufpool, const struct m0_net_buffer_callbacks *callbacks, m0_bcount_t min_recv_size, uint32_t max_recv_msgs, uint32_t min_recv_queue_len)
 
M0_INTERNAL void m0_net_tm_pool_length_set (struct m0_net_transfer_mc *tm, uint32_t len)
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_NET

Definition at line 27 of file tm.c.