Motr  M0
coroutine.c File Reference
#include "lib/trace.h"
#include "lib/coroutine.h"
#include "lib/string.h"
#include "ut/ut.h"
Include dependency graph for coroutine.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_UT
 
#define F   M0_CO_FRAME_DATA
 

Functions

static void foo0 (struct m0_co_context *context, int nr, int *ret)
 
static void foo1 (struct m0_co_context *context, int *ret)
 
static void foo2 (struct m0_co_context *context, int *ret)
 
int m0_test_coroutine (void)
 

Macro Definition Documentation

◆ F

#define F   M0_CO_FRAME_DATA

Definition at line 29 of file coroutine.c.

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_UT

Definition at line 23 of file coroutine.c.

Function Documentation

◆ foo0()

static void foo0 ( struct m0_co_context context,
int  nr,
int *  ret 
)
static

Definition at line 36 of file coroutine.c.

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

◆ foo1()

static void foo1 ( struct m0_co_context context,
int *  ret 
)
static

Definition at line 78 of file coroutine.c.

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

◆ foo2()

static void foo2 ( struct m0_co_context context,
int *  ret 
)
static

Definition at line 104 of file coroutine.c.

Here is the caller graph for this function:

◆ m0_test_coroutine()

int m0_test_coroutine ( void  )

Definition at line 121 of file coroutine.c.

Here is the call graph for this function: