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

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_NET
 

Functions

M0_INTERNAL bool m0_net__qtype_is_valid (enum m0_net_queue_type qt)
 
M0_INTERNAL bool m0_net__buffer_invariant (const struct m0_net_buffer *buf)
 
M0_INTERNAL int m0_net_buffer_register (struct m0_net_buffer *buf, struct m0_net_domain *dom)
 
M0_INTERNAL void m0_net_buffer_deregister (struct m0_net_buffer *buf, struct m0_net_domain *dom)
 
M0_INTERNAL int m0_net__buffer_add (struct m0_net_buffer *buf, struct m0_net_transfer_mc *tm)
 
M0_INTERNAL int m0_net_buffer_add (struct m0_net_buffer *buf, struct m0_net_transfer_mc *tm)
 
M0_INTERNAL bool m0_net_buffer_del (struct m0_net_buffer *buf, struct m0_net_transfer_mc *tm)
 
M0_INTERNAL bool m0_net__buffer_event_invariant (const struct m0_net_buffer_event *ev)
 
M0_INTERNAL void m0_net_buffer_event_post (const struct m0_net_buffer_event *ev)
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_NET

Definition at line 33 of file buf.c.