Motr  M0
common.h File Reference
#include "lib/thread.h"
#include "ut/ut.h"
#include "ut/misc.h"
Include dependency graph for common.h:

Go to the source code of this file.

Data Structures

struct  thr_args
 
struct  cnc_cntrl_block
 

Macros

#define __MOTR_ISCSERVICE_UT_COMMON_H__
 

Enumerations

enum  { THR_NR = 5 }
 

Functions

M0_INTERNAL void cc_block_init (struct cnc_cntrl_block *cc_block, size_t size, void(*t_data_init)(void *, int))
 
M0_INTERNAL void cc_block_launch (struct cnc_cntrl_block *cc_block, void(*t_op)(void *))
 

Macro Definition Documentation

◆ __MOTR_ISCSERVICE_UT_COMMON_H__

#define __MOTR_ISCSERVICE_UT_COMMON_H__

Definition at line 26 of file common.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
THR_NR 

Definition at line 31 of file common.h.

Function Documentation

◆ cc_block_init()

M0_INTERNAL void cc_block_init ( struct cnc_cntrl_block cc_block,
size_t  size,
void(*)(void *, int)  t_data_init 
)

Definition at line 29 of file common.c.

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

◆ cc_block_launch()

M0_INTERNAL void cc_block_launch ( struct cnc_cntrl_block cc_block,
void(*)(void *)  t_op 
)

Definition at line 47 of file common.c.

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